Inbound Survey Help

All installation and configuration problems and questions

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

Inbound Survey Help

Postby chasejordan1 » Fri Oct 02, 2015 7:37 pm

I set up an inbound survey as follows.

DID -> Call Menu at the end of the survey if interested the person presses 1 which triggered log field so that when export the calls I know which ones are "leads" or not.

I do have the DID set to record the call.

The problem is when I export calls and select "Recording Location" nothing is there, so I am stuck with having to search the DID recording logs to find the appropriate recording.

Is there an easier way to set up an inbound survey so that the recording location will export.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Inbound Survey Help

Postby mflorell » Sat Oct 03, 2015 5:33 am

Since the DID recording begins before there is any kind of lead_id associated to the call there is really no way to 100% tie it back to the survey part of the call. What you can do is run the call through an in-group that is set to always closed(call time that is 000/000) then set after-hours to go to a call menu. That will give the call a lead_id and will take almost no time. Then in that first call menu you use the agi-NVA_recording AGI script to start the recording(and the recording will have the lead_id tied to it that it got from passing through the closed in-group, and again this will take almost no time), then pass the call on to your existing Call Menus and you should be good to go.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Inbound Survey Help

Postby chasejordan1 » Sat Oct 03, 2015 3:10 pm

Ok that sounds great but.....

I made a new call menu to handle the AGI recording etc. As follows...

Menu Prompt -> agi-NVA_recording.agi,BOTH------Y---Y---Y---Y

Menu Timout -> Route -> 1

Option -> TIMEOUT -> Next Call Menu

So when I call the DID it hits the in-group -> then after hours -> then "New Call Menu and then Next Call Menu and everything seems fine. Also I can see in CLI that the AGI script is working and it start the recording.

The problem is when I export calls and select "Recording Location" there is no Recording Location.

I must be missing something.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Inbound Survey Help

Postby mflorell » Sat Oct 03, 2015 6:00 pm

Well, the recording should be linked to the lead_id, but I haven't actually tried that exact setup with the Calls Export Report, so I can't guarantee that it will work. All of the information should be there, but it's possible that for some reason that report isn't finding those recordings.

One other option to try is to set the in-group to record and then have a Remote Agent that uses special extension that sends a call to a call menu, then the Remote Agent would be acting as the recording trigger and the Export Calls Report would find it that way.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Inbound Survey Help

Postby chasejordan1 » Sat Oct 03, 2015 10:53 pm

Ok we are getting closer, but, how do I send the call to the call menu?

My "remote agent" setup below.

exten => 0777,1,Answer()
exten => 0777,n,Playback(generic_hold)
exten => 0777,n,Wait(7)
exten => 0777,n,Goto(IvrIntro,${EXTEN},1) "IvrIntro" is the name of the call menu I want the call to go to but clearly I have it wrong.
exten => 0777,n,Hang

How do I send the call to the appropriate call menu "Goto"

Ugh
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Inbound Survey Help

Postby chasejordan1 » Sun Oct 04, 2015 1:14 am

Ok this worked but....

Quick run down of what I am doing.

DID is NOT being recorded, DID goes to "in-group" -> in-group is FORCE ALL for recording and in-group goes to call menu, in-group is also set up on an inbound campaign with remote agent -> remote agent "external extension" is set up as "0777"

exten => 0777,n,Answer()
exten => 0777,n,Playback(generic_hold)
exten => 0777,n,Wait(1)
exten => 0777,n,Playback(generic_hold)
exten => 0777,n,Wait(1)
exten => 0777,n,Goto(IvrIntro,s,1)
exten => 0777,n,Hangup

But when I export calls (which is the reason I am setting it up like this) the recording location is NOT shown in the spread sheet????

If I search the number that called in, the recording link is there and everything looks normal, lead_id, remote agent_id, disposition is XFER.

Any thoughts on why the Link/Recording Location is not showing up when I export calls. (yes I am using the drop down to recording location)

Thanks.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Inbound Survey Help

Postby mflorell » Sun Oct 04, 2015 7:17 am

Well, I can say that we have several clients that use this kind of setup and the recording links do work for the VDsales_export.pl script.

In the Export Calls Report the link between the call and the recording is established by the vicidial_closer_log.closecallid = recording_log.vicidial_id, So if those two aren't matching for whatever reason, that is why the recording isn't being linked to.

I just looked at the code and I think I found the problem, it was a simple fix, but please update your system to the latest svn/trunk and see if that fixed if for you.

I have tested this new code and it does work with the Export Calls Report.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 87 guests