<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18203" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText95069 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I think you need to sort this problem in your DNS...zone files...it is not a ser.cfg issue.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> serusers-bounces@lists.iptel.org on behalf of hanane zahidi<BR><B>Sent:</B> Fri 03/04/2009 16:23<BR><B>To:</B> Iņaki Baz Castillo<BR><B>Cc:</B> serusers@lists.iptel.org<BR><B>Subject:</B> Re: [Serusers] load balancing configuration file<BR></FONT><BR></DIV>
<DIV>
<DIV dir=ltr><BR>Thank you very much<BR>i used it (without arguments) but it doesn't work .<IMG style="MARGIN: 0pt 0.2ex; VERTICAL-ALIGN: middle" src="https://mail.bt.com/Exchange/ORGANR/Drafts/33D.gif"><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>2009/4/3 Iņaki Baz Castillo <SPAN dir=ltr>&lt;<A href="mailto:ibc@aliax.net">ibc@aliax.net</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">2009/4/3 hanane zahidi &lt;<A href="mailto:zahidi.hanane@gmail.com">zahidi.hanane@gmail.com</A>&gt;:<BR>
<DIV class=im>&gt; hi<BR>&gt; i have two asterisk servers and an extension (userA)&nbsp; which is registered in<BR>&gt; the two servers. i made ser.cfg with round robin algorithm. but when i send<BR>&gt; a call from an SER client. it always passes by&nbsp; one asterisk server.and not<BR>&gt; the other.can someone help me i can't find out the problem.<BR>&gt;<BR>&gt; my ser.cfg:<BR>&gt; if (method=="INVITE") {<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds_select_dst("1","4");<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("100","trying");<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; forward(uri:host, uri:port);<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&gt; }<BR><BR></DIV>If you use "forward()" then you are not creating a transaction so<BR>failure_route will not be executed (BTW: have you set failure_route<BR>for failover?).<BR>You must use "t_relay()" instead of "forward()".<BR><FONT color=#888888><BR>--<BR></FONT>
<DIV>
<DIV></DIV>
<DIV class=h5>Iņaki Baz Castillo<BR>&lt;<A href="mailto:ibc@aliax.net">ibc@aliax.net</A>&gt;<BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>