parser bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 21, 2008 at 10:13 AM, Brocha Strous <Brocha.Strous at kayote.com>
wrote:

>  Hi,
>
> It seems that the parser considers a response with only a response code and
> no "Reason Phrase" to be a syntax error ? but according to the RFC the
> Reason phrase is optional (note the * at the beginning of the Reason-Phrase
> definition) and I have come across servers that do not include a Reason
> Phrase:
>
>
This should have been fixed long time ago:
http://trac.pjsip.org/repos/changeset/1540

Cheers
 Benny


>
> Status-Line     =  SIP-Version SP Status-Code SP Reason-Phrase CRLF
>
> Status-Code     =  Informational
>
>                /   Redirection
>
>                /   Success
>
>                /   Client-Error
>
>                /   Server-Error
>
>                /   Global-Failure
>
>                /   extension-code
>
> extension-code  =  3DIGIT
>
> Reason-Phrase   =  *(reserved / unreserved / escaped
>
>                    / UTF8-NONASCII / UTF8-CONT / SP / HTAB)
>
>
>
> Thanks,
>
> Brocha
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080721/27183e13/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux