tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Glossaries     Architecture     IMS     UICC    |    search     info




ABNF for SIP:   Uniform Resource Identifiers

3  of  6

 

Here

 

Top

 

Up

 

Prev

 

Next

 

userinfo     hostport     uri_parameters     headers     absoluteURI     tel_URI

RFC 3261 – Section 25, p.223

IANA Registry for SIP/SIPS URI Parameters

Up

uri-parameters   =
*( ";"   uri-parameter )

uri-parameter   =
transport-param   /   user-param   /   method-param   /     ;  RFC 3261
ttl-param   /   maddr-param   /   lr-param   /     ;  RFC 3261
compression-param   /     ;  RFC 3486
annc-parameters   /   dialog-parameters   /     ;  RFC 4240
target-param   /   cause-param   /     ;  RFC 4458
uri-sip-sigcomp-id   /     ;  RFC 5049
dialog-param   /     ;  RFC 5552
maxage-param   /   maxstale-param   /   method-param   /     ;  RFC 5552
postbody-param   /   ccxml-param   /   aai-param   /     ;  RFC 5552
ob-param   /     ;  RFC 5626
gr-param   /     ;  RFC 5627
bnc-param   /   sg-param   /     ;  RFC 6140
m-param   /     ;  RFC 6910
iotl-param   /     ;  RFC 7549
orig   /     ;  3GPP TS 24.229
sos-param   /     ;  3GPP TS 24.229
other-param

other-param   =
pname   [ "="   pvalue ]

pname   =
pvalue   =
paramchar   =
param-unreserved   =
"["   /   "]"   /   "/"   /   ":"   /   "&"   /   "+"   /   "$"


uri-parameter – transport-param

RFC 3261 – Section 19.1, p. 150

RFC 7118 – Section 5.2

Up

transport-param   =
"transport="   (
"udp"   /   "tcp"   /   "sctp"   /   "tls"   /
"ws"     ;  WebSocket:   see  RFC 7118
other-transport  )

; example:
;    sip:alice:secretword@atlanta.com;transport=tcp


other-transport   =


uri-parameter – user-param

RFC 3261 – Section 19.1, p. 150

RFC 4967 – Section 4

Up

user-param   =
"user="   (
"phone"   /   "ip"   /
"dialstring"  /     ;  see  RFC 4967
other-user   )

; example:
;    sip:1-212-555-1212:1234@gateway.com;user=phone


other-user   =
; the following is defined in RFC 4967
dialstring   =
dialstring-digits   =
dialstring-digit   =
HEXDIG   /   "*"   /   "#"

dialstring-element   =
dialstring-digit   /   "P"   /   "X"   /   visual-separator

; example:
;    sip:123;phone-context=atlanta.example.com@example.com;user=dialstring



uri-parameter – SIP Method

RFC 3261 – Section 19.1, p. 150

Up

method-param   =
"method="   Method

; example:
;    sip:atlanta.com;method=REGISTER?to=alice%40atlanta.com



uri-parameter – time-to-live

RFC 3261 – Section 19.1, p. 150

Up

ttl-param   =
"ttl="   ttl

; example:
;    sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15



uri-parameter – maddr-param

RFC 3261 – Section 19.1, p. 150

Up

maddr-param   =
"maddr="   host

; example:
;    sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15



uri-parameter – Loose Routing

RFC 3261 – Section 19.1, p. 150

Up

lr-param   =
"lr"

; example:
;    Route: <sip:ss2.biloxi.example.com;lr>



uri-parameter – Compression

RFC 3486 – Section 8

Up

compression-param   =
"comp="   ( "sigcomp"   /   other-compression )

; example:
;    sip:alice@atlanta.com;comp=sigcomp


other-compression   =


RFC 4240 – Section 3.3

Up

ANNC-URL   =
sip-ind     annc-ind     "@"     hostport     annc-parameters     uri-parameters

; example:
;    sip:annc@ms.example.net; \
;       play=file://fs.example.net//clips/my-intro.dvi; \
;       content-type=video/mpeg%3bencode%d3314M-25/625-50


sip-ind   =
"sip:"  /  "sips:"

annc-ind   =
"annc"

annc-parameters   =
";"   play-param
[ ";"   delay-param ]
[ ";"   duration-param ]
[ ";"   repeat-param ]
[ ";"   locale-param ]
[ ";"   variable-params ]
[ ";"   extension-params ]

play-param   =
"play="   prompt-url

prompt-url   =
"/provisioned/"   announcement-id

announcement-id   =
1*( ALPHA  /  DIGIT )

content-param   =
"content-type="   MIME-type

delay-param   =
"delay="   delay-value

delay-value   =
1*DIGIT

duration-param   =
"duration="   duration-value

duration-value   =
1*DIGIT

repeat-param   =
"repeat="   repeat-value

repeat-value   =
1*DIGIT  /  "forever"

locale-param   =
"locale="   token

variable-params   =
param-name   =
"param"   DIGIT

variable-value   =
1*( ALPHA  /  DIGIT )

extension-params   =
extension-param   =
token   "="   token


RFC 4240 – Section 4.1

Up

DIALOG-URL   =
sip-ind     dialog-ind     "@"     hostport     dialog-parameters

dialog-ind   =
"dialog"

dialog-parameters   =
dialog-param   =
"voicexml="   vxml-url

vxml-parameters   =
vxml-param   =
";"   vxml-keyword   "="   vxml-value

vxml-keyword   =
vxml-value   =


RFC 4458 – Section 5

Up

target-param   =
"target"   EQUAL   pvalue

; example:
;    sip:voicemail@example.com;target=bob%40example.com;cause=486


cause-param   =
"cause"   EQUAL   Status-Code
; 404     Unknown/Not available
; 486     User busy
; 408     No reply
; 302     Unconditional
; 487     Deflection during alerting
; 480     Deflection immediate response
; 503     Mobile subscriber not reachable

; example:
;    sip:voicemail@example.com;target=bob%40example.com;cause=486



uri-parameter – Signaling Compression

RFC 5049 – Section 9.1

Up

uri-sip-sigcomp-id   =
"sigcomp-id"   "="   1*paramchar


uri-parameter – VoiceXML Media Services

RFC 5552 – Section 2.1, p. 9

Up

dialog-param   =
"voicexml="   vxml-url     ;   vxml-url follows the URI syntax

maxage-param   =
"maxage="   1*DIGIT

maxstale-param   =
"maxstale="   1*DIGIT

method-param   =
"method="   ( "get"  /  "post" )

postbody-param   =
"postbody="   token

ccxml-param   =
"ccxml="   json-value

aai-param   =
"aai="   json-value

json-value   =
false  /  null  /  true  /  object  /  array  /  number  /  string
;   defined in   RFC 7159

; example:
;    sip:dialog@mediaserver.example.com; \
;       voicexml=http://appserver.example.com/promptcollect.vxml; \
;       maxage=3600;maxstale=0



uri-parameter – Outbound

RFC 5626 – Section 11.3

Up

ob-param   =
"ob"

; example:
;    NOTIFY sip:192.0.2.2;transport=tcp;ob SIP/2.0



uri-parameter – GRUU

RFC 5627 – Section 7

Up

gr-param   =
"gr"   [ "="   pvalue ]

; examples:
;    sip:alice@example.com;gr=kjh29x97us97d
;    sip:asd887f9dfkk76690@example.com;gr



uri-parameter – Bulk Number Contact, SIP GRUU

RFC 6140 – Section 9.2

Up

bnc-param   =
"bnc"

; example:
;    Contact: <sip:198.51.100.3:5060;bnc>


sg-param   =
"sg"

; example:
;    INVITE sip:+12145550102@198.51.100.3;sg=00:05:03:5e:70:a6 SIP/2.0



RFC 6910 – Section 12.3

Up

m-param   =
"m="   ( "BS"   /   "NR"   /   "NL" )

; example:
;    SUBSCRIBE sip:456@b.com;m=NR



uri-parameter – Inter-Operator Traffic Leg

RFC 7549 – Section 6.9

Up

iotl-param   =
iotl-tag   "="   iotl-value   [ "."   iotl-value ]

iotl-tag   =
"iotl"

iotl-value   =
"homea-homeb"   /   "homeb-visitedb"   /   "visiteda-homea"   /   "visiteda-homea"   /   "homea-visiteda"   /   "visiteda-homeb"   /   other-iotl

other-iotl   =
iotl-char   =
alphanum   /   "-"


uri-parameter – orig-param

3GPP TS 24.229 – Section 7.2A.6

Up

orig   =
"orig"


uri-parameter – sos-param

3GPP TS 24.229 – Section 7.2A.13

Up

sos-param   =
"sos"