3 voice server load balancing

All installation and configuration problems and questions

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

3 voice server load balancing

Postby bulcrack » Tue Mar 27, 2007 9:08 am

Im wondering hows the dialplan configuration for every server of 3 server load balancing overflow setup.

below is for two servers, how could it be if you have 3 asterisk servers. Any thoughts will be appreciated.

SERVER ONE(ASTtest1-10.10.10.15)
extensions.conf:
[globals]
TRUNKIAX2=IAX2/ASTtest1:test@10.10.10.16

[default]
exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX,2,Hangup
exten => _010*010*010*015*8600XXX,1,Goto(default,${EXTEN:16},1)

exten => _010*010*010*016*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _010*010*010*015*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

SERVER TWO(ASTtest2-10.10.10.16)
extensions.conf:
[globals]
TRUNKIAX1=IAX2/ASTtest2:test@10.10.10.15

[default]
exten => _010*010*010*015*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _010*010*010*015*8600XXX,2,Hangup
exten => _010*010*010*016*8600XXX,1,Goto(default,${EXTEN:16},1)

exten => _010*010*010*015*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
bulcrack
 
Posts: 24
Joined: Sat Jun 10, 2006 11:01 am
Location: Philippines

Postby mxtreme311 » Tue Mar 27, 2007 1:41 pm

SERVER ONE (ASTtest1-10.10.10.15)
extensions.conf:
[globals]
TRUNKIAX2=IAX2/ASTtest1:test@10.10.10.16
TRUNKIAX3=IAX2/ASTtest1:test@10.10.10.17

[default]
exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX,2,Hangup
exten => _010*010*010*017*8600XXX,1,Dial(${TRUNKIAX3}/${EXTEN:16},55,o)
exten => _010*010*010*017*8600XXX,2,Hangup

SERVER TWO (ASTtest1-10.10.10.16)
extensions.conf:
[globals]
TRUNKIAX1=IAX2/ASTtest2:test@10.10.10.15
TRUNKIAX3=IAX2/ASTtest2:test@10.10.10.17

[default]
exten => _010*010*010*015*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _010*010*010*015*8600XXX,2,Hangup
exten => _010*010*010*017*8600XXX,1,Dial(${TRUNKIAX3}/${EXTEN:16},55,o)
exten => _010*010*010*017*8600XXX,2,Hangup

SERVER THREE (ASTtest3-10.10.10.17)
extensions.conf:
[globals]
TRUNKIAX1=IAX2/ASTtest3:test@10.10.10.15
TRUNKIAX2=IAX2/ASTtest3:test@10.10.10.16

[default]
exten => _010*010*010*015*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _010*010*010*015*8600XXX,2,Hangup
exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX,2,Hangup
mxtreme311
 
Posts: 93
Joined: Thu Jun 29, 2006 11:49 am

Postby bulcrack » Tue Mar 27, 2007 3:46 pm

no more like this?


exten => _010*010*010*015*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
bulcrack
 
Posts: 24
Joined: Sat Jun 10, 2006 11:01 am
Location: Philippines

Postby mxtreme311 » Wed Mar 28, 2007 1:14 am

Yes you'll need this entry on every server as well.

exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
mxtreme311
 
Posts: 93
Joined: Thu Jun 29, 2006 11:49 am

Postby bulcrack » Wed Mar 28, 2007 6:39 am

Have you tried to setup and Agent-only and Dialout servers?
bulcrack
 
Posts: 24
Joined: Sat Jun 10, 2006 11:01 am
Location: Philippines

Postby mflorell » Wed Mar 28, 2007 4:38 pm

I am beginning to wonder why I put that "Hangup" step in the instructions, I will have to look into that.

I have setup dialing-only and agent only, it works just fine, but I would recommend using current SVN code or waiting for 2.0.3 because I have fixed several issues with it recently.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mflorell » Thu Mar 29, 2007 9:19 am

I have updated the LOAD_BALANCING.txt doc in SVN to have 3-server load balancing conf examples.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 73 guests