[sr-dev] Distinguish between local 408 generated after "fr_inv_timer" and "fr_timer"

Iñaki Baz Castillo ibc at aliax.net
Thu Mar 25 19:07:59 CET 2010


2010/3/25 Andrei Pelinescu-Onciul <andrei at iptel.org>:
> Try t_any_replied()
> (http://sip-router.org/docbook/sip-router/branch/master/modules/tm/tm.html#t_any_replied)
>
> E.g.:
>  if (t_check_status("408"){
>    if (!t_any_replied()) {
>        t_reply(503, "Try again later, busy gws");
>        exit;
>    }
>  }


According to the documentation:
----------------------
t_any_replied()

Returns true if at least one of the current transactions branches did
receive some reply in the past. If called from a failure or onreply
route, the "current" reply is not taken into account.
-----------------------

Does it also return true if the only received response was 1XX?


Thanks.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list