Page 1 of 1

problem in loadbalancing in vicidial

PostPosted: Wed Feb 07, 2007 1:14 pm
by asterisk_at_my_risk
hello

firstly i want to know whether it is possible to run 2 asterisk server without loadbalancing

i am having a setup of three servers

1 database/astguiclient
2 asterisk/vicidial
3 asterisk/vicidial

whenever i am running the 3rs server my load balacing is failing
i am having this error
****************************************************
AMD: HUMAN: silenceDuration:300 afterGreetingSilence:300
-- Executing AGI("SIP/SIPTRUNK-081eb308", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/SIPTRUNK-081eb308", "agi-VDAD_LB_transfer.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_transfer.agi
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Sent into invalid extension '059*144*165*105*8600051' in context 'default' on SIP/SIPTRUNK
-- Executing Playback("SIP/SIPTRUNK-081eb308", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Feb 7 23:30:20 NOTICE[2035]: chan_sip.c:5473 sip_reg_timeout: -- Registration for '203.122.26
-- Got SIP response 423 "Interval too brief" back from 209.189.127.36
-- Timeout on SIP/SIPTRUNK-081eb308
== CDR updated on SIP/SIPTRUNK-081eb308
-- Executing Goto("SIP/SIPTRUNK-081eb308", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("SIP/SIPTRUNK-081eb308", "invalid") in new stack
-- Playing 'invalid' (language 'en')
**********************************************************

details are

asterisk 1.2.14
astguiclient 2.0.1
linux distro fedora core 4
kernel as per scratch install

thanks in advance

PostPosted: Wed Feb 07, 2007 3:32 pm
by mflorell
You can run two VICIDIAL servers separately on the same system, just make sure you use 8365 for your VDAD exten and do not run the AST_VDauto_dial_FILL.pl script.

As for your problem, do you have these entries in your default context on your server?


exten => _059*144*165*105*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _059*144*165*105*8600XXX,2,Hangup

Where TRUNKIAX2 is the IAX registered global variable for 59.144.165.105?

spot on

PostPosted: Thu Feb 08, 2007 7:56 am
by asterisk_at_my_risk
thanks this was the exact problem it was with extensions entries
and i will try that and will get bact to you with result

Thanks again for your help