[OpenSIPS-Users] fr_timer fr_inv_timer

Jesse Cloutier jesse at cronomagic.com
Tue Oct 26 19:32:59 CEST 2010


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
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20101026/4a3f3950/attachment.htm 


More information about the Users mailing list