Page 1 of 1
Playing Long Sound File for Prospect and Xfer to Verifier
Posted:
Thu Mar 03, 2011 12:33 pm
by RobertAZ
We want to play a long sound file (6 min) for our prospects without hanging up and monitor the call to know when it is finished. Then, we want to talk with the prospect briefly and then transfer the call to an external number (a deal Verifier).
javascript:emoticon(':?:') 1st of all, is it best to use the Park Call function to play the sound file (currently we're using extension 8301 - the default) as where to send the call on Park? We added a soundfile to the Audio Store and pointed 8301 (using Application Playback) to the soundfile in extensions.conf. The Park Call button lights and switches to Grab Parked Call but the file doesn't play...
javascript:emoticon(':?:') From the Manager's manual, I gather that we need to define the external number as a remote agent and define them as a member of an In-Group, and allow the campaign to be blended inbound/out bound? Or is there a better way?
----------------------------------------------
GoAutoDial CE 2.2.1.1-260 BUILD: 100527-2211
ViciDial Version:2.2.1-237 BUILD: 100510-2015
Asterisk 1.4.27.1-vici
Kernel:Linux 2.6.18-194.8.1.el5.goPAE
OS: CentOS release 5.5 (Final)
E-Phone (IAX2) on local client
SIP Carrier: NexVortex
No Sangoma or Digium cards
Posted:
Thu Mar 03, 2011 12:45 pm
by RobertAZ
Here is the change we made to the extensions.conf -
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(winstart) javascript:emoticon(':roll:')
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup
; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup
exten => 8304,1,Answer
exten => 8304,2,Playback(ding)
exten => 8304,3,Hangup
Thanks, Robert
----------------------------------------------
GoAutoDial CE 2.2.1.1-260 BUILD: 100527-2211
ViciDial Version:2.2.1-237 BUILD: 100510-2015
Asterisk 1.4.27.1-vici
Kernel:Linux 2.6.18-194.8.1.el5.goPAE
OS: CentOS release 5.5 (Final)
E-Phone (IAX2) on local client
SIP Carrier: NexVortex
No Sangoma or Digium cards
Posted:
Thu Mar 03, 2011 2:33 pm
by williamconley
create an extension that plays the recording and then transfers to the agentdirect ingroup (to get the client back to the same agent) or just "any" ingroup.
the method for playback is an asterisk function
upon completion, you can use special codes to have the call sent to a specific ingroup (the coding for this is in the ingroup agi and samples are in the extensions.conf file if i recall).
alternately, you could consider sending the call to a "closer" group and have the closer group be a "Survey" campaign, which should mimic this functionality fairly well.
Continuing Our Soundfile Playback Trials...
Posted:
Thu Mar 03, 2011 2:58 pm
by RobertAZ
OK, we've been successful at playing back the sound file ( we did have to convert to GSM to get Asterisk to play it back). But now our problem is getting the extensions logic to return from 8301 back to the calling extension; we haven't found an Asterisk variable that we can use to transfer the call back to the agent....any suggestions?
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(winstart8K)
exten => 8301,4,GoTo(default,${CHANNEL},1)
;exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup
Thanks, Robert
----------------------------------------------
GoAutoDial CE 2.2.1.1-260 BUILD: 100527-2211
ViciDial Version:2.2.1-237 BUILD: 100510-2015
Asterisk 1.4.27.1-vici
Kernel:Linux 2.6.18-194.8.1.el5.goPAE
OS: CentOS release 5.5 (Final)
E-Phone (IAX2) on local client
SIP Carrier: NexVortex
No Sangoma or Digium cards
Posted:
Thu Mar 03, 2011 8:48 pm
by williamconley
that's not going to be an "asterisk variable", that's going to be a vicidial agi script with the appropriate data in it. look at how you invoke an inbound call in extensions.conf with hard-coding or see if you can just generate an inbound call in the trunkinbound context.
OR use a closer campaign with a survey to keep it all inside vicidial in the first place (and have the client press 1 at the end of the call to get transfered to an agent, which is what the survey is built for in the first place)