hello
thanks Greger V. Teigre.
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).
if (uri=~"^sip:*") { forward( 192.168.0.11, 5060 ); //where asterisk is listening break; }
Thanks Kamran
__________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
Yes, you do it in the failure_route[]. Search in the archives for failure_route and forward/voicemail and you'll find plenty... We also have this functionality on our list for (I believe) next issue of the ONsip.org Getting Started document. g-)
Kamran Ahmad wrote:
hello
thanks Greger V. Teigre.
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).
if (uri=~"^sip:*") { forward( 192.168.0.11, 5060 ); //where asterisk is listening break; }
Thanks Kamran
Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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(); } }