SIP Accept and SIP Accept-Contact Values

I am trying to figure out the range of possible values ​​for the Accept and Accept-Contact header fields, but I cannot find the complete list in the RFC. Does anyone know where they are? I often see

Accept: application/sdp;level=1, application/x-private, text/html 

but I don’t know all the possible values. More generally, where can I find all the possible SIP header values?

Thanks,

+6
source share
3 answers

Many sections in the SIP RFC are based on the HTTP 1.1 RFC to confirm that the semantics of SIP and HTTP are very similar. The SIP Accept header is a good example. The SIP RFC section that deals with the Accept header refers to [H14.1], which translates to section 14.1 of the HTTP 1.1 RFC, and describes in detail how the Accept header can be used to indicate various types of media that are acceptable in the answer.

What everyone says in the real world in 90% of cases when the SIP-response media will be an application / sdp. There will be SIP requests that accept other types of response media, but they are not so common.

+8
source

Bob, what you are looking for are MIME types.

Here you will find the generic MIME type.

http://en.wikipedia.org/wiki/Internet_media_type

SIP text generation comes from HTTP, so you can refer to HTTP headers as well as the exact possible values ​​of other headers.

+1
source

Most headers and parameters with their respective RFCs are listed: http://www.iana.org/assignments/sip-parameters

0
source

Source: https://habr.com/ru/post/907906/


All Articles