[SIPForum-discussion] help on From header

shiba shankar rout rout.shibashankar at gmail.com
Thu Jul 30 04:20:33 UTC 2009


*Hi Xiao,

The issue  is you  are mentioning  user=phone in the FROM header  but you
are not using  tel-uri. This is the reason you got error.
As  RFC 3261 suggests  that if you are mentioning user=phone in From header
then you have to mention tel-uri.
For example:

Thanks.
S S Rout*



On Wed, Jul 29, 2009 at 6:48 AM, XIAO Xiaohong <
Xiaohong.Xiao at alcatel-sbell.com.cn> wrote:

>  Hello,
>
> Could somebody tell me following From header is valid or not? Which rfc
> specified "user=phone"?
>
>
>  From:Anonymous<sip:Anonymous at anonymous.invalid
> ;user=phone>;tag=F4363246313536415576E403
>
>  The SIP stack in my equipment complains when it is trying to decoding
> above From header.
>
>   STACK ERROR:Syntax error while parsing Tel/related
>   STACK ERROR:syntax error, unexpected ALPHAS, expecting ISDNTAG or
> EXTENSIONTAG or PHONETAG
>
>
> If we change the From header to
>  From:Anonymous<sip:Anonymous at anonymous.invalid
> >;tag=F4363246313536415576E403
>
> Then everything is OK.
>
>
> Thank you.
>
>
>
>
> _______________________________________________
> 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/20090730/08a1cefa/attachment-0002.html>


More information about the discussion mailing list