<DIV>binary </DIV>
<DIV>version: ser 0.8.12 (sparc64/solaris)</DIV>
<DIV><BR><BR><B><I>Jan Janak &lt;jan@iptel.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">What version of ser are you using ? From CVS or binary package ?<BR><BR>Jan.<BR><BR>On 14-01 09:12, jon doe wrote:<BR>&gt; Thanks for the quick response.<BR>&gt; I get the following error when trying to run ser with this config info.<BR>&gt; <BR>&gt; Segmentation fault (core dumped)<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Jan Janak <JAN@IPTEL.ORG>wrote:<BR>&gt; Do the following:<BR>&gt; <BR>&gt; # Send to PSTN<BR>&gt; route[5] {<BR>&gt; rewritehostport("GW_IP_1:5060");<BR>&gt; consume_credentials();<BR>&gt; append_hf("P-Hint: GATEWAY\r\n");<BR>&gt; <BR>&gt; t_on_failure("1"); <BR>&gt; if (!t_relay()) {<BR>&gt; sl_reply_error();<BR>&gt; break;<BR>&gt; };<BR>&gt; }<BR>&gt; <BR>&gt; failure_route[1] {<BR>&gt; rewritehostport("GW_IP_2:5060");<BR>&gt; append_branch();<BR>&gt; t_relay();<BR>&gt; }<BR>&gt; <BR>&gt; Jan.<BR>&gt; <BR>&gt; <BR>&gt; On 14-01 08:38, jon doe wrote:<BR>&gt; &gt; 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, <BR>&gt; &gt; <BR>&gt; &gt; if (method=="INVITE") {<BR>&gt; &gt; t_on_failure("1");<BR>&gt; &gt; }<BR>&gt; &gt; t_relay_to_udp("MainGateway.com","5050");<BR>&gt; &gt; .<BR>&gt; &gt; .<BR>&gt; &gt; .<BR>&gt; &gt; <BR>&gt; &gt; failure_route[1] {<BR>&gt; &gt; t_relay_to_udp("BackupGateway.com", "5060");<BR>&gt; &gt; }<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; but when the main gateway goes down the calls never get to the backup gateway and i get the following in /var/adm/messages<BR>&gt; &gt; <BR>&gt; &gt; Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 680273 daemon.error] ERROR: t_forward_nonack: no branched for fwding<BR>&gt; &gt; Jan 14 15:40:55 sun /usr/local/sbin/ser[26727]: [ID 204228 daemon.error] ERROR: failure_route: t_relay_to failed<BR>&gt; &gt; Jan 14 15:40:55 sun
 /usr/local/sbin/ser[26727]: [ID 749208 daemon.error] ERROR: on_negative_reply: Error in do_action<BR>&gt; &gt; <BR>&gt; &gt; 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?<BR>&gt; &gt; please help.<BR>&gt; &gt; <BR>&gt; &gt; Thanku<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ---------------------------------<BR>&gt; &gt; Do you Yahoo!?<BR>&gt; &gt; Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Serusers mailing list<BR>&gt; &gt; serusers@lists.iptel.org<BR>&gt; &gt; http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt; <BR>&gt; <BR>&gt; ---------------------------------<BR>&gt; Do you Yahoo!?<BR>&gt; Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes</BLOCKQUOTE><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>