No subject


Mon Dec 27 18:28:28 CET 2010


"The parameters natping_interval, ping_nated_only, sipping_bflag, and
sipping_from, controls how to ping the clients to maintain the NAT mapping
open. Most of these parameters are self explanatory, but pay attention to
the
sipping_bflag. If the bflag is set to 7, the NATHELPER module will ping
using an OPTIONS SIP request from the address established in the parameter
sipping_from. It is much safer to use the OPTIONS request instead of a dumm=
y
UDP packet, because some NAT implementations require an outbound packet to
keep the NAT mapping open and the client will answer the OPTIONS request
with
any SIP response, which will do the trick."

Regards!



2011/2/4 Vallimamod ABDULLAH <vallimamod.abdullah at imtelecom.fr>

> Hello,
>
> On Feb 4, 2011, at 11:03 AM, I=F1aki Baz Castillo wrote:
>
> > [...]
> > And the server is responsible for keeping the registrations and not
> > loosing them when restarting.
> > [...]
>
> Just a related question: what about the nat binding ?
> Does the nathelper module keep sending the keep-alive message for natted
> phones after restart ?
>
> I have noticed that sometime phones behind nat are not able to receive
> incoming calls or presence notifications upon server restart but I did no=
t
> have time to look at it yet.
>
> Regards,
> Vallimamod Abdullah
> .
>  _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

--90e6ba53b5280b8626049b72c5cc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><font face=3D"verdana,sans-serif">Hello Vallimamod,</font></div>
<div><font face=3D"verdana,sans-serif"></font>=A0</div>
<div><font face=3D"verdana,sans-serif">The best way to keep a user behind n=
at, is sending OPTIONS:</font></div>
<div><font face=3D"verdana,sans-serif"></font>=A0</div>
<div><font face=3D"verdana,sans-serif">modparam(&quot;nathelper&quot;, &quo=
t;natping_interval&quot;, 30)<br>modparam(&quot;nathelper&quot;, &quot;ping=
_nated_only&quot;, 0)<br>modparam(&quot;nathelper&quot;, &quot;sipping_bfla=
g&quot;, 7)<br>
modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;sip:pinger@=
PROXY_IP&quot;)</font></div>
<div><font face=3D"Verdana"></font>=A0</div>
<div><font face=3D"Verdana">From the book: &quot;Building Telephony Systems=
 with OpenSIPS&quot; Flavio E Goncalves:</font></div>
<div><font face=3D"Verdana"></font>=A0</div>
<div><font face=3D"Verdana">&quot;The parameters natping_interval, ping_nat=
ed_only, sipping_bflag, and<br>sipping_from, controls how to ping the clien=
ts to maintain the NAT mapping<br>open. Most of these parameters are self e=
xplanatory, but pay attention to the<br>
sipping_bflag. If the bflag is set to 7, the NATHELPER module will ping<br>=
using an OPTIONS SIP request from the address established in the parameter<=
br>sipping_from. It is much safer to use the OPTIONS request instead of a d=
ummy<br>
UDP packet, because some NAT implementations require an outbound packet to<=
br>keep the NAT mapping open and the client will answer the OPTIONS request=
 with<br>any SIP response, which will do the trick.&quot;</font></div>
<div><font face=3D"verdana,sans-serif">=A0</font></div>
<div>Regards!<br></div>
<div><font face=3D"verdana,sans-serif">=A0</font></div>
<div><br><br></div>
<div class=3D"gmail_quote">2011/2/4 Vallimamod ABDULLAH <span dir=3D"ltr">&=
lt;<a href=3D"mailto:vallimamod.abdullah at imtelecom.fr">vallimamod.abdullah@=
imtelecom.fr</a>&gt;</span><br>
<blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3D"gmail_quote">Hello,<br><br>On Feb 4, 2011, at=
 11:03 AM, I=F1aki Baz Castillo wrote:<br><br>&gt; [...]<br>
<div class=3D"im">&gt; And the server is responsible for keeping the regist=
rations and not<br>&gt; loosing them when restarting.<br></div>&gt; [...]<b=
r><br>Just a related question: what about the nat binding ?<br>Does the nat=
helper module keep sending the keep-alive message for natted phones after r=
estart ?<br>
<br>I have noticed that sometime phones behind nat are not able to receive =
incoming calls or presence notifications upon server restart but I did not =
have time to look at it yet.<br><br>Regards,<br><font color=3D"#888888">Val=
limamod Abdullah<br>
.<br></font>
<div>
<div></div>
<div class=3D"h5">_______________________________________________<br>Users =
mailing list<br><a href=3D"mailto:Users at lists.opensips.org">Users at lists.ope=
nsips.org</a><br><a href=3D"http://lists.opensips.org/cgi-bin/mailman/listi=
nfo/users" target=3D"_blank">http://lists.opensips.org/cgi-bin/mailman/list=
info/users</a><br>
</div></div></blockquote></div><br>

--90e6ba53b5280b8626049b72c5cc--



More information about the Users mailing list