Should not need to. Do this:
go into asterisk CLI with asterisk -r
enter “core set verbose 5” (no quotes)
perform your test call
when I make my call I get the following:
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4215 __ast_read: DTMF begin ‘’ received on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4226 __ast_read: DTMF begin passthrough '’ on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4129 __ast_read: DTMF end ‘’ received on SIP/1549-000055d9, duration 80 ms
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4170 __ast_read: DTMF end accepted with begin '’ on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4185 __ast_read: DTMF end ‘’ detected to have actual duration 78 on the wire, emulation will be triggered on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4192 __ast_read: DTMF end '’ has duration 78 but want minimum 80, emulating on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4249 __ast_read: DTMF end emulation of ‘’ queued on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4215 __ast_read: DTMF begin ‘1’ received on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4226 __ast_read: DTMF begin passthrough ‘1’ on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4129 __ast_read: DTMF end ‘1’ received on SIP/1549-000055d9, duration 90 ms
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4170 __ast_read: DTMF end accepted with begin ‘1’ on SIP/1549-000055d9
[2016-11-21 17:47:06] DTMF[59282][C-000016a1]: channel.c:4199 __ast_read: DTMF end passthrough ‘1’ on SIP/1549-000055d9
– <SIP/1549-000055d9> Playing ‘beep.ulaw’ (language ‘en’)
– <SIP/Sierra-SIP01-000055da> Playing ‘beep.gsm’ (language ‘en’)
> User hit ‘1’ to record call. filename: wav,auto-1479768427-1479768398.39606,m
[2016-11-21 17:47:10] DTMF[59282][C-000016a1]: channel.c:4215 __ast_read: DTMF begin '’ received on SIP/1549-000055d9
[2016-11-21 17:47:10] DTMF[59282][C-000016a1]: channel.c:4226 __ast_read: DTMF begin passthrough '’ on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4129 __ast_read: DTMF end ‘’ received on SIP/1549-000055d9, duration 120 ms
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4170 __ast_read: DTMF end accepted with begin '’ on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4199 __ast_read: DTMF end passthrough ‘*’ on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4215 __ast_read: DTMF begin ‘1’ received on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4226 __ast_read: DTMF begin passthrough ‘1’ on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4129 __ast_read: DTMF end ‘1’ received on SIP/1549-000055d9, duration 100 ms
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4170 __ast_read: DTMF end accepted with begin ‘1’ on SIP/1549-000055d9
[2016-11-21 17:47:11] DTMF[59282][C-000016a1]: channel.c:4199 __ast_read: DTMF end passthrough ‘1’ on SIP/1549-000055d9
– <SIP/1549-000055d9> Playing ‘beep.ulaw’ (language ‘en’)
– <SIP/Sierra-SIP01-000055da> Playing ‘beep.gsm’ (language ‘en’)
> User hit ‘*1’ to stop recording call.
If I take away the wW on my dial options I’ll get the following:
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4215 __ast_read: DTMF begin ‘’ received on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4226 __ast_read: DTMF begin passthrough '’ on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4129 __ast_read: DTMF end ‘’ received on SIP/1549-000055db, duration 60 ms
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4170 __ast_read: DTMF end accepted with begin '’ on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4185 __ast_read: DTMF end ‘’ detected to have actual duration 60 on the wire, emulation will be triggered on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4192 __ast_read: DTMF end '’ has duration 60 but want minimum 80, emulating on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4249 __ast_read: DTMF end emulation of ‘*’ queued on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4215 __ast_read: DTMF begin ‘1’ received on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4226 __ast_read: DTMF begin passthrough ‘1’ on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4129 __ast_read: DTMF end ‘1’ received on SIP/1549-000055db, duration 70 ms
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4170 __ast_read: DTMF end accepted with begin ‘1’ on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4185 __ast_read: DTMF end ‘1’ detected to have actual duration 71 on the wire, emulation will be triggered on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4192 __ast_read: DTMF end ‘1’ has duration 71 but want minimum 80, emulating on SIP/1549-000055db
[2016-11-21 17:50:32] DTMF[60062][C-000016a2]: channel.c:4249 __ast_read: DTMF end emulation of ‘1’ queued on SIP/1549-000055db
– Feature Found: apprecord exten: apprecord
– Executing [s@macro-one-touch-record:1] Set(“SIP/1549-000055db”, “ONETOUCH_REC_SCRIPT_STATUS=”) in new stack
– Executing [s@macro-one-touch-record:2] System(“SIP/1549-000055db”, “/var/lib/asterisk/bin/one_touch_record.php “SIP/1549-000055db””) in new stack
– Executing [s@macro-one-touch-record:3] NoOp(“SIP/1549-000055db”, “ONETOUCH_REC_SCRIPT_STATUS: [DENIED-ASTDB]”) in new stack
– Executing [s@macro-one-touch-record:4] ExecIf(“SIP/1549-000055db”, “0?Playback(beep)”) in new stack
– Executing [s@macro-one-touch-record:5] ExecIf(“SIP/1549-000055db”, “0?Playback(beep&beep)”) in new stack
– Executing [s@macro-one-touch-record:6] ExecIf(“SIP/1549-000055db”, “1?Playback(access-denied)”) in new stack
– <SIP/1549-000055db> Playing ‘access-denied.ulaw’ (language ‘en’)
– Executing [s@macro-one-touch-record:7] MacroExit(“SIP/1549-000055db”, “”) in new stack
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/1549-000055db”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] ExecIf(“SIP/1549-000055db”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
– Executing [s@macro-hangupcall:2] GotoIf(“SIP/1549-000055db”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] ExecIf(“SIP/1549-000055db”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:5] Hangup(“SIP/1549-000055db”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/1549-000055db’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/1549-000055db’
== Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on ‘SIP/1549-000055db’ in macro ‘dialout-trunk’
== Spawn extension (restrictedroute-453e406dcee4d18174d4ff623f52dcd8, 4129807578, 5) exited non-zero on ‘SIP/1549-000055db’