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

2014-01-23 Thread Bastian Schern
Hi, IMHO the definition for the display-name of the "Contact" and "From" is similar. Complete SIP message with bad diplay names in header parts: --- snip --- REGISTER sip:192.168.100.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.100.177:5060;branch=z9hG4bK-2e2fcbb8 From: Fax: Test-Name ;tag=48a3731a9fe

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

2014-01-23 Thread Vlad Paiu
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

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

2014-01-21 Thread Martin Stock
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@192.168.16.158:506