[Serusers] load balancing configuration file

hanane zahidi zahidi.hanane at gmail.com
Fri Apr 3 17:23:13 CEST 2009


Thank you very much
i used it (without arguments) but it doesn't work .[?]




2009/4/3 Iñaki Baz Castillo <ibc at aliax.net>

> 2009/4/3 hanane zahidi <zahidi.hanane at gmail.com>:
> > hi
> > i have two asterisk servers and an extension (userA)  which is registered
> in
> > the two servers. i made ser.cfg with round robin algorithm. but when i
> send
> > a call from an SER client. it always passes by  one asterisk server.and
> not
> > the other.can someone help me i can't find out the problem.
> >
> > my ser.cfg:
> > if (method=="INVITE") {
> >                    ds_select_dst("1","4");
> >                     sl_send_reply("100","trying");
> >                     forward(uri:host, uri:port);
> >                     break;
> > }
>
> If you use "forward()" then you are not creating a transaction so
> failure_route will not be executed (BTW: have you set failure_route
> for failover?).
> You must use "t_relay()" instead of "forward()".
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090403/268d11ca/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 104 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090403/268d11ca/attachment.gif>


More information about the sr-users mailing list