tech-invite   World Map     

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

ABNF for  Via  SIP Header

90  of  92

 

Here

 

Top

 

Up

 

Prev

 

Next

 

RFC 3261 – Section 20.42

 


Via   =
( "Via"  /  "v" )   HCOLON   via-parm   *( COMMA   via-parm )

via-parm   =
sent-protocol   =
sent-by   =
host   [ COLON   port ]

protocol-name   =
"SIP"  /  token

protocol-version   =
transport   =
"UDP"  /  "TCP"  /  "TLS"  /  "SCTP"  /     ;  see  RFC 3261
"TLS-SCTP"  /     ;  see  RFC 4168 – Section 4
"WS"  /  "WSS"  /     ;  see  RFC 7118 – Section 5.1
other-transport

via-params   =
via-ttl  /  via-maddr  /  via-branch  /     ;  see  RFC 3261
via-received  /     ;  see  RFC 3261,   RFC 7118 – Section 5.3
via-compression  /     ;  see  RFC 3486 – Section 8
response-port  /     ;  see  RFC 3581 – Section 5
via-sip-sigcomp-id  /     ;  see  RFC 5049 – Section 9.1
via-alias  /     ;  see  RFC 5923 – Section 7
via-keep  /     ;  see  RFC 6223 – Section 8
oc  /  oc-validity  /  oc-seq  /  oc-algo  /     ;  see  RFC 7339 – Section 9
via-extension

via-ttl   =
"ttl"   EQUAL   ttl

via-maddr   =
"maddr"   EQUAL   host

via-received   =
"received"   EQUAL   ( IPv4address  /  IPv6address )

via-branch   =
"branch"   EQUAL   token

via-compression   =
"comp"   EQUAL   ( "sigcomp"  /  other-compression )

response-port   =
"rport"   [ EQUAL   1*DIGIT ]

via-sip-sigcomp-id   =
"sigcomp-id"   EQUAL   LDQUOT   *( qdtext  /  quoted-pair )   RDQUOT

via-alias   =
"alias"

via-keep   =
"keep"   [ EQUAL   1*( DIGIT ) ]

oc   =
"oc"   [ EQUAL   oc-num ]

oc-validity   =
"oc-validity"   [ EQUAL   delta-ms ]

oc-seq   =
"oc-seq"   EQUAL   1*12DIGIT   "."   1*5DIGIT

oc-algo   =
"oc-algo"   EQUAL   DQUOTE   algo-list   *( COMMA   algo-list )   DQUOTE

ttl   =
1*3DIGIT     ; 0 to 255

other-compression   =
oc-num   =
1*DIGIT

algo-list   =
"loss"  /
"rate"  /     ;  see  RFC 7415 – Section 5
*( other-algo )

other-algo   =
%x41-5A  /  %x61-7A  /  %x30-39

delta-ms   =
1*DIGIT

via-extension   =