Am 14.01.2011 10:28, schrieb Mino Haluz:
Hi,
I would like to force kamailio to send another code as Request timeout
when fr invite timeout is hit. Is there some nice way how to achieve it,
or I have to edit the code ? :(
activate a failure route: t_on_failure("foo")
then in failure route check for the status (e.g. 408):
failure_route[foo] {
...
if (t_check_status("487")) {
t_reply("499","or what ever you want");
exit;
}
...
}
regards
klaus