<div dir="ltr"><div>Ohh ya. I have just disabled
nat_traversal and removed
<span class="gmail-im">nat_keepalive(); <br></span></div><div><span class="gmail-im">Need to add the bflag properly which actually fixed my issue.</span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">Thank your help!</span></div><div><span class="gmail-im"><br></span></div>
<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 11, 2020 at 6:59 PM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 09.03.2020 02:24, Jehanzaib Younis wrote:<br>
> if (is_method("REGISTER")) {<br>
> fix_nated_register();<br>
> nat_keepalive();<br>
<br>
Hi, Jehanzaib!<br>
<br>
Bingo! This is the cause of your strange double-pinging. You are using <br>
two NAT pinging modules at the same time: nathelper + nat_traversal. <br>
And, of course, nat_traversal will keep on pinging the old value until <br>
its "virtual expiration" timer kicks in, ignoring the fact that the <br>
contact actually got refreshed within the user location by a new <br>
binding, xx.xxx.xx.xx:25004.<br>
<br>
Possible solutions:<br>
<br>
* stop using nat_traversal<br>
* stop using nathelper<br>
* keep using them both, but be careful not to arm them simultaneously <br>
(can be tricky)<br>
<br>
Regards,<br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
<br>
OpenSIPS Summit, Amsterdam, May 2020<br>
<a href="http://www.opensips.org/events" rel="noreferrer" target="_blank">www.opensips.org/events</a><br>
<br>
<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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div>Regards,</div>
<div>Jehanzaib</div></div>