Set up an auto-dial campaign to dial without any live agents

All installation and configuration problems and questions

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

Set up an auto-dial campaign to dial without any live agents

Postby asteriskvairam » Fri Mar 20, 2009 3:29 am

Hello Friends,

I have done auto playback message without live agents.Its went well.There is a problem in playback message method.

Suppose the message should play after pickup the phone.
Not happening here, before pickup the phone message stared to playing, it is not identifying, whether number is available, busy or ringing. i have followed VICIDIAL Manual.

Whatever number in dial hopper, its dialing.But not getting good result.

Could you tell me how to setup message play back after pickup the phone.

Vicidail version - VERSION: 2.0.4-122

Asterisk version - 1.4.21.2


LOG Information:



Executing [99820242303@default:1] Dial("Local/99820242303@default-c300,2", "Zap/g1/9820242303||tTo") in new stack
-- Called g1/9820242303
-- Zap/3-1 answered Local/99820242303@default-c300,2
> Channel Local/99820242303@default-c300,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing [8369@default:1] AGI("Local/99820242303@default-c300,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 [8369@default:2] AMD("Local/99820242303@default-c300,1", "3500|1500|300|5000|120|50|5|256") in new stack
-- AMD: Local/99820242303@default-c300,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence [300] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [5] silenceThreshold [256]
== Spawn extension (default, 99820242303, 1) exited non-zero on 'Local/99820242303@default-c300,2'
-- Executing [h@default:1] DeadAGI("Local/99820242303@default-c300,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----3-----0)") in new stack
-- AMD: Changed state to STATE_IN_SILENCE
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---3-----0) completed, returning 0
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: Word detected. iWordsCount:2
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:300 afterGreetingSilence:300
-- Executing [8369@default:3] AGI("Zap/3-1", "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 [8369@default:4] AGI("Zap/3-1", "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
-- Executing [8320@default:1] WaitForSilence("Zap/3-1", "500|2") in new stack
-- Waiting 2 time(s) for 500 ms silence with 0 timeout
-- Got 20ms silence< 500ms required
-- Got 40ms silence< 500ms required
-- Got 60ms silence< 500ms required
-- Got 80ms silence< 500ms required
-- Got 100ms silence< 500ms required
-- Got 120ms silence< 500ms required
-- Got 140ms silence< 500ms required
-- Got 160ms silence< 500ms required
-- Got 180ms silence< 500ms required
-- Got 200ms silence< 500ms required
-- Got 220ms silence< 500ms required
-- Got 240ms silence< 500ms required
-- Got 260ms silence< 500ms required
-- Got 280ms silence< 500ms required
-- Got 300ms silence< 500ms required
-- Got 320ms silence< 500ms required
-- Got 340ms silence< 500ms required
-- Got 360ms silence< 500ms required
-- Got 380ms silence< 500ms required
-- Got 400ms silence< 500ms required
-- Got 420ms silence< 500ms required
-- Got 440ms silence< 500ms required
-- Got 460ms silence< 500ms required
-- Got 480ms silence< 500ms required
-- Got 500ms silence< 500ms required
-- Exiting with 500ms silence >= 500ms required
-- Got 20ms silence< 500ms required
-- Got 40ms silence< 500ms required
-- Got 60ms silence< 500ms required
-- Got 80ms silence< 500ms required
-- Got 100ms silence< 500ms required
-- Got 120ms silence< 500ms required
-- Got 140ms silence< 500ms required
-- Got 160ms silence< 500ms required
-- Got 180ms silence< 500ms required
-- Got 200ms silence< 500ms required
-- Got 220ms silence< 500ms required
-- Got 240ms silence< 500ms required
-- Got 260ms silence< 500ms required
-- Got 280ms silence< 500ms required
-- Got 300ms silence< 500ms required
-- Got 320ms silence< 500ms required
-- Got 340ms silence< 500ms required
-- Got 360ms silence< 500ms required
-- Got 380ms silence< 500ms required
-- Got 400ms silence< 500ms required
-- Got 420ms silence< 500ms required
-- Got 440ms silence< 500ms required
-- Got 460ms silence< 500ms required
-- Got 480ms silence< 500ms required
-- Got 500ms silence< 500ms required
-- Exiting with 500ms silence >= 500ms required
-- Executing [8320@default:2] Playback("Zap/3-1", "85100019") in new stack
-- <Zap/3-1> Playing '85100019' (language 'en')
-- Executing [8320@default:3] AGI("Zap/3-1", "VD_amd_post.agi|8320") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd_post.agi
-- AGI Script VD_amd_post.agi completed, returning 0
-- Executing [8320@default:4] Hangup("Zap/3-1", "") in new stack
== Spawn extension (default, 8320, 4) exited non-zero on 'Zap/3-1'
-- Executing [h@default:1] DeadAGI("Zap/3-1", "a
asteriskvairam
 
Posts: 33
Joined: Thu Feb 19, 2009 4:32 am

Postby mflorell » Fri Mar 20, 2009 3:48 am

You are going to have to post some output from the agiout.2009XXXX logfile output for this call.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby asteriskvairam » Fri Mar 20, 2009 3:53 am

Here is the AGI LOG Out

2009-03-20 14:05:13|VD_amd.agi|Perl Environment Dump:
2009-03-20 14:05:13|VD_amd.agi|0|8369
2009-03-20 14:05:13|VD_amd.agi|AGI Environment Dump:
2009-03-20 14:05:13|VD_amd.agi| -- accountcode =
2009-03-20 14:05:13|VD_amd.agi| -- callerid = 0000000000
2009-03-20 14:05:13|VD_amd.agi| -- calleridname = V0320140506000000110
2009-03-20 14:05:13|VD_amd.agi| -- callingani2 = 0
2009-03-20 14:05:13|VD_amd.agi| -- callingpres = 0
2009-03-20 14:05:13|VD_amd.agi| -- callingtns = 0
2009-03-20 14:05:13|VD_amd.agi| -- callington = 0
2009-03-20 14:05:13|VD_amd.agi| -- channel = Zap/3-1
2009-03-20 14:05:13|VD_amd.agi| -- context = default
2009-03-20 14:05:13|VD_amd.agi| -- dnid = unknown
2009-03-20 14:05:13|VD_amd.agi| -- enhanced = 0.0
2009-03-20 14:05:13|VD_amd.agi| -- extension = 8369
2009-03-20 14:05:13|VD_amd.agi| -- language = en
2009-03-20 14:05:13|VD_amd.agi| -- priority = 3
2009-03-20 14:05:13|VD_amd.agi| -- rdnis = unknown
2009-03-20 14:05:13|VD_amd.agi| -- request = VD_amd.agi
2009-03-20 14:05:13|VD_amd.agi| -- type = Zap
2009-03-20 14:05:13|VD_amd.agi| -- uniqueid = 1237538106.121
2009-03-20 14:05:13|VD_amd.agi|AGI Variables: |1237538106.121|Zap/3-1|8369|Zap|V0320140506000000110|
2009-03-20 14:05:13|VD_amd.agi|+++++ VD amd START : |110|2009-03-20 14:05:13||3|V0320140506000000110|
2009-03-20 14:05:13|VD_amd.agi|AAAAA AMD results: |HUMAN|HUMAN-300-300|
2009-03-20 14:05:13|VD_amd.agi| AMD exiting
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|Perl Environment Dump:
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|0|8369
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|callerID changed: V0320140506000000110
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|AGI Environment Dump:
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- accountcode =
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- callerid = 0000000000
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- calleridname = V0320140506000000110
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- callingani2 = 0
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- callingpres = 0
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- callingtns = 0
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- callington = 0
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- channel = Zap/3-1
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- context = default
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- dnid = unknown
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- enhanced = 0.0
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- extension = 8369
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- language = en
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- priority = 4
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- rdnis = unknown
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- request = agi-VDAD_LB_transfer.agi
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- type = Zap
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi| -- uniqueid = 1237538106.121
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|AGI Variables: |1237538106.121|Zap/3-1|8369|Zap|V0320140506000000110|V0320140506000000110|4|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|+++++ VDAD START : |110|2009-03-20 14:05:13|1.2.17|4|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||SELECT count(*) FROM vicidial_live_agents where callerid='V0320140506000000110';|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||SELECT count(*) FROM vicidial_auto_calls where callerid='V0320140506000000110' and status IN('LIVE','XFER');|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|-- VDAD : |1|update of vac table: V0320140506000000110
|UPDATE vicidial_auto_calls set uniqueid='1237538106.121', channel='Zap/3-1',status='LIVE',stage='LIVE-0' where callerid='V0320140506000000110' order by call_time desc limit 1;|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||INSERT INTO vicidial_log (uniqueid,lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('1237538106.121','110','Test','2009-03-20 14:05:13','1237538113','QUEUE','','9820242303','VDAD','N')|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|-- VDAD : |110|110|insert to vicidial_log: 1237538106.121
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = 'Test' and call_time < "2009-03-20 14:05:06" and lead_id != '110';|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||SELECT count(*) FROM vicidial_live_agents where campaign_id = 'Test' and last_update_time > '20090320140508';|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||CONCURRENT TRANSFERS AUTO SETTING: 1 (1)|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|-- VDAD get agent: |1|update of vla table: Test|192.168.1.10
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='110',uniqueid='1237538106.121', channel='Zap/3-1', call_server_ip='192.168.1.10', callerid='V0320140506000000110' where status = 'READY' and campaign_id='Test' and last_update_time > '20090320140508' order by last_call_finish limit 1;|2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status IN('QUEUE','INCALL') and campaign_id='Test' and callerid='V0320140506000000110' and channel='Zap/3-1' order by last_call_time limit 1;|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|-- VDAD XFER : |1|update of vac table: V0320140506000000110
|UPDATE vicidial_auto_calls set status='XFER', stage='XFER-0' where callerid='V0320140506000000110';|
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|exiting the VDAD app, transferring call to 8320
2009-03-20 14:05:13|agi-VDAD_LB_transfer.agi|XXXXXXXXXX VDAD transferred: start|stop 2009-03-20 14:05:13|2009-03-20 14:05:13
2009-03-20 14:05:28|VD_amd_post.agi|Perl Environment Dump:
2009-03-20 14:05:28|VD_amd_post.agi|0|8320
2009-03-20 14:05:28|VD_amd_post.agi|AGI Environment Dump:
2009-03-20 14:05:28|VD_amd_post.agi| -- accountcode =
2009-03-20 14:05:28|VD_amd_post.agi| -- callerid = unknown
2009-03-20 14:05:28|VD_amd_post.agi| -- calleridname = V0320140506000000110
2009-03-20 14:05:28|VD_amd_post.agi| -- callingani2 = 0
2009-03-20 14:05:28|VD_amd_post.agi| -- callingpres = 0
2009-03-20 14:05:28|VD_amd_post.agi| -- callingtns = 0
2009-03-20 14:05:28|VD_amd_post.agi| -- callington = 0
2009-03-20 14:05:28|VD_amd_post.agi| -- channel = Zap/3-1
2009-03-20 14:05:28|VD_amd_post.agi| -- context = default
2009-03-20 14:05:28|VD_amd_post.agi| -- dnid = unknown
2009-03-20 14:05:28|VD_amd_post.agi| -- enhanced = 0.0
2009-03-20 14:05:28|VD_amd_post.agi| -- extension = 8320
2009-03-20 14:05:28|VD_amd_post.agi| -- language = en2009-03-20 14:05:28|VD_amd_post.agi| -- priority = 3
2009-03-20 14:05:28|VD_amd_post.agi| -- rdnis = unknown
2009-03-20 14:05:28|VD_amd_post.agi| -- request = VD_amd_post.agi2009-03-20 14:05:28|VD_amd_post.agi| -- type = Zap
2009-03-20 14:05:28|VD_amd_post.agi| -- uniqueid = 1237538106.1212009-03-20 14:05:28|VD_amd_post.agi|AGI Variables: |1237538106.121|Zap/3-1|8320|Zap|V0320140506000000110|V0320140506000000110|3|
2009-03-20 14:05:28|VD_amd_post.agi|+++++ VD amd START: |110|2009-03-20 14:05:28||
2009-03-20 14:05:28|VD_amd_post.agi||UPDATE vicidial_log set status='AL' where lead_id='110' order by call_date desc limit 1;|2009-03-20 14:05:28|VD_amd_post.agi|-- VDAD vicidial_log AL update: |1|1237538106.121|
2009-03-20 14:05:28|VD_amd_post.agi||UPDATE vicidial_list set status='AL' where lead_id='110';|2009-03-20 14:05:28|VD_amd_post.agi|-- VDAD vicidial_list AL update: |1|1237538106.121|
~
asteriskvairam
 
Posts: 33
Joined: Thu Feb 19, 2009 4:32 am

Postby mflorell » Fri Mar 20, 2009 4:24 am

Well, it shows that it's playing the message(85100019) and updating the status in the system:

UPDATE vicidial_log set status='AL' where lead_id='110' order by call_date desc limit 1;


Nothing appears to be wrong with the output of Asterisk or the logs in VICIDIAL. Is the audio not playing?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby asteriskvairam » Fri Mar 20, 2009 4:30 am

Yes i can listen playback message.Could you tell me whether it is possible in VICIDIAL application?
Is there any function to detect the phone is answered(customer pickup the phone), then message will play.
asteriskvairam
 
Posts: 33
Joined: Thu Feb 19, 2009 4:32 am

Postby mflorell » Fri Mar 20, 2009 6:28 am

You're system already appears to be doing that, what exactly is the problem that you are having?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby asteriskvairam » Fri Mar 20, 2009 7:35 am

What i am facing the problem is, If the customer not pick up the phone, message is playing after few minutes.I wants to setup message should be play after pickup the phone.
asteriskvairam
 
Posts: 33
Joined: Thu Feb 19, 2009 4:32 am

Postby williamconley » Fri Mar 20, 2009 10:10 am

put your own number in the system. have it call you. does it wait until you pick up the phone to play the message?

did you modify the extensions.conf file for the outbound call in any way (or are you using the standard, correct, dial plan)? (like removing an beeps ...)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 261 guests