2.2.3.3 Via Record

The Via Record is a Property Record that defines the URI for which subsequent messages are bound. The data portion of a Via Record is of variable length.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RecordType

ViaLength (variable)

...

Via (variable)

...

RecordType (1 byte): This octet MUST be set to 0x02 to indicate that this is a Via Record.

ViaLength (variable): The value MUST be set to the size, in octets, of the Via, and encoded based on the scheme defined in section 2.2.2. The length MUST NOT be set to 0.

Via (variable): A URI (as defined in [RFC2396] except that the "escaped" construct is never used). The URI MUST be encoded by using UTF-8, as specified in [RFC2279].