parser bug?

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

 



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:

 

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080721/240c726b/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