Page 1 of 1

Manual Dial works but how to do predictive

PostPosted: Sun Jan 25, 2009 6:00 pm
by john_usc
I set up the vicidial now and the crazy thing is that when I choose manual dial from the campaign list, I can manually click dial next number and it works fine but when I choose autodialing feature from the admin section in campaigns it rings my phone but my agents do not see any information about lead and it hangs up in 4 seconds. What could I be doing wrong. Thanks in advance

PostPosted: Sun Jan 25, 2009 6:27 pm
by john_usc
I choose
Dial Method : ADAPT_TAPERED
Auto Dial Level: 1.000
Drop percentage 3%

concurrent transfer: Auto


my system works for Manual and shows all the info to gaent about a lead. But when I try to do predictive, it neither shows the info plus when the call is connected, it drops after 4 seconds of connection automatically and I can not hear anything.
Can someone help please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

PostPosted: Sun Jan 25, 2009 8:31 pm
by john_usc
I tried this exten => 8365,1,Playback(sip-silence)
i.e;

;#### VDAD STANDARD TRANSFER ENTRIES ####
; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
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,5,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,6,Hangup



And it made the first call and it worked fine for the first call. but then other calls had the same problem.
Here is the log

XXXXXXXXXXXXX


Asterisk 1.2.27, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.27 currently running on vici (pid = 2319)
Verbosity is at least 21
-- Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
> Channel SIP/cc130-08aa4408 was answered.
-- Executing MeetMe("SIP/cc130-08aa4408", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/917203331234@default-af39,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/917203331234@default-af39,2", "SIP/SIPtrunk/1720333 4762||To") in new stack
-- Called SIPtrunk/17203331234
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/917203331234 @default-af39,2
-- SIP/SIPtrunk-08b02928 is ringing
== Refreshing DNS lookups.
-- SIP/SIPtrunk-08b02928 answered Local/917203331234@default-af39,2
> Channel Local/917203331234@default-af39,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/917203331234@default-af39,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/917203331234@default-af39,1", "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 AGI("Local/917203331234@default-af39,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 917203331234, 2) exited non-zero on 'Local/917203 334762@default-af39,2'
-- Executing DeadAGI("Local/917203331234@default-af39,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----15-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----15-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/SIPtrunk-08b02928", "8600051|F") in new stack
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/SIPtrunk-08b0 2928'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/913031231234@default-b635,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/913031231234@default-b635,2", "SIP/SIPtrunk/1720333 4828||To") in new stack
-- Called SIPtrunk/13031231234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is ringing
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/913031231234 @default-b635,2
-- SIP/SIPtrunk-08b02928 answered Local/913031231234@default-b635,2
> Channel Local/913031231234@default-b635,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/913031231234@default-b635,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/913031231234@default-b635,1", "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 AGI("Local/913031231234@default-b635,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 913031231234, 2) exited non-zero on 'Local/917203 334828@default-b635,2'
-- Executing DeadAGI("Local/913031231234@default-b635,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----13-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w 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
== Spawn extension (default, 8365, 5) exited non-zero on 'SIP/SIPtrunk-08b0292 8'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/917203331234@default-3350,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/917203331234@default-3350,2", "SIP/SIPtrunk/1720333 4762||To") in new stack
-- Called SIPtrunk/17203331234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/917203331234 @default-3350,2
-- SIP/SIPtrunk-08b02928 is ringing
-- SIP/SIPtrunk-08b02928 answered Local/917203331234@default-3350,2
> Channel Local/917203331234@default-3350,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/917203331234@default-3350,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/917203331234@default-3350,1", "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 AGI("Local/917203331234@default-3350,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 917203331234, 2) exited non-zero on 'Local/917203 334762@default-3350,2'
-- Executing DeadAGI("Local/917203331234@default-3350,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----14-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----14-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w 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
== Spawn extension (default, 8365, 5) exited non-zero on 'SIP/SIPtrunk-08b0292 8'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/913031231234@default-968b,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/913031231234@default-968b,2", "SIP/SIPtrunk/1720333 4828||To") in new stack
-- Called SIPtrunk/13031231234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/913031231234 @default-968b,2
-- SIP/SIPtrunk-08b02928 is ringing
vici*CLI>

PostPosted: Mon Jan 26, 2009 9:36 am
by mflorell
please enable server logging and post some output of the agiout logfile for those calls.

PostPosted: Mon Jan 26, 2009 2:00 pm
by john_usc
I don't see that file. How do I enable logging.
Thanks

PostPosted: Mon Jan 26, 2009 6:42 pm
by williamconley
Admin -> Servers -> (choose your server)

Near the bottom is:

System Performance - Setting this option to Y will enable logging of system performance stats for the server machine including system load, system processes and Asterisk channels in use. Default is N.

Server Logs - Setting this option to Y will enable logging of all VICIDIAL related scripts to their text log files. Setting this to N will stop writing logs to files for these processes, also the screen logging of asterisk will be disabled if this is set to N when Asterisk is started. Default is Y.

AGI Output - Setting this option to NONE will disable output from all VICIDIAL related AGI scripts. Setting this to STDERR will send the AGI output to the Asterisk CLI. Setting this to FILE will send the output to a file in the logs directory. Setting this to BOTH will send output to both the Asterisk CLI and a log file. Default is FILE.