[Serusers] Failover Forwarding

jon doe siptelephony at yahoo.com
Wed Jan 14 17:38:43 CET 2004


I have a SER proxy setup and would like to forward all calls to a gateway. If that gateway is down i would like to forward the calls to a different gateway. Is this possible. I have tried. the following, 
 
if (method=="INVITE") {
                t_on_failure("1");
        }
        t_relay_to_udp("MainGateway.com","5050");
.
.
.
 
failure_route[1] {
     t_relay_to_udp("BackupGateway.com", "5060");
}

 
but when the main gateway goes down the calls never get to the backup gateway and i get the following in /var/adm/messages
 
Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 680273 daemon.error] ERROR: t_forward_nonack: no branched for fwding
Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 204228 daemon.error] ERROR: failure_route: t_relay_to failed
Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 749208 daemon.error] ERROR: on_negative_reply: Error in do_action

i understand that this code would work if i were to create a different branch to send to a different address of the user, but i dont want to do that i want to try to reach the same user via a different gateway. Is there any way to do this?
please help.
 
Thanku


---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040114/2507faf8/attachment.htm>


More information about the sr-users mailing list