[SIPForum-discussion] HELP

Bob Penfield BPenfield at acmepacket.com
Fri May 16 09:45:43 UTC 2008

Either format is valid. Like may SIP header, the Via can contain multiple values separated by commas. Note however if it is on multiple lines, then the second line must begin with at least one space so it is seen as a contnuation line.

Via: SIP/2.0/UDP server10.biloxi.com<http://server10.biloxi.com>;branch=z9hG4bK776asdhds;received=<>,<CR><LF>
<SP>SIP/2.0/UDP server11.biloxi.com<http://server11.biloxi.com>;branch=z9hG2fdK776asdhds;received=<>


From: discussion-bounces at sipforum.org [discussion-bounces at sipforum.org] On Behalf Of Niketa Pal [pal.niketa at gmail.com]
Sent: Friday, May 16, 2008 2:11 AM
To: Ganesh Bhattathiri
Cc: discussion at sipforum.org
Subject: Re: [SIPForum-discussion] HELP

Hi Ganesh,

The second format is right, mentioning two 'Via' headers. First format is wrong. Stack would give parsing error if first format is used.


On Fri, May 16, 2008 at 11:22 AM, Ganesh Bhattathiri <ganesh_bhattathiri at persistent.co.in<mailto:ganesh_bhattathiri at persistent.co.in>> wrote:

Hi everyone,

Sorry to trouble again, I wanted to know if there are multiple via headers in a sip request could the header be written in the following manner?

" Via: SIP/2.0/UDP server10.biloxi.com<http://server10.biloxi.com>;branch=z9hG4bK776asdhds;received=<>,

SIP/2.0/UDP server11.biloxi.com<http://server11.biloxi.com>;branch=z9hG2fdK776asdhds;received=<> "

Or do we write  it as,

" Via: SIP/2.0/UDP server10.biloxi.com<http://server10.biloxi.com>;branch=z9hG4bK776asdhds;received=<>

   Via: SIP/2.0/UDP server11.biloxi.com<http://server11.biloxi.com>;branch=z9hG2fdK776asdhds;received=<> "

And if it is the later then is the first header format wrong? Or is it possible to write the header in that format?

Awaiting reply.

Thanks in advance


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<mailto:discussion at sipforum.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080516/ce417472/attachment-0002.html>

More information about the discussion mailing list