<div dir="ltr">Aqs,<div><br></div><div><br></div><div>It looks like these a two separate entries based on the call-id:</div><div><br></div><div><br></div><div><span style="font-size:12.8000001907349px">76589ZTlhODhlODE3MjY1N2E5ZGJhM</span><span style="font-size:12.8000001907349px">2M0MjNjOWM3NDI3ODU</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">76589NjY1NjYxNDdjNjBjNjEyYmVjN</span><span style="font-size:12.8000001907349px">2JhMDQzYzRjYzVmY2I</span><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Naturally the client should refresh the registration by re-using the call id. The server would respond with challenge specifying the attached auth header was stale. The UAC would reply with a newly generated auth header. Is this second registration attempt being made prior the to registration expiry time? is the server sending a 200 ok with an expiry time in the contact field? Also can you share your registration function?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks,<br>Tito</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 5:56 PM, Aqs Younas <span dir="ltr"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for you answer. Below is re-captured packets.<br><br>Session Initiation Protocol (REGISTER)<br> Message Header<br> Via: SIP/2.0/UDP 192.168.1.5:60513;branch=z9hG4bK-524287-1---e033e301133bdc5b;rport<br> Max-Forwards: 70<br> Contact: <sip:<a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a>@192.168.1.5:60513;rinstance=8e3eef20967b3294><br> To: <<a href="mailto:sip%3A14048002020@192.168.1.60" target="_blank">sip:14048002020@192.168.1.60</a>><br> From: <<a href="mailto:sip%3A14048002020@192.168.1.60" target="_blank">sip:14048002020@192.168.1.60</a>>;tag=71dd180b<br> Call-ID: 76589NjY1NjYxNDdjNjBjNjEyYmVjN2JhMDQzYzRjYzVmY2I<br> CSeq: 1 REGISTER<br> Expires: 3600<br> Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE<br> User-Agent: X-Lite 4.8.4 76589-dcb8bf14-W6.2<br> Content-Length: 0<br><br>Request-Line: REGISTER sip:192.168.1.60 SIP/2.0<br> Message Header<br> Via: SIP/2.0/UDP 192.168.1.5:60513;branch=z9hG4bK-524287-1---b5b9926774d60123;rport<br> Max-Forwards: 70<br> Contact: <sip:<a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a>@192.168.1.5:60513;rinstance=f9c1973b37048538><br> To: <<a href="mailto:sip%3A14048002020@192.168.1.60" target="_blank">sip:14048002020@192.168.1.60</a>><br> From: <<a href="mailto:sip%3A14048002020@192.168.1.60" target="_blank">sip:14048002020@192.168.1.60</a>>;tag=e4ef7105<br> Call-ID: 76589ZTlhODhlODE3MjY1N2E5ZGJhM2M0MjNjOWM3NDI3ODU<br> CSeq: 1 REGISTER<br> Expires: 3600<br> Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE<br> User-Agent: X-Lite 4.8.4 76589-dcb8bf14-W6.2<br> Content-Length: 0<br><br></div><div>Both result successful registration. <br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2015 at 14:23, Tito Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Do you have an example of the request? Are the call id's matching ?</p>
<div class="gmail_quote"><div><div>On Jun 12, 2015 5:21 PM, "Aqs Younas" <<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi, Users.<br><br>I try to register my x-lite phone with opensips that is successfully registered.But i see after some time, x-lite sends another register request and there are two entries for same username in location table.<br><br></div><div>Username Contact<br><a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a> sip:<a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a>@192.168.1.5:61404;rinstance=7792871469eb2327<br><a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a> sip:<a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a>@192.168.1.5:61404;rinstance=29fcf1d85b004efe<br><br><br></div><div>I want, user must be register with different softphone for same username. Like second entry could be from zoiper,etc but not from same x-lite for <a href="tel:14048002020" value="+14048002020" target="_blank">14048002020</a>.<br><br></div><div>Secondly, when i try to run, ./opensipsctl fifo get_statistics accepted_regs<br></div><div>It gives.<br>registrar:accepted_regs:: 3<br></div><div><br>But there are only 2 entries in location table.<br><br></div><div>Please pardon me for my naive question, just started learning this amazing thing.<br><br></div><div>Thanks<br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>