<DIV>binary </DIV>
<DIV>version: ser 0.8.12 (sparc64/solaris)</DIV>
<DIV><BR><BR><B><I>Jan Janak <jan@iptel.org></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>> Thanks for the quick response.<BR>> I get the following error when trying to run ser with this config info.<BR>> <BR>> Segmentation fault (core dumped)<BR>> <BR>> <BR>> <BR>> Jan Janak <JAN@IPTEL.ORG>wrote:<BR>> Do the following:<BR>> <BR>> # Send to PSTN<BR>> route[5] {<BR>> rewritehostport("GW_IP_1:5060");<BR>> consume_credentials();<BR>> append_hf("P-Hint: GATEWAY\r\n");<BR>> <BR>> t_on_failure("1"); <BR>> if (!t_relay()) {<BR>> sl_reply_error();<BR>> break;<BR>> };<BR>> }<BR>> <BR>> failure_route[1] {<BR>> rewritehostport("GW_IP_2:5060");<BR>> append_branch();<BR>> t_relay();<BR>> }<BR>> <BR>> Jan.<BR>> <BR>> <BR>> On 14-01 08:38, jon doe wrote:<BR>> > 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>> > <BR>> > if (method=="INVITE") {<BR>> > t_on_failure("1");<BR>> > }<BR>> > t_relay_to_udp("MainGateway.com","5050");<BR>> > .<BR>> > .<BR>> > .<BR>> > <BR>> > failure_route[1] {<BR>> > t_relay_to_udp("BackupGateway.com", "5060");<BR>> > }<BR>> > <BR>> > <BR>> > 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>> > <BR>> > 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>> > <BR>> > 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>> > please help.<BR>> > <BR>> > Thanku<BR>> > <BR>> > <BR>> > ---------------------------------<BR>> > Do you Yahoo!?<BR>> > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes<BR>> > _______________________________________________<BR>> > Serusers mailing list<BR>> > serusers@lists.iptel.org<BR>> > http://lists.iptel.org/mailman/listinfo/serusers<BR>> <BR>> <BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> 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>