<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Did you set natping_interval? If you don't set this parameter,
natpings won't<br>
be enabled? <br>
<pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
<div class="moz-cite-prefix">On 02/18/2016 03:37 PM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote
cite="mid:CADzurOK=WQXKoykGvTGs+D4tdYN9awDn32QNuemv1fsMFJU5AA@mail.gmail.com"
type="cite">
<div dir="ltr">I can't "<span style="font-size:12.8px">Sipping_flag". </span>I
have "sipping_bflag". This is part of my script:
<div><br>
modparam("nathelper", "sipping_bflag", "SIP_PING_BFLAG")<br>
</div>
<div><br>
</div>
<div>route {<br>
....</div>
<div>setbflag(SIP_PING_BFLAG);</div>
<div>.....<br>
<br>
}</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-18 14:56 GMT+02:00 Ionut Ionita
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Sipping_flag must
also be set, because matching pings when they return can
be<br>
done only if using SIP pings. Did you set it?<span
class="HOEnZb"><font color="#888888"><br>
<pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
</font></span>
<div>
<div class="h5">
<div>On 02/17/2016 02:56 PM, Dragomir Haralambiev
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
<div>I try to setup realtime monitoring. </div>
<div>Here is part of my script:<br>
<br>
<div>loadmodule "nathelper.so"</div>
<div>modparam("nathelper",
"remove_on_timeout_bflag", "RM_ONTO_FLAG") </div>
<div>modparam("nathelper", "ping_threshold",
5) </div>
</div>
<div>.......</div>
<div><br>
</div>
<div>route {</div>
<div>.........</div>
<div>setbflag(RM_ONTO_FLAG);<br>
</div>
<div>.........</div>
<div>}</div>
<div><br>
</div>
<div>From location tableI (cflags) I see
"RM_ONTO_FLAG"</div>
<div>Unplug Internet connection from registered
endpoint.<br>
<br>
Opensips send sipping. Received "Destination
unreachable (Port unreachable)".<br>
<br>
Record in location table is not deleted.<br>
<br>
Where is problem?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Dragomir<br>
<br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-10-01 11:33
GMT+03:00 Ionut Ionita <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:ionutionita@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">*Hello all,<br>
<br>
I’m glad to announce a new feature that
allows OpenSIPS to monitor<br>
(via SIP OPTIONS probing) and disable/delete
in realtime the registrations<br>
which are not responding.<br>
The previous approach had two issues when
came to so called “zombie”<br>
registrations (registrations which are not
valid anymore):<br>
* resources - such zombie registrations
may waste resources in your<br>
OpenSIPS server (memory, processing time, DB
space, useless NAT pinging,<br>
TCP connect attempts);<br>
* user experience - using the zombie
registration to reach un-existing<br>
users translates into useless calls (calls
that will simply timeout),<br>
giving delays in the call setup (instead of
going straight to VM, you may<br>
burn 5-10 seconds in trying to reach the
user);<br>
The main idea behind these features is to
delete contacts that do not<br>
respond to a certain number of SIP pings. The
SIP pinging is provided by the<br>
nathelper module which was enhanced to keep
the state of each pinging requests<br>
(basically, the module is waiting and checking
the reply of each SIP request<br>
sent to the registered users). For
registrations detected as “dead” (not
responding),<br>
the nathelper module interacts directly with
the usrloc module in order to<br>
remove the zombie contact.<br>
For usage perspective, the nathelper
module now has two new parameters:<br>
* ping_threshold - timeout to consider a
ping as unanswered;<br>
* max_pings_lost - the number of
unresponded pings after which the contact is<br>
removed from usrloc;<br>
In order to activate this feature, every
contact must have the sipping_bflag<br>
(to be pinged) and remove_on_timeout_bflag (to
be deleted on no-answer) activated.<br>
This means these flags must also be configured
in the nathelper module. [0]<br>
For full documentation of the nathelper
module including the newly added<br>
feature see [1]. Any feedback is highly
appreciated.<br>
<br>
Regards,<br>
Ionut Ionita<br>
<br>
[0]<a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id248011"
rel="noreferrer" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id248011</a><br>
[1]<a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html"
rel="noreferrer" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html</a><br>
*<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
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>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
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>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>