vicidial load balancing IAX2 crashes

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

vicidial load balancing IAX2 crashes

Postby bobbymc » Thu Jul 05, 2012 2:12 pm

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?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: vicidial load balancing IAX2 crashes

Postby bobbymc » Thu Jul 05, 2012 2:14 pm

also would it make any difference if i change the code to use sip trunks rather then iax trunks?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: vicidial load balancing IAX2 crashes

Postby mflorell » Thu Jul 05, 2012 3:33 pm

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.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: vicidial load balancing IAX2 crashes

Postby bobbymc » Sun Jul 15, 2012 4:30 am

done.. question tho, how come manual calls are not placed on the load balanced servers but kept local?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Re: vicidial load balancing IAX2 crashes

Postby williamconley » Sun Jul 15, 2012 10:22 pm

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! :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: vicidial load balancing IAX2 crashes

Postby bobbymc » Mon Jul 16, 2012 4:18 am

makes sence.. thx for the clarification =)
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am


Return to Development

Who is online

Users browsing this forum: No registered users and 20 guests