Yes it is correct to have multiple Vias in a SIP Request. It indicates
how many proxies the request has gone thru before reaching the final
destination.

Actually as per RFC 3261, every proxy adds a Via header inserting its
own address before forwarding the request further. This is explained in
section 4 of RFC 3261. 


Regards
Ranjit

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
padmaja venkata
Sent: Friday, June 13, 2008 4:17 PM
To: sip-implementors@lists.cs.columbia.edu
Subject: [Sip-implementors] Proxy forwarding invite with multiple via
headers

Hi all,

Is it OK if the proxy forwards the received invite with multiple via
headers of its own inserted?

For example:

The received invite is this:

INVITE sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> SIP/2.0
Call-Id: [EMAIL PROTECTED]
Contact: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
Content-Length: 249
Content-Type: application/sdp
Cseq: 1 INVITE
From: <sip:[EMAIL PROTECTED]
<[EMAIL PROTECTED]>>;tag=c0a832cd-17
Max-Forwards: 16
Min-Se: 600
Session-Expires: 3600
Session-Guid: 859321956-1634023014-905969664-2513471912
Supported: 100rel,timer
To: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
User-Agent: Quintum/1.0.0 SN/0030E12004B0 SW/P106-11-00
Via: SIP/2.0/UDP 192.168.50.205;branch=z9hG4bK-tenor-c0a8-32cd-0033

The proxy at 192.168.50.52 forwarded this as follows:

INVITE sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> SIP/2.0
Record-Route: <sip:192.168.50.52:5060
;lr;sipXecs-rs=%2Afrom%7EYzBhODMyY2QtMTc%60.400_authrules%2Aauth%7E%2115
90e935cd4ae900a36d10202f501d7c>
Call-Id: [EMAIL PROTECTED]
Contact: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
Content-Length: 249
Content-Type: application/sdp
Cseq: 1 INVITE
From: <sip:[EMAIL PROTECTED]
<[EMAIL PROTECTED]>>;tag=c0a832cd-17
Max-Forwards: 16
Min-Se: 600
Session-Expires: 3600
Session-Guid: 859321956-1634023014-905969664-2513471912
Supported: 100rel,timer
To: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>>
User-Agent: Quintum/1.0.0 SN/0030E12004B0 SW/P106-11-00
Via: SIP/2.0/UDP 192.168.50.52
;branch=z9hG4bK-sipXecs-0137aac61e5301ead76e6566cdb0f2d3be5e
Via: SIP/2.0/UDP 192.168.50.52
;branch=z9hG4bK-sipXecs-0134499c81a909946eaed847046c2535f409%e8c783cad7e
e777c922618d09949ebd4
Via: SIP/2.0/UDP 192.168.50.52
;branch=z9hG4bK-sipXecs-012ea2e73188173f014705446d987568ab32%dbb67e4f9a5
bca399689a4d127429e37
Via: SIP/2.0/UDP 192.168.50.205;branch=z9hG4bK-tenor-c0a8-32cd-0033

There are 3 via header fields inserted by proxy. Is this OK and in
accordance with the RFC?

Thanks,
Padmaja
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to