I'm getting this problem doing the load balancing between 2 asterisk servers and 1 mysql server. I have 2 asterisk servers (ast210 and ast211) sharing 1 database (mysql200). The first problem I'm getting is when I login to ast211 (
http://ast211/agc/vicidia.php), instead of hearing "You're the only person in this conference", I get this "That is not a valid extension. Please try again". Second error I'm getting is, when I got to
http://ast211/agc/astguiclient.php and try to login, it doesn't allow me to. The page doesn't even change. No error message. Nothing at all.
This is my iax.conf in ast211:
bindport=4569
iaxcompat=yes
bandwidth=high
allow=all
allow=alaw
allow=ulaw
allow=gsm ; Always allow GSM, it's cool
jitterbuffer=no
tos=lowdelay
register => ASTtest1:test@192.168.15.210:4569 ;connect to 2nd asterisk server
[ASTtest2]
type=friend
accountcode=IAXtrunk2
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=test
disallow=all
allow=ulaw
qualify=yes
On ast210, I have this in iax.conf:
[general]
bindport=4569
iaxcompat=yes
bandwidth=high
allow=all
allow=alaw
allow=ulaw
allow=gsm ; Always allow GSM, it's cool
jitterbuffer=no
tos=lowdelay
register => ASTtest2:test@192.168.15.211:4569 ;connect to 1st asterisk server
[ASTtest1]
type=friend
accountcode=IAXtrunk1
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=test
disallow=all
allow=ulaw
qualify=yes
I also put this entries to extensions.conf in ast211:
; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup
; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup
The VDAD exten on my campaign is 8365. I tried changing it to 8367 and 8368 but I'm still hearing the same message on my softphone.
My dbconnect.php files already point to mysql200.