[Serusers] how to check if number is busy or not responding then forword it to asterisk
Andreas Granig
andreas.granig at inode.info
Wed Apr 6 11:32:57 CEST 2005
Hi!
Kamran Ahmad wrote:
> my question is there any way to check wheather UAS is
> busy or not responding then forword it to other
> asterisk proxy server for callforword,confrence or
> PSTN according to dialplan(extension.conf).
Try something like this:
route{
# ...
lookup("location");
t_on_failure("1");
t_relay();
}
failure_route[1]{
if(t_check_status("486")) {
# busy, so rewrite to new location here, then:
t_relay();
}
}
More information about the sr-users
mailing list