[SIPForum-discussion] HELP

杨伟 shyw13 at gmail.com
Mon May 19 02:12:49 UTC 2008


2008/5/16, Bob Penfield <BPenfield at acmepacket.com>:
>
>
> 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=**192.0.2.1* <http://192.0.2.1/>*
> ,<CR><LF>*
> *<SP>SIP/2.0/UDP server11.biloxi.com;branch=z9hG2fdK776asdhds;received=
> 192.0.2.2*
> **
>

If I wrote it in this form:
 *Via: SIP/2.0/UDP **server10.biloxi.com* <http://server10.biloxi.com/>*
;branch=z9hG4bK776asdhds;received=**192.0.2.1* <http://192.0.2.1/>*,<CR><LF>
*
*Via: SIP/2.0/UDP server11.biloxi.com;branch=z9hG2fdK776asdhds;received=
192.0.2.2*
**
Is it identical with yours?



> **
> cheers,
> (-:bob
>
>  ------------------------------
> *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.
>
> Regards,
> Niketa
>
> On Fri, May 16, 2008 at 11:22 AM, Ganesh Bhattathiri <
> 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;branch=z9hG4bK776asdhds;received=
>> 192.0.2.1, *
>>
>> *SIP/2.0/UDP server11.biloxi.com;branch=z9hG2fdK776asdhds;received=
>> 192.0.2.2** "*
>>
>> **
>>
>> *Or do we write  it as,*
>>
>> **
>>
>> *" Via: SIP/2.0/UDP server10.biloxi.com;branch=z9hG4bK776asdhds;received=
>> 192.0.2.1 *
>>
>> *   Via: SIP/2.0/UDP server11.biloxi.com
>> ;branch=z9hG2fdK776asdhds;received=192.0.2.2** "*
>>
>> **
>>
>> *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*
>>
>> **
>>
>> *Ganesh*
>>
>> **
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080519/ff02b24b/attachment-0002.html>


More information about the discussion mailing list