[Serusers] Ser backup route
Steve Blair
blairs at isc.upenn.edu
Mon Dec 6 14:21:51 CET 2004
Jiri:
Not sure what you mean "... new branch to destination set...". Here
is what I have.
In the route[0] I do a number of checks. At the point the call is sent
to the gateway
I have:
t_on_failure("1"); # scb add for gwy failover
t_relay_to_udp("134.93.6.8", "5060");
break;
then:
failure_route[1] {
xlog("L_INFO", "\n[SER]: PSTN Failover Block #1 VAG Gateway
unavailable. Trying HNT:
Time: [%Tf] Method: <%rm> From uri <%fu> To < %tu> IP source address
<%is> \n\n");
t_relay_to_udp("134.93.5.10","5060");
break;
}
-Steve
Jiri Kuthan wrote:
>the failure_route needs to be more complex than that -- you need to
>introduce a new branch to the destination set.
>
>-jiri
>
>At 01:51 PM 12/6/2004, Steve Blair wrote:
>
>
>
>>Has anyone been able to get this suggestion to work? I tried adding
>>the t_on_failure and t_relay_to_udp to my 0.8.14 stable system but
>>the call does not failover.
>>
>>I tested it by reloading the primary gateway just before a call. Therefore
>>the gateway is unreachable not just unresponsive. I would have expected
>>the call to be relayed to my second gateway but that did not happen. Is
>>there more to making the failover work than just the suggestions listed
>>in the previous message?
>>
>>Thanks,Steve
>>
>>Andrei Pelinescu-Onciul wrote:
>>
>>
>>
>>>On Nov 25, 2004 at 16:44, Razvan Nemesiu <forum at netconnect.ro> wrote:
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>I want to make a ser backup route.I have a route for examples that
>>>>forwards the calls to a specific ip destination.I want to make a backup
>>>>route to send those calls to another ip destination whenever the first ip
>>>>destination is not available (Not Found ,etc.).
>>>>
>>>>
>>>>
>>>Use a failure route.
>>>E.g.:
>>>
>>>t_on_failure("1");
>>>t_relay_to_udp("ip1");
>>>break;
>>>
>>>...
>>>
>>>
>>>failure_route[1]{
>>> t_relay_to_udp("ip2");
>>>};
>>>
>>>
>>>
>>>Andrei
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers at lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>
>>--
>>
>>ISC Network Engineering
>>The University of Pennsylvania
>>3401 Walnut Street, Suite 221A
>>Philadelphia, PA 19104
>>
>>
>>voice: 215-573-8396
>> 215-746-8001
>>
>>fax: 215-898-9348
>>
>>sip:blairs at upenn.edu
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>--
>Jiri Kuthan http://iptel.org/~jiri/
>
>
--
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104
voice: 215-573-8396
215-746-8001
fax: 215-898-9348
sip:blairs at upenn.edu
More information about the sr-users
mailing list