Hello,

Going through the SIP RFC, I see that the display name is described as

    display-name = *(token LWS)/ quoted-string

and token is

token = 1*(alphanum / "-" / "." / "!" / "%" / "*" / "_" / "+" / "`" / "'" / "~" )

Thus if your display name contains other symbols than the above, it should be a quoted string.

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 21.01.2014 22:57, Martin Stock wrote:
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:[email protected]: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:[email protected]: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.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to