Hello Amit,&nbsp;<div><br class="webkit-block-placeholder"></div><div>check whether user agent is located in behind the nat &nbsp;or not , then save the location tablle.</div><div>and before save this table load the module regisrar and nathelet with recieve paarm</div>
<div><br class="webkit-block-placeholder"></div><div><br><br><div class="gmail_quote">On Wed, Apr 16, 2008 at 5:19 PM, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Amit,<br>
<br>
Do you do &quot;setbflag(3)&quot; before save(&quot;location&quot;) ?<br>
<br>
Regards,<br>
Bogdan<br>
<div><div></div><div class="Wj3C7c"><br>
Amit Nagpal wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am trying to configure OpenSER such that it pings its NATed clients<br>
&gt; with SIP OPTIONS packets instead of the default dummy UDP pings. But,<br>
&gt; no matter what I do, OpenSER always sends the usual UDP pings.<br>
&gt;<br>
&gt; My openser.cfg contains the following lines –<br>
&gt;<br>
&gt; modparam(&quot;usrloc&quot;, &quot;nat_bflag&quot;, 3)<br>
&gt;<br>
&gt; modparam(&quot;nathelper&quot;,&quot;natping_interval&quot;, 60)<br>
&gt;<br>
&gt; modparam(&quot;nathelper&quot;,&quot;rtpproxy_disable&quot;, 1)<br>
&gt;<br>
&gt; modparam(&quot;nathelper&quot;, &quot;sipping_bflag&quot;, 3)<br>
&gt;<br>
&gt; modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;sip:openser @<a href="http://mydomain.net" target="_blank">mydomain.net</a> &quot;)<br>
&gt;<br>
&gt; Before save("location") in the route blocks I have –<br>
&gt;<br>
&gt; Fix_nated_contact()<br>
&gt;<br>
&gt; And on reply route to the main route block I have –<br>
&gt;<br>
&gt; Fix_nated_sdp("3").<br>
&gt;<br>
&gt; NAT is working perfectly fine otherwise, I just need to get OpenSER to<br>
&gt; ping with SIP OPTIONS instead of dummy UDP packets.<br>
&gt;<br>
&gt; Can you please help me achieve that.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Amit.<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; *From:* <a href="mailto:users-bounces@lists.openser.org">users-bounces@lists.openser.org</a><br>
&gt; [mailto:<a href="mailto:users-bounces@lists.openser.org">users-bounces@lists.openser.org</a>] *On Behalf Of *Amit Nagpal<br>
&gt; *Sent:* Monday, April 14, 2008 12:27 PM<br>
&gt; *To:* <a href="mailto:users@lists.openser.org">users@lists.openser.org</a><br>
&gt; *Subject:* [OpenSER-Users] NAT SIP OPTIONS ping<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am trying to configure OpenSER such that it pings its NATed clients<br>
&gt; with SIP OPTIONS packets instead of the default dummy UDP pings. But,<br>
&gt; no matter what I do, OpenSER always sends the usual UDP pings.<br>
&gt;<br>
&gt; My openser.cfg contains the following lines –<br>
&gt;<br>
&gt; sipping_bflag<br>
&gt;<br>
&gt; sipping_method<br>
&gt;<br>
&gt; sipping_from<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
&gt; <a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp;Regards<br>Ravi Prakash Sunkara<br>VoIP Development Tech Lead
</div>