Hello,
I was looking for the same script at May 2003. You can find Jiri's and Jan's answers in the archive, the thread is "forwarding unanswered call - once more". Sorry, but I could not try the script, because the backup gateway was required for another project. I hope I will do it in some month.
I am also interesting in load balancing. Do you plan to extend the capabilities of SRV dns query? I mean supporting of multiple SRV records: load balancing in case of equal priority values, failover with different ones. Can this be a solution for both problem?
Miklos
Jan Janak wrote:
If a busy gateway sends a negative response than it could trigger a failure route. If the gateway is out of service then a timer could hit. Somebody has already asked similar question and I sent an example scripts (without testing !). Try to search the archive.
Jan.
On 03-10 11:15, Steve Dolloff wrote:
Is there any way to deal with a busy or out of service gateway? Would either of these situations activate a failure that we could use to change the route to a new gateway? If we set up the gateways in a huntgroup scenaro, and 2 or 3 failovers had to take place, what sort of delay could one expect?
Thanks,
Stephen
Subject: Re: [Serusers] Multiple SIP - PSTN Gateways
roughly like this:
if (uri=~"sip:972") { sethostport("dfw.nationalgateways.com"); } else if (uri=~"sip:911") { sethostport("emrgency.ngw.com"); } else { sethostport("defaultgw.com"); }; t_relay();
That's it. No guarantee for positioning of semicolons and other :$)"./... symbols.
-jiri
At 02:43 PM 9/25/2003, Wasik, Paul wrote:
Hi all,
Has anyone built a ser.cfg that can conditionally forward SIP calls to different SIP - PSTN gateways based on the outgoing calls area or
exchange
code. I'm sure it can be done but I'm not that good with syntax of the ser.cfg file. I know how to route to single SIP GW based on the dialed string but how do I make SER use multiple SIP gateways? Can anyone
provide
an example of this?
Thanks,
Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers