[Serusers] Problem with forwarding - 480 response.

Michal Matyska michal at iptel.org
Fri Apr 7 10:56:09 CEST 2006


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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list