Helo Thanks for help but my gateway is isdn gateway. This kind of gateway send a response "486" to server when user is busy and 480 when isdn is offline. T_on_failure will forward a transaction when 486 return but i wanted to forward only if 480 response return to server. Thanks for help.
TS
No, you have to use t_on_failure and check_status in the failure_route helps you to decide whether you have to try another gw or not. It was in the example code:
failure_route[1] { if (check_status("480")) { # this part of code won't be executed for 486 reply .... } }
Michal
On Fri, Apr 07, 2006 at 08:59:57AM +0200, Tomasz Stafin wrote:
Helo Thanks for help but my gateway is isdn gateway. This kind of gateway send a response "486" to server when user is busy and 480 when isdn is offline. T_on_failure will forward a transaction when 486 return but i wanted to forward only if 480 response return to server. Thanks for help.
TS
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers