We're running ViciDial Version 2.0.X on Asterisk 1.4 on CentOS 5. We are using the auto-dialer for an Outbound campaign. We have configured Agents, and AMD for Voicemail Detection. The Autodialer dials successfully and recognizes either a human or a machine, then it drops the call. Below is a screen-capture from the Asterisk CLI:
-- Executing [8369@default:4] AGI("SIP/216.82.224.202-17f8bea0",
"VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
== Spawn extension (default, 8369, 4) exited non-zero on
'SIP/216.82.224.202-17f8bea0'
After some digging, I was able to find the /var/log/astguiclient/agiout.2008-01-13 log file which contained the following information:
2008-01-13 16:06:33|VD_amd.agi|Perl Environment Dump:
2008-01-13 16:06:33|VD_amd.agi|0|8369
2008-01-13 16:06:33|VD_amd.agi|AGI Environment Dump:
2008-01-13 16:06:33|VD_amd.agi| -- accountcode =
2008-01-13 16:06:33|VD_amd.agi| -- callerid = 14025800999
2008-01-13 16:06:33|VD_amd.agi| -- calleridname = unknown
2008-01-13 16:06:33|VD_amd.agi| -- callingani2 = 0
2008-01-13 16:06:33|VD_amd.agi| -- callingpres = 0
2008-01-13 16:06:33|VD_amd.agi| -- callingtns = 0
2008-01-13 16:06:33|VD_amd.agi| -- callington = 0
2008-01-13 16:06:33|VD_amd.agi| -- channel = SIP/216.82.224.202-17f75470
2008-01-13 16:06:33|VD_amd.agi| -- context = default
2008-01-13 16:06:33|VD_amd.agi| -- dnid = unknown
2008-01-13 16:06:33|VD_amd.agi| -- enhanced = 0.0
2008-01-13 16:06:33|VD_amd.agi| -- extension = 8369
2008-01-13 16:06:33|VD_amd.agi| -- language = en
2008-01-13 16:06:33|VD_amd.agi| -- priority = 4
2008-01-13 16:06:33|VD_amd.agi| -- rdnis = unknown
2008-01-13 16:06:33|VD_amd.agi| -- request = VD_amd.agi
2008-01-13 16:06:33|VD_amd.agi| -- type = SIP
2008-01-13 16:06:33|VD_amd.agi| -- uniqueid = 1200261971.309
2008-01-13 16:06:33|VD_amd.agi|AGI Variables: |1200261971.309|SIP/216.82.224.202-17f75470|8369|SIP|14025800999|
2008-01-13 16:06:33|VD_amd.agi|+++++ VD amd START : |0|2008-01-13 16:06:33||4|unknown|
2008-01-13 16:06:33|VD_amd.agi|AAAAA AMD results: |MACHINE|INITIALSILENCE-3500-3500|
2008-01-13 16:06:33|VD_amd.agi||SELECT ext_context FROM servers where server_ip = '192.168.51.10';|
2008-01-13 16:06:33|VD_amd.agi||SELECT campaign_id,phone_code,phone_number FROM vicidial_auto_calls where callerid='14025800999' order by auto_call_id desc limit 1;|
2008-01-13 16:06:33|VD_amd.agi||UPDATE vicidial_list set status='A' where lead_id = '0';|
2008-01-13 16:06:33|VD_amd.agi|-- VDAD vicidial_list update: |0E0|0
2008-01-13 16:06:33|VD_amd.agi|-- VDAC record deleted: |0E0| |0|1200261971.309|
2008-01-13 16:06:33|VD_amd.agi||SELECT start_epoch FROM vicidial_log where uniqueid='1200261971.309' and lead_id='0' order by call_date desc limit 1;|
2008-01-13 16:06:33|VD_amd.agi|no VDL record found: 1200261971.309 unknown 0 1200261971.309
2008-01-13 16:06:33|VD_amd.agi||INSERT INTO vicidial_log (uniqueid,lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed,length_in_sec,end_epoch) values('1200261971.309','0','','2008-01-13 16:06:33','1200261993','A','','','VDAD','N','3','1200261996')|
2008-01-13 16:06:33|VD_amd.agi||SELECT am_message_eughxten,amd_send_to_vmx FROM vicidial_campaigns where campaign_id = '';|
2008-01-13 16:06:33|VD_amd.agi|-- AMD campaign values: ||||
It appears as though VD_amd can't find the necessary information about the campaign in order to determine where to pass the call to. As indicated by the NO VDL Record Found. What does this mean, and what can we do to fix it?
Thank you in advance for any help you can provide!
Joe Dennick