Page 1 of 1

Agent Transfer to Survey 8366 or other custom exten

PostPosted: Tue Feb 08, 2011 7:55 pm
by Noah
Scenario:
WebAgent front ends a call, asks called party if they would like to hear a pitch of products/services, yes-> blind transfer to survey, then options to press 9,1,2, etc. (Survey, optin, optout)

Problem:
Blind Transfer(or any xfer) to 8366 from the agent web app causes Dead AGI to occur on transfer to 8366.

Attempted Solution
Custom plan:
exten => 2223,1,AGI(agi-VDAD_ALL_outbound.agi,SURVEY-----LB-----85100017-----19-----9-----85100018-----US_thanks_no_contact-----CAMPREC-----60-----WAV-----DNC)
exten => 2223,2,AGI(agi-VDAD_ALL_outbound.agi,SURVEY-----LB-----85100018-----CAMPREC-----60-----WAV-----DNC)
exten => 2223,3,Hangup

Will play first message
Will play second message if OptIN
Will allow for Optout or Optin Key press
Will NOT engage camprec_60_wav function

SurveyCamp would be a good option in this case however when transferring to the custom extension calling the SurveyCamp the function, vdadcampaign is required to function correctly. I NoOP'd the $VDADcampaign var, but I don't believe this variable is traversing or is not visible to the Asterisk CLI, because the variable name just displays in the asterisk CLI "$VDADcampaign"

[exten => 2223,3,NoOp($VDADcampaign); was the code used to NoOP the variable] based on the mysql query ending with "FROM vicidial_campaigns where campaign_id='$VDADcampaign';" in the SURVEYCAMP section of agi-VDAD_ALL_outbound.agi

Engaging fucntion SurveyCamp does not seem to keep AGI alive. Probably because the projectid is not being passed on the transfer.

Any help or direction would be appreciated.

Vicibox unknown, but is from .iso |VERSION: 2.4-256 BUILD: 100523-0840 | Asterisk 1.4.27.1-vici| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

PostPosted: Tue Feb 08, 2011 9:04 pm
by williamconley
I don't think I've ever tried it, but i wonder if you could send an inbound call to a survey?

Also: there are call menus now and InGroups ... you could use a combination to simulate the survey if you cannot actually drop into a Survey. Although I think you could blind transfer into an Ingroup which immediately transfers to another Campaign which is set to Survey.

Interesting.

To get your Vicibox version, log into your ssh console. It's on the splash screen unless it's Redux 2.0.

Solved - Transfer to Survey like routine

PostPosted: Thu Feb 24, 2011 2:26 pm
by Noah
Outbound is answered and pitched by Agent
If party agrees to hear an additional message Agent transfers to:

Transfer to ingroup
Ingroup engages a call menu
Call menu handles the options if correct response is picked, VM box records the voice response

Not perfect like survey but definitely gets the job done.

Thanks for the suggestion!!

PostPosted: Thu Feb 24, 2011 2:33 pm
by williamconley
solution artist

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 9:24 am
by ravi8vg
Vicidial:2.14, build 180512-2226
Asterisk-1.8
OS: opensuse 13.1
I have configured the campaign and make outgoing call and do local closure with ingroup transfer with call menu enabled. But after transfer it will just play hold message nothing happens further. I appriciate you help here. Please find the below logs.

[May 30 19:43:25] VERBOSE[23802] app_dial.c: [May 30 19:43:25] -- DAHDI/i1/08553569579-b61 is proceeding passing it to Local/8600078@default-000020dd;1
[May 30 19:43:27] VERBOSE[23802] app_dial.c: [May 30 19:43:27] -- DAHDI/i1/08553569579-b61 is ringing
[May 30 19:43:27] VERBOSE[23802] app_dial.c: [May 30 19:43:27] -- DAHDI/i1/08553569579-b61 is making progress passing it to Local/8600078@default-000020dd;1
[May 30 19:43:33] VERBOSE[23802] app_dial.c: [May 30 19:43:33] -- DAHDI/i1/08553569579-b61 answered Local/8600078@default-000020dd;1
[May 30 19:43:42] VERBOSE[23843] pbx.c: [May 30 19:43:42] -- Executing [990009*40803904**2862013**08553569579*101**@default:1] Answer("DAHDI/i1/08553569579-b61", "") in new stack
[May 30 19:43:42] VERBOSE[23843] pbx.c: [May 30 19:43:42] -- Executing [990009*40803904**2862013**08553569579*101**@default:2] AGI("DAHDI/i1/08553569579-b61", "agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1") in new stack
[May 30 19:43:42] VERBOSE[23801] pbx.c: [May 30 19:43:42] == Spawn extension (default, 990009*40803904**2862013**08553569579*101**, 1) exited non-zero on 'Local/8600078@default-000020dd;2'
[May 30 19:43:42] VERBOSE[23801] pbx.c: [May 30 19:43:42] -- Executing [990009*40803904**2862013**08553569579*101**@default:1] Answer("Local/8600078@default-000020dd;2", "") in new stack
[May 30 19:43:42] VERBOSE[23802] pbx.c: [May 30 19:43:42] == Spawn extension (default, 9108553569579, 3) exited non-zero on 'Local/8600078@default-000020dd;1'
[May 30 19:43:42] VERBOSE[23801] pbx.c: [May 30 19:43:42] == Spawn extension (default, 990009*40803904**2862013**08553569579*101**, 1) exited non-zero on 'Local/8600078@default-000020dd;2'
[May 30 19:43:44] VERBOSE[23843] res_musiconhold.c: [May 30 19:43:44] -- Started music on hold, class 'default', on DAHDI/i1/08553569579-b61
[May 30 19:43:47] VERBOSE[23843] res_musiconhold.c: [May 30 19:43:47] -- Stopped music on hold on DAHDI/i1/08553569579-b61
[May 30 19:43:53] VERBOSE[23843] res_musiconhold.c: [May 30 19:43:53] -- Started music on hold, class 'default', on DAHDI/i1/08553569579-b61
[May 30 19:44:00] VERBOSE[23843] res_musiconhold.c: [May 30 19:44:00] -- Stopped music on hold on DAHDI/i1/08553569579-b61
[May 30 19:44:00] VERBOSE[23843] res_agi.c: [May 30 19:44:00] -- <DAHDI/i1/08553569579-b61>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 4

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 11:56 am
by williamconley
ravi8vg wrote:Vicidial:2.14, build 180512-2226
Asterisk-1.8
OS: opensuse 13.1
I have configured the campaign and make outgoing call and do local closure with ingroup transfer with call menu enabled. But after transfer it will just play hold message nothing happens further. I appriciate you help here. Please find the below logs.

1) You did not post your Installer with Version. Always handy. Please add that to your list of specs.

2) You stated that you sent the call to a call menu. You stated that the caller then gets a hold message. But you never said why that's not the correct result. Call menus have options, what option was chosen? What did you expect to happen?

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 12:10 pm
by ravi8vg
I have given option to land to ingroup that ingroup will play IVR. I DON'T KNOW IF AM RIGHT OR NOT

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 12:13 pm
by williamconley
ravi8vg wrote:I have given option to land to ingroup that ingroup will play IVR. I DON'T KNOW IF AM RIGHT OR NOT

If you transfer a call from the call menu to an ingroup, then MOH will play until an agent gets the call. Not related to "survey" any more. Look up ingroups in the Vicidial Manager's Manual. Do all the exercises. You'll get it. 8-)

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 12:29 pm
by ravi8vg
Actually my requirement is post completion of all incoming and outgoing call should go to survey to rate the agent between 1 to 5 where 1 lowest and 5 largest. And where these captured information will get stored. How to full fill my requirement. Your support is highly appreciated. Thanks in advance.

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Wed May 30, 2018 12:35 pm
by williamconley
Then you would NOT transfer the call to an ingroup. Ingroups are not IVRs. Call Menus are IVRs. The method to use call menu logging to complete a survey is rather advanced, but not too bad. It's also in the Vicidial Manager's Manual.

If you can't find it, you should create your own post detailing your need instead of piggybacking this thread which is not the same question. I suspect there is already a post directly related to using a call menu to provide a survey. Not sure about "after the call", though.

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Thu May 31, 2018 5:19 am
by ravi8vg
I have done these with Survey campaign, with 1-POOR|2-HELPFUL|3-AVERAGE|4-GOOD|5-EXCELLENT| but where can get the report of the same. What ever the customer rated between 1 to 5. will get stored some were I need that in report. Kindly help.

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Thu May 31, 2018 7:40 am
by mflorell
The survery responses get saved to the security_phrase field in the vicidial_list table.

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Thu May 31, 2018 8:27 am
by ravi8vg
appreciate for your reply. But where will I find in report

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Thu May 31, 2018 9:40 am
by mflorell
You can use the Export Calls Report, or the Export Leads Report to export that information.

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Fri Jun 01, 2018 1:15 am
by ravi8vg
Please find the below log, I have checked in the Export call/Lead report, but am not getting the customer pressed output under security_pharse it show the in-group number from which the call is being placed.

[May 31 18:27:19] VERBOSE[1336] file.c: [May 31 18:27:19] -- <DAHDI/i1/08553569579-90a> Playing 'survery.slin' (language 'en')
[May 31 18:27:32] VERBOSE[1336] pbx.c: [May 31 18:27:32] -- Executing [s@testsurvey:5] WaitExten("DAHDI/i1/08553569579-90a", "10") in new stack
[May 31 18:27:33] DTMF[1336] channel.c: DTMF begin '4' received on DAHDI/i1/08553569579-90a


security_phrase




40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903




40803903
40803903
40803903
40803903
40803903
40803903
40803903
40803903

Re: Agent Transfer to Survey 8366 or other custom exten

PostPosted: Fri Jun 01, 2018 1:30 am
by williamconley
We can not tell if any of the records you posted are related in any way to the cli output you provided. Possible, but not certain.

I'm going out on a limb here because I don't really remember: But if you already have something in the security_phrase field, it may not overwrite that value.

As a simple exercise: Try creating a new campaign and an empty lead with just a phone number. Change the campaign to 8366 but don't make any other changes (it'll be the sample political question). Then call the lead and be sure to press 1,2 or 3. See if it puts your response in the security phrase field. If it does, now you just need to find out where you broke the other one (what's different).