<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Jayesh,<br>
<br>
Firing an event is not a problem - the problem is in NAT pinging,
there is no state for the tractions. Basically the modules doing
NAT do not care of the replies (as for pining is not relevant), so
you do not know which ping and for what contact it failed, in
order to trigger the event.<br>
<br>
Switching to statefull pinging may be expensive from resources
point of view....<br>
<br>
Best regards,</tt><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>
<br>
On 03/13/2013 08:28 AM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CANAYozsSCCSm7ksq84TV7cNd5Vt-_jajT8oKU4EECqB5-6dP-A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,
<div style="">The 1.9 has an awesome event interface and I
really appreciate the great work by the developers. I was
looking at an option to raise an event when a registered user
becomes unreachable.</div>
<div style="">Say, for eg: I use keep-alive method as OPTIONS in
the nat_traversal module and if I do not get a response from
any UA, is it possible that opensips can raise an event for
the same. Is it somehow possible from the script, or
additional work on the code will be required.</div>
<div style="">I think, this feature might be useful in many ways
!!</div>
<div style=""><br>
</div>
<div style="">Thanks for any pointers.</div>
<div style=""><br>
</div>
<div style="">--- Jayesh</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</body>
</html>