<DIV>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, </DIV>
<DIV>&nbsp;</DIV>
<DIV>if (method=="INVITE") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_failure("1");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay_to_udp("MainGateway.com","5050");<BR>.</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>failure_route[1] {<BR>&nbsp;&nbsp;&nbsp;&nbsp; t_relay_to_udp("BackupGateway.com", "5060");<BR>}<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>but&nbsp;when the main gateway goes down&nbsp;the calls never get to the backup gateway and i get the following in /var/adm/messages</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 680273 daemon.error] ERROR: t_forward_nonack: no branched for fwding<BR>Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 204228 daemon.error] ERROR: failure_route: t_relay_to failed<BR>Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 749208 daemon.error] ERROR: on_negative_reply: Error in do_action<BR></DIV>
<DIV>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?</DIV>
<DIV>please help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanku</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>