@ovidiusas , according to the RFC3261 grammar , the contact body
["test"
sip:[email protected]:53814;ob;reg-id=1;+sip.instance="urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b"]
is not valid. If display name is present, the URI must be enclosed between
angle brackets (see page 227 in the RFC):
Contact = ("Contact" / "m" ) HCOLON
( STAR / (contact-param *(COMMA contact-param)))
contact-param = (name-addr / addr-spec) *(SEMI contact-params)
name-addr = [ display-name ] LAQUOT addr-spec RAQUOT
addr-spec = SIP-URI / SIPS-URI / absoluteURI
display-name = *(token LWS)/ quoted-string
So, the correct format should be :
["test"
<sip:[email protected]:53814>;ob;reg-id=1;+sip.instance="urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b"]
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228#issuecomment-42639830_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel