<div dir="ltr"><div><div><div>Hello everybody,<br><br></div>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.<br><br>failure_route[RTF_DISPATCH]{<br>    if(t_is_canceled()){<br>        exit();<br>    }<br><br>    if(t_check_status("500") || (t_branch_timeout() && !t_branch_replied())){<br>    xlog("L_WARN","[$fU@$si:$sp]{$rm} Asterisk Box $du is down\n");<br>    ds_mark_dst("ip");<br>    if(ds_next_dst()){<br>      xlog("L_WARN","[$fU@$si:$sp]{$rm} Sending to Asterisk Box - $du\n");<br>      t_on_failure("RTF_DISPATCH");<br>      route(RELAY);<br>      exit;<br>    }<br>    }<br>}<br><br></div><div>As you can see, i check if "t_branch_timeout() && !t_branch_replied()", but where has been stored timeout value ? How can i change it ? For exemple, i need to set 1s, and then, request expired.<br></div><div><br>Thanks,<br></div><div>Regards.<br></div></div></div>