<!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">
<font size="-1">Thanks alot Bogdan,<br>
That was exactly what I was looking for, Opensips has great
support!<br>
<br>
Thanks Again<br>
</font><br>
On 10/25/2010 07:52 AM, Bogdan-Andrei Iancu wrote:
<blockquote cite="mid:4CC56F73.4010205@voice-system.ro" type="cite">
<pre wrap="">Hi Jesse,
as fr_inv_timer is started only after the receive of the first reply,
you can run such a check to see if fr_timer or fr_inv_timer triggered
the timeout:
failure_route[xx]
{
if (t_check_status("408") {
if ( t_local_replied("all") ) {
# local timeout with no reply received -> fr_timer
} else if ( t_local_replied("last") ) {
# timeout with replies received -> fr_inv_timer
} else {
# received timeout
}
}
}
Regards,
Bogdan
Jesse Cloutier wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I setup opensips with the tm module for call forward on timeout. It
works great but I would like to perform different actions depending on
if it is the "fr_timer" or the "fr_inv_timer", and I can find no way
of telling from the script which timer was hit.
How could I gain access to this information?
I am running 1.6.2
Thanks!!!
Jesse
------------------------------------------------------------------------
_______________________________________________
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>
<pre wrap="">
</pre>
</blockquote>
</body>
</html>