hi all;I am a new member in this mailing list and i wish you can help me. i have to do load balancing for two asterisk servers using the SER server.but i'm really lost. if you could help me by showing me an ser.cfg sample to do it best regards.
El Jueves 02 Abril 2009, hanane zahidi escribió:
hi all;I am a new member in this mailing list and i wish you can help me. i have to do load balancing for two asterisk servers using the SER server.but i'm really lost. if you could help me by showing me an ser.cfg sample to do it
For such things perhaps you should pay a consultant. What you are asking for is not a detailed issue or question, but a very wide work.
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; }
2009/4/2 Iñaki Baz Castillo ibc@aliax.net
El Jueves 02 Abril 2009, hanane zahidi escribió:
hi all;I am a new member in this mailing list and i wish you can help me.
i
have to do load balancing for two asterisk servers using the SER server.but i'm really lost. if you could help me by showing me an ser.cfg sample to do it
For such things perhaps you should pay a consultant. What you are asking for is not a detailed issue or question, but a very wide work.
-- Iñaki Baz Castillo ibc@aliax.net _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
2009/4/3 hanane zahidi zahidi.hanane@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()".
Thank you very much i used it (without arguments) but it doesn't work .[?]
2009/4/3 Iñaki Baz Castillo ibc@aliax.net
2009/4/3 hanane zahidi zahidi.hanane@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@aliax.net
I think you need to sort this problem in your DNS...zone files...it is not a ser.cfg issue.
________________________________
From: serusers-bounces@lists.iptel.org on behalf of hanane zahidi Sent: Fri 03/04/2009 16:23 To: Iñaki Baz Castillo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] load balancing configuration file
Thank you very much i used it (without arguments) but it doesn't work . https://mail.bt.com/Exchange/ORGANR/Drafts/33D.gif
2009/4/3 Iñaki Baz Castillo ibc@aliax.net
2009/4/3 hanane zahidi zahidi.hanane@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@aliax.net
El Viernes 03 Abril 2009, hanane zahidi escribió:
Thank you very much i used it (without arguments) but it doesn't work .[?]
I already asked you if failure_route is set dispatcher module to work. No reply on it.