Page 1 of 1

Calls on going at the asterisk CLI but not in vicidial

PostPosted: Thu Oct 02, 2008 9:32 pm
by sirkc
I installed a fresh copy of vicidial.. configured the sip from the voip provider and loaded the leads and so far so good.. but, one problem, when an agent logged in at vicidial gui, xlite rings and if its accepted, then click on resume, no calls are coming.. but i checked the asterisk cli itself, its dialing calls.

my leads are just 10digits numbers. my provider required me to place a call with a country code. so i disabled the prefix but the only number dialing is the 10digit num. of course it wont get through. so i added a prefix by placing 1 on the dial prefix, its dialing from the asterisk cli automatically but not ringing on the agents vicidial.

am i missing something?

thanks guys!

PostPosted: Thu Oct 02, 2008 9:55 pm
by Op3r
can you post your dialplan?

PostPosted: Thu Oct 02, 2008 9:57 pm
by sirkc
sorry, im not that familiar.. where can i copy it and post it here?

i also noticed that when i go to the monitoring system, the agent is logged in, and there is the server IP. but no call server IP. cant seem to find it too. :(

PostPosted: Fri Oct 03, 2008 12:24 am
by sirkc
anyone please?

PostPosted: Fri Oct 03, 2008 2:47 am
by mflorell
dialplan = extensions.conf

PostPosted: Sun Oct 05, 2008 9:32 pm
by sirkc
[default]

; BE SURE TO CHANGE THIS LINE FOR YOUR IP ADDRESS!
exten => _202*124*131*121*.,1,Goto(ext-local,202,1)
exten => _202*124*131*121*.,1,Goto(aa_1,s,1)
exten => _192*168*1*199*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)

exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(sip/${EXTEN}@OPENTONE1,55,o)
exten => _1NXXNXXXXXX,3,Hangup
;exten => _1NXXNXXXXXX,1,Dial(sip/${EXTEN}@AsiaPacific,55,o)
;exten => _1NXXNXXXXXX,2,Congestion
;exten => _1NXXNXXXXXX,103,Congestion
exten => _1NXXNXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _61NXXNXXXXX,2,Dial(sip/${EXTEN}@OPENTONE1,55,o)
exten => _61NXXNXXXXX,3,Hangup

PostPosted: Sun Oct 05, 2008 9:57 pm
by sirkc
the agent can login to the vici system.. but its not accepting any calls. its just idle... in the monitoring system, i noticed that the server ip has the correct ip for my system but the call server ip is blank.. cant trace it though..

but if you are looking at the asterisk cli, it shows that it is making calls.. but in vicidial, the agent is idle

anyone?

PostPosted: Mon Oct 06, 2008 12:12 am
by mflorell
Asterisk CLI output?

PostPosted: Mon Oct 06, 2008 12:29 am
by sirkc
here is the CLI output:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/12038403100@default-adaa,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/12038403100@default-adaa,2", "sip/12038403100@OPENTONE1|55|To") in new stack
-- Called 12038403100@OPENTONE1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/12037506200@default-51d5,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/12037506200@default-51d5,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/12037506200@default-51d5,1'
-- Executing DeadAGI("Local/12037506200@default-51d5,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 12037506200, 2) exited non-zero on 'Local/12037506200@default-51d5,2'
-- Executing DeadAGI("Local/12037506200@default-51d5,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----2") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---9-----2 completed, returning 0
-- SIP/OPENTONE1-08408278 is making progress passing it to Local/12038403100@default-adaa,2
-- SIP/OPENTONE1-08408278 answered Local/12038403100@default-adaa,2
> Channel Local/12038403100@default-adaa,1 was answered.
-- Executing AGI("Local/12038403100@default-adaa,1", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/12038403100@default-adaa,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/12038403100@default-adaa,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/12038662212@default-c6ad,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/12038662212@default-c6ad,2", "sip/12038662212@OPENTONE1|55|To") in new stack
-- Called 12038662212@OPENTONE1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/12038403100@default-adaa,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi

PostPosted: Mon Oct 06, 2008 7:13 am
by mflorell
Try using the sip-silence Playback on 8365 as shown in the example extensions.conf

PostPosted: Mon Oct 06, 2008 7:30 am
by sirkc
tried the sip-silence like this in my extensions.conf file:

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
;exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

still not working :(
am i missing something?

PostPosted: Mon Oct 06, 2008 3:05 pm
by mflorell
Post the agiout logfile output of a call after making that change

PostPosted: Tue Oct 07, 2008 8:41 am
by sirkc
its working now.. but the agents are idle for about an hour before they can receive calls.. any idea on this one? maybe my connection or the voip?

by the way, im using a dynamic internet connection.. this is my first time to setup predictive dialing in dynamic.. in a static ip, i dont experience any of these problems..

are there anyone here tried vicidial in a dynamically assigned internet connection?