[pjsip] pjsip_parse_msg() fails when parsing tel: URI?

Michael Pfeuffer pfeufferm at gmail.com
Wed Mar 3 08:09:41 CST 2010


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





More information about the pjsip mailing list