<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Nabeel,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 07.08.2015 19:39, Nabeel wrote:<br>
</div>
<blockquote
cite="mid:CA+vx6KJsApQKasPWgmxRTwbU29_Wee-kt6_msyTeCvD2oG6-ow@mail.gmail.com"
type="cite">
<div dir="ltr"><font face="arial, helvetica, sans-serif">[........]</font><br>
<div><font face="arial, helvetica, sans-serif">Bogdan,</font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">Regarding UDP, I
realised that the UDP port could not be in LISTEN state and
this was probably preventing my server from fully opening
that port. Running nmap on that port showed result
"open|filtered", unlike with TCP which showed fully open. I
am not running any firewalls on my server, so this seems to
be the default behaviour of my network.</font></div>
</div>
</blockquote>
<font face="arial, helvetica, sans-serif">A bidirectional traffic
through the NAT will keep the NAT pinhole open, while a
unidirectional one may not. This is the advantage of the SIP
pinging versus simple UDP pinging.</font><br>
<blockquote
cite="mid:CA+vx6KJsApQKasPWgmxRTwbU29_Wee-kt6_msyTeCvD2oG6-ow@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><span style="font-family:arial,helvetica,sans-serif">I
would like to clarify one thing. You mentioned adding
setbflag(SIP_PING_FLAG) before doing save(), but in my
config file I don't see save() anywhere, there is only this
line: "if (!save("location"))". Where exactly do I add this
line?</span><font face="arial, helvetica, sans-serif"><br>
</font></div>
</div>
</blockquote>
<font face="arial, helvetica, sans-serif">exactly.</font><br>
<br>
<font face="arial, helvetica, sans-serif">Regards,<br>
Bogdan<br>
</font><br>
</body>
</html>