ViciDial auto-dialer dies trying to transfer call to agent

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ViciDial auto-dialer dies trying to transfer call to agent

Postby jdennick » Tue Jan 15, 2008 4:37 pm

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
jdennick
 
Posts: 2
Joined: Tue Jan 15, 2008 4:20 pm

Problem with Conference

Postby krishsam » Tue Jan 15, 2008 5:34 pm

I think problem is with your meetme.conf or extensions.conf
krishsam
 
Posts: 12
Joined: Fri Jun 15, 2007 2:53 pm

Postby jdennick » Tue Jan 15, 2008 6:55 pm

Can you be a little more specific?
jdennick
 
Posts: 2
Joined: Tue Jan 15, 2008 4:20 pm

Postby mcargile » Wed Jan 16, 2008 1:25 pm

The part that is interesting is:
Code: Select all
SELECT am_message_eughxten,amd_send_to_vmx FROM vicidial_campaigns where campaign_id = '';


Notice that campaign_id is not equal to anything. The real issue comes from this SQL:
Code: Select all
SELECT campaign_id,phone_code,phone_number FROM vicidial_auto_calls where callerid='14025800999' order by auto_call_id desc limit 1;


This is not returning any values. The reason is that when the call was placed the calls parameters were not place into vicidial_auto_calls table. This is most likely because the Fast AGI script is not being correctly called during the initial dialing phase. Please verify that you have something similar to this in your extensions.conf:
Code: Select all
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,tTo)
exten => _91NXXNXXXXXX,3,Hangup


This is an example for dialing within the United States. The call to that AGI script has to be before any outbound Dial commands. I had one customer who had this problem and it turn out to just be a typo in the extension number.

The other option as to what is wrong is that the Fast_AGI script is not running correctly.

If this does not help you to get it to work please post your extensions.conf file as well as the output of:
Code: Select all
screen -ls
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Postby mcargile » Thu Jan 17, 2008 9:35 am

Is there any reason you are using 1.4 asterisk?

It is not recommended to use 1.4 asterisk with VICIDIAL. 1.4 does not stand up well to the type of use that VICIDIAL puts on it. It tends to use 1/3 more load than 1.2 which translates into less agents. It also has a tendency to crash after about 4 hours of use.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 131 guests