Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Thanks Daniel, My voip system is now more reactive if an hosted failed ! Thanks. Regards. 2015-08-24 12:40 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > there are parameters for tm module to set the timeout values: fr_timer and > fr_inv_timer. > > When you want to set it per transaction wit

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Daniel-Constantin Mierla
Hello, there are parameters for tm module to set the timeout values: fr_timer and fr_inv_timer. When you want to set it per transaction with t_set_fr(), the best is to do it somewhere before t_relay(), with the value you want for that forwarding step. Cheers, Daniel On 24/08/15 12:34, Loic Chab

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Hello Daniel, Thanks for your reply, but i dont need to set timeout value for a particular request, i need to set it globally. Is-it possible to handle it ? If not, i will execute this function before launch t_on_failure(). Thanks. 2015-08-24 12:23 GMT+02:00 Daniel-Constantin Mierla : > Hello,

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Daniel-Constantin Mierla
Hello, see t_set_fr() function of tm module -- with it you can set the timeout per transaction, for each step of forwarding -- just use it when you want to change the value. Cheers, Daniel On 24/08/15 11:54, Loic Chabert wrote: > Hello everybody, > > I'm using kamailio as a dispatcher in front o

[SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Hello everybody, I'm using kamailio as a dispatcher in front of asterisk boxes and i use a failure route if asterisk box does not respond or send 500error. failure_route[RTF_DISPATCH]{ if(t_is_canceled()){ exit(); } if(t_check_status("500") || (t_branch_timeout() && !t_branch