2010/3/25 Andrei Pelinescu-Onciul <andrei(a)iptel.org>rg>:
Try t_any_replied()
(
http://sip-router.org/docbook/sip-router/branch/master/modules/tm/tm.html#t…)
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(a)aliax.net>