Thanks alot Bogdan,
That was exactly what I was looking for, Opensips has great support!

Thanks Again

On 10/25/2010 07:52 AM, Bogdan-Andrei Iancu wrote:
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:
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to