[Users] timeout for serial forking

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jan 19 16:06:20 CET 2007


Hi,

add an "append_branch()" in failure route, before t_relay().

regards,
bogdan

Stefano Capitanio wrote:

>
> with t_relay, when timer hits, openSER doesn't even send the new 
> INVITE, it send only the 408 Request Timeout,
> and i have following errors in log:
>
> ERROR: t_forward_nonack: no branched for forwarding
> ERROR: w_t_relay (failure mode): forwarding failed
> ERROR: run_failure_handlers: Error in do_action
>
> and it doesn't work neither with the ALLNET Phone.
>
> thanks for any help,
> Stefano
>
> Klaus Darilion ha scritto:
>
>> Stefano Capitanio wrote:
>>
>>> Hi Users,
>>>
>>> I have a problem with timeout for serial forking:
>>> I want to deviate a certain type of call to Voicemail after 19 
>>> seconds, then i do:
>>> ...
>>> modparam("tm", "fr_inv_timer_avp", "fr_inv_timeout")
>>> ...
>>> if (uri=~"^sip:xyz") {
>>>                        # set timeout for VoiceMail
>>>                        avp_write("i:19", "fr_inv_timeout");
>>>                        t_on_failure("1");
>>> };
>>> ...
>>> if (!t_relay()) {
>>>                        sl_reply_error();
>>> };
>>> ...
>>> failure_route[1] {
>>>        # send it to VM
>>>        rewritehostport("xxx.xxx.xxx.xxx:5060");
>>>        forward(uri:host, uri:port);
>>
>>
>> I guess you have to use t_relay(...) instead of forward - you have to 
>> handle the whole scenario with tm module.
>>
>> regards
>> klaus
>>
>>> }
>>>
>>>
>>> when the timer hits, OpenSER sends a new INVITE to VoiceMail and a 
>>> 408 Request Timeout to the calling UA.
>>> this cause the calling UA (X-Lite) to hang up.
>>> is it my bad implementation or is it a problem of X-Lite?
>>> same configuration works when I call with an ALLNET Phone...
>>>
>>> thanks for your interest,
>>> Stefano
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the Users mailing list