<div dir="ltr">Hello Răzvan,<div><br></div><div><br></div><div>Thanks for your explanation/update.</div><div><br></div><div>Would be good if somehow you can keep us updated on this topic , ie if/when that limitation is solved.</div><div><br></div><div><br></div><div>Kind regards,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 26, 2017 at 6:24 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Milan!<br>
<br>
The only SIP method that can refresh a SIP dialog is a re-INIVTE
(according to RFC 3621 [1]) or an UPDATE (according to RFC 3311
[2]). A REGISTER message cannot change the Contact of an ongoing
dialog. Therefore, your application has to send a re-INVITE after
it connects to a new network.<br>
However, there is a small limitation in the dialog module that
doesn't allow you to update the remote-address (Contact), not even
for re-INVITEs or UPDATEs. But there are some guys that are
working to fix it, luckily the fix will be out soon.<br>
<br>
[1] <a class="m_-5592726627759372221moz-txt-link-freetext" href="https://tools.ietf.org/html/rfc3621" target="_blank">https://tools.ietf.org/html/<wbr>rfc3621</a><br>
[2] <a class="m_-5592726627759372221moz-txt-link-freetext" href="https://tools.ietf.org/html/rfc3311" target="_blank">https://tools.ietf.org/html/<wbr>rfc3311</a><br>
<br>
Best regards,<br>
</tt>
<pre class="m_-5592726627759372221moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_-5592726627759372221moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
<div class="m_-5592726627759372221moz-cite-prefix">On 09/26/2017 01:32 PM, Milan
Stanojevic wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello,
<div><br>
</div>
<div><br>
</div>
<div>I'm running into next issue:</div>
<div><br>
</div>
<div>My SIP clients register to Opensips server with Expires
interval of 3600 seconds and calling/initializing call to
other SIP client or PSTN network works fine but issue comes
when my SIP client send re-register during active call (it
sends re-register 300 seconds after initial REGISTER message
or in case IP/network on which it is has changed since those
are mobile SIP clients) . So when calling SIP client
re-register Contact field for that AOR will be updated to new
value ( It will change network socket , IP:Port ) and if/when
called party (either PSTN or other SIP client on my
network) wants to hangup that call BYE that comes from called
party is not send to new/updated Contact of caller , rather it
is trying to send it to "old" Contact which does not exist any
more.</div>
<div><br>
</div>
<div><br>
</div>
<div>Do you have any idea how I could fix this so that BYE goes
to new/update Contact value ?</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-5592726627759372221gmail_signature">
<div dir="ltr">
<div><img src="https://s24.postimg.org/qwzgem2u9/lflogo.png" style="padding-top:5px" height="38" width="38"></div>
<span> </span>
<div>
<div style="font-size:16px;height:46px;text-align:center;line-height:46px;font-weight:bold">Milan
Stanojević</div>
</div>
<span> </span>
<div><a href="https://www.facebook.com/LotusFlareGrowth/" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/ku42n89aj/ponovo3.png" height="10" width="10"></a> <a href="https://twitter.com/Lotus_Flare" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/5iu9mmbyj/ponovo1.png" height="10" width="10"></a> <a href="https://www.linkedin.com/company-beta/5270342/" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/prhn8cb9n/ponovo2.png" height="10" width="10"></a>
<div style="color:rgb(122,121,121)"><a value="+381658806711" style="color:rgb(17,85,204)">+381 60 70 28 592</a></div>
<div style="color:rgb(122,121,121)"><a href="http://www.lotusflare.com/" style="color:rgb(17,85,204)" target="_blank">www.lotusflare.com</a></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-5592726627759372221mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-5592726627759372221moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-5592726627759372221moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<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-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="display:inline-block;font-size:11px;border-right:2px solid rgb(229,229,229);padding:0px 10px;height:46px;vertical-align:middle;color:rgb(0,0,0);font-family:"Open Sans",sans-serif"><img src="https://s24.postimg.org/qwzgem2u9/lflogo.png" height="38" width="38" style="padding-top:5px"></div><span style="color:rgb(0,0,0);font-family:"Open Sans",sans-serif;font-size:medium;text-align:center"> </span><div style="display:inline-block;font-size:11px;border-right:2px solid rgb(229,229,229);padding:0px 10px;height:46px;vertical-align:middle;color:rgb(0,0,0);font-family:"Open Sans",sans-serif"><div style="font-size:16px;height:46px;text-align:center;line-height:46px;font-weight:bold">Milan Stanojević</div></div><span style="color:rgb(0,0,0);font-family:"Open Sans",sans-serif;font-size:medium;text-align:center"> </span><div style="display:inline-block;font-size:11px;border:none;padding:0px 10px;height:46px;vertical-align:middle;color:rgb(0,0,0);font-family:"Open Sans",sans-serif"><a href="https://www.facebook.com/LotusFlareGrowth/" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/ku42n89aj/ponovo3.png" height="10" width="10"></a> <a href="https://twitter.com/Lotus_Flare" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/5iu9mmbyj/ponovo1.png" height="10" width="10"></a> <a href="https://www.linkedin.com/company-beta/5270342/" style="color:rgb(17,85,204);margin-right:15px" target="_blank"><img src="https://s15.postimg.org/prhn8cb9n/ponovo2.png" height="10" width="10"></a><div style="color:rgb(122,121,121)"><a value="+381658806711" style="color:rgb(17,85,204)">+381 60 70 28 592</a></div><div style="color:rgb(122,121,121)"><a href="http://www.lotusflare.com/" style="color:rgb(17,85,204)" target="_blank">www.lotusflare.com</a></div></div></div></div>
</div>