Page 1 of 1

vicidial load balancing IAX2 crashes

PostPosted: Thu Jul 05, 2012 2:12 pm
by bobbymc
i have asterisk 1.2.28.1 and vicidial 2.05 which i know is a old install. I recently setup the load balancing feature and it all works great expect that iax2 on the server a that the agents sit on crashes and the overflow server b that is there to generate the extra calls works fine but cant bridge the calls anymore because on server a because server a is not reachable anymore on iax2. Also when i go iax2 show peers on server a i see its unreachable on all extensions or trunks that are iax2. When i try to unload and reload the iax2 module asterisk freezes completely.

Has this ever happened to anyone?

Re: vicidial load balancing IAX2 crashes

PostPosted: Thu Jul 05, 2012 2:14 pm
by bobbymc
also would it make any difference if i change the code to use sip trunks rather then iax trunks?

Re: vicidial load balancing IAX2 crashes

PostPosted: Thu Jul 05, 2012 3:33 pm
by mflorell
I would suggest upgrading to at least Asterisk 1.4.21.2, as well as Vicidial 2.4 or svn/trunk.

We have tested using SIP for the interconnects and it uses significantly more CPU resources and it is slower, I would not recommend it.

Re: vicidial load balancing IAX2 crashes

PostPosted: Sun Jul 15, 2012 4:30 am
by bobbymc
done.. question tho, how come manual calls are not placed on the load balanced servers but kept local?

Re: vicidial load balancing IAX2 crashes

PostPosted: Sun Jul 15, 2012 10:22 pm
by williamconley
I would suspect that it is because the extra load from jumping the call to the "load balancing server" would be counterproductive. It would not decrease the load on the original server that the call MUST connect to anyway, just create an extra call on the balance server ... pointless. Just a guess! :)

Re: vicidial load balancing IAX2 crashes

PostPosted: Mon Jul 16, 2012 4:18 am
by bobbymc
makes sence.. thx for the clarification =)