<!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>Do not take my explanation as a "no" - I just wanted to point
the obstacles ; and work around the statefull part may be encoding
some user/contact ID in the callid or from tag, so when you
receive back the reply, you do not need a transaction to find out
the corresponding contact you pinged - you can simply extract the
contact from the reply.....just an idea.<br>
<br>
Regards,<br>
</tt>
<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/14/2013 07:37 PM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CANAYozvQgeE=1xczchjuSL5j5PXv_w8E3x9HiUdYRRN1zDAh8A@mail.gmail.com"
type="cite">
<p dir="ltr">Thank you for the solid explanation.</p>
<p dir="ltr">--- Jayesh</p>
<div class="gmail_quote">On Mar 14, 2013 10:37 PM, "Bogdan-Andrei
Iancu" <<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div 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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
On 03/13/2013 08:28 AM, Jayesh Nambiar wrote:
<blockquote type="cite">
<div dir="ltr">Hi All,
<div>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>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>I think, this feature might be useful in many ways
!!</div>
<div><br>
</div>
<div>Thanks for any pointers.</div>
<div><br>
</div>
<div>--- Jayesh</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
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>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>