[OpenSIPS-Users] cannot parse the Contact URI with colon in display part

Martin Stock ml04 at reventix.de
Tue Jan 21 21:57:18 CET 2014


Hi Guys,

IMHO the current OpenSIPS creates a strange error message if the display 
part of contact header contains a colon ":".
E.g. the error messages looks like this:
--- snip ---
opensips[24791]: ERROR:core:parse_uri: bad uri,  state 0 parsed: Fax: 
(4) / Fax: Name sip:1001 at 192.168.16.158:5060 (62)
opensips[24791]: ERROR:nat_traversal:get_contact_uri: cannot parse the 
Contact URI
--- snap ---

The contact header in the of the UA:
Contact: Fax: Name <sip:1001 at 192.168.16.158:5060>

If I remove the ":" inside the display part the error message disappears.

In diplay parts of other URIs this is not a problem.

Is that a bug?

Regards
Martin

P.S.:
I'm using OpenSIPS version 1.10.



More information about the Users mailing list