Tech-
invite
3GPP
space
IETF
RFCs
SIP
↠
Examples
Grammars
Presence
⇾
SIP
SIP‑URI
SIP Headers
SIP P‑Headers
SDP
Generic URI
ABNF Notation
ABNF for SIP Headers
(91 of 93)
SIP Header — Via
Section 20.42 of RFC 3261
and
ABNF in RFC 3261
—
IANA
Via
=
( "
Via
" / "
v
" )
HCOLON
via‑parm
*(
COMMA
via‑parm
)
via-parm
=
sent‑protocol
LWS
sent‑by
*(
SEMI
via‑params
)
sent-protocol
=
protocol‑name
SLASH
protocol‑version
SLASH
transport
sent-by
=
host
[
COLON
port
]
protocol-name
=
"
SIP
" /
token
protocol-version
=
token
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
received‑realm
/
; see
RFC 8055
–
Section 5.6.2
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*12
DIGIT
"
.
" 1*5
DIGIT
oc-algo
=
"
oc‑algo
"
EQUAL
DQUOTE
algo‑list
*(
COMMA
algo‑list
)
DQUOTE
received-realm
=
"
received‑realm
"
EQUAL
LDQUOT
op‑id
COLON
jws
LDQUOT
ttl
=
1*3
DIGIT
; 0 to 255
other-compression
=
token
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
op-id
=
token
jws
=
header
"
..
"
signature
header
=
1*
base64‑char
signature
=
1*
base64‑char
base64-char
=
ALPHA
/
DIGIT
/ "
/
" / "
+
"
via-extension
=
generic‑param