<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Tito,<br>
<br>
There is no dedicated event in dialog module for expired calls.
What you can do is to use the local_route to capture the local BYE
requests (when dialog module terminates an expired dialog) - if is
a BYE and direction is UPSTREAM (to get only one BYE per call),
you can fire an event from the script ; this event may be captured
by an external app to do whatever job.<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>
<div class="moz-cite-prefix">On 22.04.2016 00:55, Tito Cumpen wrote:<br>
</div>
<blockquote
cite="mid:CANZPVB7qxwkpKHYVTp14KLYm_5vKTkc+G+gh1j7LxT8EKRsypA@mail.gmail.com"
type="cite">
<div dir="ltr">Group,
<div><br>
</div>
<div>Is there anyway to raise an event for sessions that have
expired. Meaning if a call/sessions expires an event is
raised. I am trying to deal with the possibility of removing
active sessions from a remote database in the event that a bye
was never transmitted due to a client crashing or losing
network connectivity.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
</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>