[Serusers] Multiple SIP - PSTN Gateways

Jan Janak jan at iptel.org
Fri Oct 3 21:29:59 CEST 2003


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 at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> 
> --
> Jiri Kuthan            http://iptel.org/~jiri/ 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list