[SIPForum-discussion] Sequence of Via headers

Vijay Tiwari vijay11tiwari at gmail.com
Tue Jul 9 02:58:10 UTC 2013


Hello Abhishek

Via header can be place any where in the message  but is recommend to have
at first place after request URI. but i think it should be together.

Regards
vijay


On Fri, Jul 5, 2013 at 5:22 PM, Abhishek Gupta <
gupta.kumar.abhishek at gmail.com> wrote:

> Hi,
>
> This is related to the sequence of Via headers. We all know that it is
> copied from the request in the same order while forming the response and
> sent to the topmost Via order. How valid is the below mentioned 180
> response (having Via headers at different places) -
>
> INVITE sip:1002 at 10.44.104.117:5060;transport=udp SIP/2.0
> Record-Route: <sip:10.44.104.156;lr=on>
> Via: SIP/2.0/UDP 10.44.104.156;branch=z9hG4bK7805.472b72f2.0
> Via: SIP/2.0/UDP 10.44.104.119:32986
> ;branch=z9hG4bK-d8754z-fdbc5e3d0e2c5a3d-1---d8754z-;rport=32986
> Max-Forwards: 16
> Contact: <sip:1001 at 10.44.104.119:32986;transport=udp>
> .
> .
> Content-Length: 216
>
>
> SIP/2.0 180 Ringing
> *Via: SIP/2.0/UDP 10.44.104.156;branch=z9hG4bK7805.472b72f2.0*
> From: "1001"<sip:1001 at 10.44.104.156>;tag=87b60828
> To: <sip:1002 at 10.44.104.156>;tag=331752176
> Contact: <sip:1002 at 10.44.104.117:5060;transport=udp>
> Call-ID: NTY3ZmQyZDgzM2JiMjQ5MjI3MDZjZDc5MDFiMjBjZmY
> CSeq: 1 INVITE
> Content-Length: 0
> *Via: SIP/2.0/UDP 10.44.104.119:32986
> ;rport=32986;branch=z9hG4bK-d8754z-fdbc5e3d0e2c5a3d-1---d8754z-*
> Record-Route: <sip:10.44.104.156;lr=on>
> Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER,
> UPDATE
>
>
> Regards,
> Abhishek
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>


-- 
They can because they think they can.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20130709/43b82d34/attachment-0002.html>


More information about the discussion mailing list