<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,
<br>
<br>
My application represents multiple SIP instances that have the same
SIP URI so I can support simultaneous incoming calls to this URI.
<br>
I would also like these instances to be uniquely addressable so I
can support SIP event notification (SUBSCRIBE/NOTIFY).
<br>
<br>
Therefore I would like to obtain GRUUs from the OpenSips registrar
for these SIP instances.
<br>
If all instances have different local SIP URIs the REGISTER response
contains a contact value for each instance. But if the instances
have the same local SIP URI only one contact value is returned in
the REGISTER response.
<br>
<br>
Could anyone please tell me if this is correct behaviour or should
the response contain a contact value for each instance?
<br>
<br>
The REGISTER request:
<br>
<br>
REGISTER sip:192.168.1.178 SIP/2.0
<br>
Via: SIP/2.0/UDP
192.168.1.237:5060;branch=z9hG4bKde764961a60b4e2f8e809470a5c20f78
<br>
Max-Forwards: 70
<br>
From: <a class="moz-txt-link-abbreviated"
href="mailto:sip:1010@192.168.1.178;tag=d455cae0a95f4229bcd2153dac7b3c5b">sip:1010@192.168.1.178;tag=d455cae0a95f4229bcd2153dac7b3c5b</a>
<br>
To: <a class="moz-txt-link-abbreviated"
href="mailto:sip:1010@192.168.1.178">sip:1010@192.168.1.178</a>
<br>
Call-ID: f8e77f1a8a604cc98a505bb7017045e4
<br>
CSeq: 22 REGISTER
<br>
Contact: <a class="moz-txt-link-rfc2396E"
href="mailto:sip:1010@192.168.1.237"><sip:1010@192.168.1.237></a>;+sip.instance="<urn:uuid:2f33883736cc4a3d91570e8c06df9b06-002>"
<br>
Contact: <a class="moz-txt-link-rfc2396E"
href="mailto:sip:1010@192.168.1.237"><sip:1010@192.168.1.237></a>;+sip.instance="<urn:uuid:55372b9295824de19c98a9db63386160-001>"
<br>
Supported: gruu
<br>
Expires: 600
<br>
Content-Length: 0
<br>
<br>
The REGISTER response:
<br>
<br>
SIP/2.0 200 OK
<br>
Via: SIP/2.0/UDP
192.168.1.237:5060;branch=z9hG4bKde764961a60b4e2f8e809470a5c20f78
<br>
From: <a class="moz-txt-link-abbreviated"
href="mailto:sip:1010@192.168.1.178;tag=d455cae0a95f4229bcd2153dac7b3c5b">sip:1010@192.168.1.178;tag=d455cae0a95f4229bcd2153dac7b3c5b</a>
<br>
To: <a class="moz-txt-link-abbreviated"
href="mailto:sip:1010@192.168.1.178;tag=672eb56ff27ea055e14e7cc9d1cbeb13.6345">sip:1010@192.168.1.178;tag=672eb56ff27ea055e14e7cc9d1cbeb13.6345</a>
<br>
Call-ID: f8e77f1a8a604cc98a505bb7017045e4
<br>
CSeq: 22 REGISTER
<br>
<allOneLine>
<br>
Contact: <a class="moz-txt-link-rfc2396E"
href="mailto:sip:1010@192.168.1.237"><sip:1010@192.168.1.237></a>;expires=600
<br>
;pub-gruu=<a class="moz-txt-link-rfc2396E"
href="mailto:sip:1010@192.168.1.178:5060;gr=urn:uuid:55372b9295824de19c98a9db63386160-001">"sip:1010@192.168.1.178:5060;gr=urn:uuid:55372b9295824de19c98a9db63386160-001"</a>
<br>
;temp-gruu=
<br>
<a class="moz-txt-link-rfc2396E"
href="mailto:sip:tgruu.AUUDWmUJQ2QCSRNfYwBAc0UCXVQmRBk3CkUGXWQDEmoCSQZWYQUUNgFJUFdrUEk3UkYAXWsHQWUAXQNeYhEWa1VHBAhiUEgyBkAHDTAISDIFQAYMMQZAYgdAB1s2BQ==@192.168.1.178:5060;gr">"sip:tgruu.AUUDWmUJQ2QCSRNfYwBAc0UCXVQmRBk3CkUGXWQDEmoCSQZWYQUUNgFJUFdrUEk3UkYAXWsHQWUAXQNeYhEWa1VHBAhiUEgyBkAHDTAISDIFQAYMMQZAYgdAB1s2BQ==@192.168.1.178:5060;gr"</a>;+sip.instance="urn:uuid:55372b9295824de19c98a9db63386160-001"
<br>
</allOneLine>
<br>
Server: OpenSIPS (2.3.1 (x86_64/linux))
<br>
Content-Length: 0
<br>
<br>
Thank you in advance.
<br>
<br>
Kind regards,
<br>
Richard<br>
<br>
<br>
</body>
</html>