+sip.instance parameter is missing in 200 OK for REGISTER

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

+sip.instance parameter is missing in 200 OK for REGISTER

simbad
This post has NOT been accepted by the mailing list yet.
hi,

When I send a REGISTER  request with +sip.instance (in the contact header) to the opensips server , it responds with a 200ok with out the +sip.instance value in the contact header.

How can I add +sip.instance to the 200ok response also.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

simbad
can any one please help.
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

Bogdan-Andrei Iancu-2
Hi,

Please post the request and reply for that REGISTER.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 30.09.2014 15:33, simbad wrote:

> can any one please help.
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/sip-instance-parameter-is-missing-in-200-OK-for-REGISTER-tp7593626p7593676.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

simbad
Hi Bogdan ,

Thank you for replying. Here is the the REGISTER request and its corresponding 200 OK.

REGISTER sip:com.mydomain.net SIP/2.0
Call-Id: yl44SiUAAA@xxx.x.x.x
CSeq: 2 REGISTER
From: <sip:+9197466xxxxx@com.mydomain.net>;tag=rm44SiUBAA
To: <sip:+9197466xxxxx@com.mydomain.net>
Via: SIP/2.0/TLS xxx.x.x.x:xxxx;branch=z9hG4bK1411213658669;keep
Max-Forwards: 70
Contact: <sip:+9197466xxxxx@xxx.x.x.x:xxxx;transport=tls>;+sip.instance="<sip_intance_value>";+g.oma.sip-im;+g.3gpp.cs-voice;+g.3gpp.iari-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.im,urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.ft,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.ftthumb,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.geopush,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.geopullft,urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-is";+g.gsma.rcs.ipcall;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";video;expires=3600
Supported: path,gruu
P-Preferred-Identity: sip:+9197466xxxxx@com.mydomain.net
User-Agent: IM-client/OMA1.0 local-build/version-not-set
P-Access-Network-Info: IEEE-802.11n
Allow: INVITE, ACK, BYE, CANCEL, NOTIFY, OPTIONS, MESSAGE
Authorization: Digest username="+9197466xxxxx@com.mydomain.net",uri="sip:com.mydomain.net",algorithm=MD5,realm="com.mydomain.net",nonce="541d6978000000a7adc6e6abeb6386e32a37d652a9562296",response="839c0f7372fadb82250943de21ceff0b"
Content-Length: 0



SIP/2.0 200 OK
Call-Id: yl44SiUAAA@xxx.x.x.x
CSeq: 2 REGISTER
From: <sip:+9197466xxxxx@com.mydomain.net>;tag=rm44SiUBAA
To: <sip:+9197466xxxxx@com.mydomain.net>;tag=da49f3d59ded0458f7cec35893ecbaba.2f5a
Via: SIP/2.0/TLS xxx.x.x.x:xxxx;received=x.xx.xx.xxx;rport=54494;branch=z9hG4bK1411213658669;keep
J-Via: SIP/2.0/TLS xxx.x.x.x:xxxx;branch=z9hG4bK1411213658669;keep=120
P-Associated-URI: <tel:+9197466xxxxx>, <sip:+9197466xxxxx@com.mydomain.net>
Contact: <sip:+9197466xxxxx@xxx.x.x.x:xxxx;transport=tls>;expires=3600;received="sip:x.xx.xx.xxx:xxxxx;transport=TLS"
Server: My server SIP Proxy 1.10.1
Content-Length: 0
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

Bogdan-Andrei Iancu-2
Hello ,

A registrar server stores the registered contact URIs (the those URIs
are the one returned in the 200 OK).

The "+sip.instance" is not part of the contact URI - it is actually a
parameter of the Contact header, not a parameter of the Contact URI.
This is way it is not saved.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.10.2014 08:35, simbad wrote:

> Hi Bogdan ,
>
> Thank you for replying. Here is the the REGISTER request and its
> corresponding 200 OK.
>
> REGISTER sip:com.mydomain.net SIP/2.0
> Call-Id: [hidden email]
> CSeq: 2 REGISTER
> From: <sip:+[hidden email]>;tag=rm44SiUBAA
> To: <sip:+[hidden email]>
> Via: SIP/2.0/TLS xxx.x.x.x:xxxx;branch=z9hG4bK1411213658669;keep
> Max-Forwards: 70
> Contact:
> <sip:+[hidden email]:xxxx;transport=tls>;+sip.instance="<sip_intance_value>";+g.oma.sip-im;+g.3gpp.cs-voice;+g.3gpp.iari-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.im,urn%3Aurn-7%3A3gpp-application.ims.iari.rcse.ft,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.ftthumb,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.geopush,urn%3Aurn-7%3A3gpp-application.ims.iari.rcs.geopullft,urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-is";+g.gsma.rcs.ipcall;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";video;expires=3600
> Supported: path,gruu
> P-Preferred-Identity: sip:+[hidden email]
> User-Agent: IM-client/OMA1.0 local-build/version-not-set
> P-Access-Network-Info: IEEE-802.11n
> Allow: INVITE, ACK, BYE, CANCEL, NOTIFY, OPTIONS, MESSAGE
> Authorization: Digest
> username="+[hidden email]",uri="sip:com.mydomain.net",algorithm=MD5,realm="com.mydomain.net",nonce="541d6978000000a7adc6e6abeb6386e32a37d652a9562296",response="839c0f7372fadb82250943de21ceff0b"
> Content-Length: 0
>
>
>
> SIP/2.0 200 OK
> Call-Id: [hidden email]
> CSeq: 2 REGISTER
> From: <sip:+[hidden email]>;tag=rm44SiUBAA
> To:
> <sip:+[hidden email]>;tag=da49f3d59ded0458f7cec35893ecbaba.2f5a
> Via: SIP/2.0/TLS
> xxx.x.x.x:xxxx;received=x.xx.xx.xxx;rport=54494;branch=z9hG4bK1411213658669;keep
> J-Via: SIP/2.0/TLS xxx.x.x.x:xxxx;branch=z9hG4bK1411213658669;keep=120
> P-Associated-URI: <tel:+9197466xxxxx>, <sip:+[hidden email]>
> Contact:
> <sip:+[hidden email]:xxxx;transport=tls>;expires=3600;received="sip:x.xx.xx.xxx:xxxxx;transport=TLS"
> Server: My server SIP Proxy 1.10.1
> Content-Length: 0
>
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/sip-instance-parameter-is-missing-in-200-OK-for-REGISTER-tp7593626p7593809.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

simbad
Hello Bodgan,

Thanks for replying. Is there anyway to return sip.instance along with the 200OK.

Thanks
Simbad
Reply | Threaded
Open this post in threaded view
|

Re: +sip.instance parameter is missing in 200 OK for REGISTER

Bogdan-Andrei Iancu-2
Hi Simbad,

Not something straight.

You can try and store that param into usrloc by hand (see attr_avp
http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id293909) and
get it back to lookup time. But it will be more mission impossible to
add it to the 200OK reply as the Contact hdr in internally built by the
registrar module (so you cannot come with your own changes from the
script) :).

Looks like some development should be needed to do that.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 08.10.2014 07:49, simbad wrote:

> Hello Bodgan,
>
> Thanks for replying. Is there anyway to return sip.instance along with the
> 200OK.
>
> Thanks
> Simbad
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/sip-instance-parameter-is-missing-in-200-OK-for-REGISTER-tp7593626p7593839.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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