<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello All,</p>
<p>Opensips v3.0.</p>
<p>I have a simple routing script that implements a mid-registrar.
All of the endpoints are behind NAT so I need the proxy to send
keep alive pings.</p>
<p>I have the nathelper module loaded with the following
configuration:</p>
<p>/* --- Module NATHELPER ---------------<br>
<br>
NAT traversal helper module<br>
------------------------------------*/<br>
loadmodule "nathelper.so"<br>
modparam("nathelper", "natping_interval", 30)<br>
modparam("nathelper", "ping_nated_only", 0)<br>
modparam("nathelper", "sipping_method", "OPTIONS")<br>
modparam("nathelper", "sipping_bflag", "SIPPING_ENABLE")<br>
modparam("nathelper", "sipping_from", <a class="moz-txt-link-rfc2396E" href="sip:pinger@mrp1.xxxx.uk">"sip:pinger@mrp1.xxxx.uk"</a>)<br>
modparam("nathelper", "received_avp", "$avp(received_nh)")<br>
modparam("nathelper", "ping_threshold", 5)<br>
modparam("nathelper", "max_pings_lost", 3)<br>
modparam("nathelper", "natping_partitions", 4)<br>
modparam("nathelper", "remove_on_timeout_bflag", "SIPPING_RTO")<br>
modparam("nathelper", "natping_tcp", 1)<br>
<br>
</p>
<p>The nathelper module is sending the 4 byte UDP packets (verified
by packet capture), but I cannot get it to send SIP OPTIONS pings.</p>
<p>According to paragraph 1.2 (NAT pinging types), there are two
types, UDP package and SIP request. I cannot work out how to make
it use SIP request.</p>
<p>I assume that I do need SIP OPTIONS pings for the
removal_on_timeout to work.<br>
</p>
<p>Can anyone point me in the right direction please?<br>
</p>
<p><br>
</p>
<div class="moz-signature"> <br>
</div>
<font face="Verdana, Helvetica, Sans-Serif" color="#000000">Kind
regards,<br>
<br>
Adrian Fretwell<br>
Sibthorpe<br>
Nottinghamshire<br>
</font>
<p><font face="Verdana, Helvetica, Sans-Serif" color="#000000">UK.<br>
</font></p>
</body>
</html>