Survey transfer to ingroup
Posted: Wed Jul 19, 2017 5:59 pm
Hi,
I am trying to set up a survey campaign that is dialled using a remote agent. When a customer presses 1 to indicate that they are interested, the call should be transferred to an agent who is logged in to another campaign in blended dialling mode.
I currently have the following setup but not working properly. I receive the call, hear the message, press DTMF 1, Hear the message for that DTMF key, call hangs up does not transfer to ingroup.
I will try and provide as much info as I can on current setup, let me know if you need more.
Survey Method: Call Menu
Call Menu Time Out: 0
Call Menu Option: Timeout
Route: InGroup
I have an agent logged in to this InGroup in blended mode.
Below are my asterisk logs for the call.
I am trying to set up a survey campaign that is dialled using a remote agent. When a customer presses 1 to indicate that they are interested, the call should be transferred to an agent who is logged in to another campaign in blended dialling mode.
I currently have the following setup but not working properly. I receive the call, hear the message, press DTMF 1, Hear the message for that DTMF key, call hangs up does not transfer to ingroup.
I will try and provide as much info as I can on current setup, let me know if you need more.
Survey Method: Call Menu
Call Menu Time Out: 0
Call Menu Option: Timeout
Route: InGroup
I have an agent logged in to this InGroup in blended mode.
Below are my asterisk logs for the call.
- Code: Select all
[Jul 19 23:44:03] -- Executing [MyMobileNumber@default:1] AGI("Local/MyMobileNumber@default-000523ca;2", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 19 23:44:03] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=SurveyCampaign))
[Jul 19 23:44:03] -- <Local/MyMobileNumber@default-000523ca;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 19 23:44:03] -- Executing [MyMobileNumber@default:2] Dial("Local/MyMobileNumber@default-000523ca;2", "SIP/Carrier/MyMobileNumber,,To") in new stack
[Jul 19 23:44:03] == Using SIP RTP CoS mark 5
[Jul 19 23:44:03] -- Called SIP/Carrier/MyMobileNumber
[Jul 19 23:44:04] -- SIP/Carrier-000523c9 is making progress passing it to Local/MyMobileNumber@default-000523ca;2
[Jul 19 23:44:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 19 23:44:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 19 23:44:10] -- SIP/Carrier-000523c9 answered Local/MyMobileNumber@default-000523ca;2
[Jul 19 23:44:10] > Channel Local/MyMobileNumber@default-000523ca;1 was answered.
[Jul 19 23:44:10] -- Executing [8373@default:1] Playback("Local/MyMobileNumber@default-000523ca;1", "sip-silence") in new stack
[Jul 19 23:44:10] -- <Local/MyMobileNumber@default-000523ca;1> Playing 'sip-silence.gsm' (language 'en')
[Jul 19 23:44:10] -- Executing [8373@default:2] AGI("Local/MyMobileNumber@default-000523ca;1", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 19 23:44:10] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=SurveyCampaign))
[Jul 19 23:44:10] -- <Local/MyMobileNumber@default-000523ca;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 19 23:44:10] -- Executing [8373@default:3] AMD("Local/MyMobileNumber@default-000523ca;1", "2000,2000,1000,5000,120,50,4,256") in new stack
[Jul 19 23:44:10] -- AMD: Local/MyMobileNumber@default-000523ca;1 (N/A) (N/A) (Fmt: slin)
[Jul 19 23:44:10] -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000]
[Jul 19 23:44:10] -- AMD: Channel [SIP/Carrier-000523c9]. Changed state to STATE_IN_SILENCE
[Jul 19 23:44:10] -- Executing [h@default:1] AGI("Local/MyMobileNumber@default-000523ca;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0") in new stack
[Jul 19 23:44:10] -- AMD: Channel [SIP/Carrier-000523c9]. Word detected. iWordsCount:1
[Jul 19 23:44:10] -- AMD: Channel [SIP/Carrier-000523c9]. Detected Talk, previous silence duration: 360
[Jul 19 23:44:10] -- AMD: Channel [SIP/Carrier-000523c9]. Changed state to STATE_IN_SILENCE
[Jul 19 23:44:11] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 19 23:44:11] -- <Local/MyMobileNumber@default-000523ca;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0 completed, returning 0
[Jul 19 23:44:11] == Spawn extension (default, MyMobileNumber, 2) exited non-zero on 'Local/MyMobileNumber@default-000523ca;2'
[Jul 19 23:44:11] -- AMD: Channel [SIP/Carrier-000523c9]. Detected Talk, previous silence duration: 700
[Jul 19 23:44:11] -- AMD: Channel [SIP/Carrier-000523c9]. Word detected. iWordsCount:2
[Jul 19 23:44:11] -- AMD: Channel [SIP/Carrier-000523c9]. Changed state to STATE_IN_SILENCE
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Detected Talk, previous silence duration: 460
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Word detected. iWordsCount:3
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Detected Talk, previous silence duration: 40
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Changed state to STATE_IN_SILENCE
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Detected Talk, previous silence duration: 160
[Jul 19 23:44:12] -- AMD: Channel [SIP/Carrier-000523c9]. Short Word Duration: 20
[Jul 19 23:44:13] -- AMD: Channel [SIP/Carrier-000523c9]. HUMAN: silenceDuration:1000 afterGreetingSilence:1000
[Jul 19 23:44:13] -- Executing [8373@default:4] AGI("SIP/Carrier-000523c9", "VD_amd.agi,8373") in new stack
[Jul 19 23:44:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
[Jul 19 23:44:13] -- <SIP/Carrier-000523c9>AGI Script VD_amd.agi completed, returning 0
[Jul 19 23:44:13] -- Executing [8373@default:5] AGI("SIP/Carrier-000523c9", "agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB") in new stack
[Jul 19 23:44:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Jul 19 23:44:13] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 19 23:44:13] -- Playing 'SurveyMessage' (escape_digits=19) (sample_offset 0)
[Jul 19 23:44:17] DTMF[43505]: channel.c:4151 __ast_read: DTMF begin '1' received on SIP/Carrier-000523c9
[Jul 19 23:44:17] DTMF[43505]: channel.c:4155 __ast_read: DTMF begin ignored '1' on SIP/Carrier-000523c9
[Jul 19 23:44:17] DTMF[43505]: channel.c:4066 __ast_read: DTMF end '1' received on SIP/Carrier-000523c9, duration 280 ms
[Jul 19 23:44:17] DTMF[43505]: channel.c:4135 __ast_read: DTMF end passthrough '1' on SIP/Carrier-000523c9
[Jul 19 23:44:17] -- Playing 'SurveyInterested' (escape_digits=) (sample_offset 0)
[Jul 19 23:44:21] -- <SIP/Carrier-000523c9>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Jul 19 23:44:21] -- Executing [s@VBMenu:1] Answer("SIP/Carrier-000523c9", "") in new stack
[Jul 19 23:44:21] -- Executing [s@VBMenu:2] AGI("SIP/Carrier-000523c9", "agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----VBMenu-------------------------NO") in new stack
[Jul 19 23:44:21] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
[Jul 19 23:44:21] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 19 23:44:21] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 19 23:44:21] -- <SIP/Carrier-000523c9>AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
[Jul 19 23:44:21] -- Executing [s@VBMenu:3] Set("SIP/Carrier-000523c9", "INVCOUNT=0") in new stack
[Jul 19 23:44:21] -- Executing [s@VBMenu:4] BackGround("SIP/Carrier-000523c9", "") in new stack
[Jul 19 23:44:21] WARNING[43505]: pbx.c:10008 pbx_builtin_background: Background requires an argument (filename)
[Jul 19 23:44:21] == Spawn extension (VBMenu, s, 4) exited non-zero on 'SIP/Carrier-000523c9'
[Jul 19 23:44:21] -- Executing [h@VBMenu:1] AGI("SIP/Carrier-000523c9", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack