Page 1 of 1

survey -> callmenu -> ingroup

PostPosted: Mon Oct 30, 2017 4:54 am
by ed123
Hi,

Gud day. I tried to create a survey campaign with the following setup.

1. Survey Campaign with remote agent only.
2. Remove all entries in survey campaign and set the Survey Method to Call Menu and Survey No-Respose Action to OPTOUT.
3. In Call Menu: set all Option Invalid and Timout to ingroup. Menu timeout is 1 and the rest is 0 or empty.
4. In ingroup: Action Transfer CID to customer. No Agents No queueing to Y and Action is Extension.
5. Extnsion is 89XXX
6. Dialplan is below.

exten => _89XXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _89XXX,n,Dial(IAX2/vicidial/${EXTEN:2},30,tToR)
exten => _89XXX,n,Hangup

Now:
The call connect by remote agent but when I pickup the call(as customer) the call connect then hungup after few seconds.

My target is to transfer the call after it was pickup by the customer and the customer callerid also.

logs:

[Oct 30 05:37:25] -- SIP/voip-00000002 answered Local/714041234567@default-00000002;2
[Oct 30 05:37:25] > Channel Local/714041234567@default-00000002;1 was answered.
[Oct 30 05:37:25] -- Executing [8366@default:1] Playback("Local/714041234567@default-00000002;1", "sip-silence") in new stack
[Oct 30 05:37:25] -- <Local/714041234567@default-00000002;1> Playing 'sip-silence.gsm' (language 'en')
[Oct 30 05:37:25] -- Executing [h@default:1] AGI("Local/714041234567@default-00000002;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----16-----0") in new stack
[Oct 30 05:37:25] -- Executing [8366@default:2] AGI("SIP/voip-00000002", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 30 05:37:25] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=UNASSIGN))
[Oct 30 05:37:25] -- <SIP/voip-00000002>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 30 05:37:25] -- Executing [8366@default:3] AGI("SIP/voip-00000002", "agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB") in new stack
[Oct 30 05:37:25] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct 30 05:37:25] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20171030-053725_4049984959)
[Oct 30 05:37:25] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 30 05:37:25] -- <SIP/voip-00000002>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct 30 05:37:25] -- Executing [s@CM_UNASSGN01:1] Answer("SIP/voip-00000002", "") in new stack
[Oct 30 05:37:25] -- Executing [s@CM_UNASSGN01:2] AGI("SIP/voip-00000002", "agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----CM_UNASSGN01-------------------------NO") in new stack
[Oct 30 05:37:25] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Oct 30 05:37:25] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 30 05:37:25] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 30 05:37:25] -- <SIP/voip-00000002>AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Oct 30 05:37:25] -- Executing [s@CM_UNASSGN01:3] Set("SIP/voip-00000002", "INVCOUNT=0") in new stack
[Oct 30 05:37:25] -- Executing [s@CM_UNASSGN01:4] BackGround("SIP/voip-00000002", "") in new stack
[Oct 30 05:37:25] WARNING[1599]: pbx.c:10008 pbx_builtin_background: Background requires an argument (filename)
[Oct 30 05:37:25] == Spawn extension (CM_UNASSGN01, s, 4) exited non-zero on 'SIP/voip-00000002'
[Oct 30 05:37:25] -- Executing [h@CM_UNASSGN01:1] AGI("SIP/voip-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Oct 30 05:37:25] -- <SIP/voip-00000002>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Oct 30 05:37:26] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 30 05:37:26] -- <Local/714041234567@default-00000002;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --16-----0 completed, returning 0
[Oct 30 05:37:26] == Spawn extension (default, 714041234567, 2) exited non-zero on 'Local/714041234567@default-00000002;2'

VERSION: 2.14-617a
BUILD: 170529-2320
asterisk: 1.8.23.0-vici
OS: Centos 6.5
Scratch installation

Re: survey -> callmenu -> ingroup

PostPosted: Mon Oct 30, 2017 9:49 am
by mflorell
Do you have a Call Menu prompt set?

"Oct 30 05:37:25] WARNING[1599]: pbx.c:10008 pbx_builtin_background: Background requires an argument (filename)"

I usually set "sip-silence" as the prompt for menus like this since it is so short.

Re: survey -> callmenu -> ingroup

PostPosted: Tue Oct 31, 2017 4:19 am
by ed123
Hi,

Sorry for the late reply, i already resolve the problem. I use the drop in campaign to point to ingroup.