pjsip_parse_msg() fails when parsing tel: URI?

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

 



I found the solution:  I wasn't calling pjsip_tel_uri_subsys_init() to 
register the tel parser with pjsip_parse_msg().

--Mike


Hi All,

I've been using pjsip successfully, but have run into a problem.  The 
pjsip_parse_msg() declares a syntax error when parsing a tel: URI 
request line:

     INVITE tel:+19996665555 SIP/2.0

02/27/10 11:58:13.94 9580 L: pjsip_parse_msg() failed
02/27/10 11:58:13.94 9580 L: syntax error at line 1 col 24 for Request Line

The location referenced is the space following the number.  The same 
function successfully parses SIP: URIs.  I'm using v1.5.5, but also 
observed the same the using v1.3.

Any suggestions would be greatly appreciated.

--Mike





[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