Juha posted a new module called LCR that handles this.
If you want to do this yourself you basically set a failure route
before calling t_relay(). If the failure route is executed that means
the t_relay() didn't work. And in the the failure route you can use
rewritehost() to set the next pstn gateway, and finally call
append_branch() and try t_relay() again.
Regards,
Paul
On Mon, 7 Mar 2005 08:51:08 -0800 (PST), Dave <ddx66(a)yahoo.com> wrote:
I have one SER box and five asterisk boxes. I require
that SER forward call to one of the asterisk boxes and
if that fails, forward it to the next, as so on till
it exhausts all five of them.
Can some one please give me some pointers or provide
some reference code to implement this.
Regards,
Dave
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers