The operation is as follows, the user dials * 4 to start recording and * 5 to end it and send it to his email. The problem is that sometimes it works but sometimes not, the DTMF arrives but the application does not run. In the same call I have seen that pressing * 4 executes the macro that starts the recording but when * 5 is marked the DTMF reaches Asterisk but does not execute the applicationmap.
The log shows the following, as you can see, * 4 (works) as * 5 (does not work) arrive in the same way:
[Apr 22 13:41:04] DTMF[23874][C-00002293] channel.c: DTMF end ‘’ received on SIP/XXX-000055dd, duration 300 ms
[Apr 22 13:41:04] DTMF[23874][C-00002293] channel.c: DTMF begin emulation of '’ with duration 300 queued on SIP/XXX-000055dd
[Apr 22 13:41:05] DTMF[23874][C-00002293] channel.c: DTMF end emulation of ‘*’ queued on SIP/XXX-000055dd
[Apr 22 13:41:05] DTMF[23874][C-00002293] channel.c: DTMF end ‘4’ received on SIP/XXX-000055dd, duration 300 ms
[Apr 22 13:41:05] DTMF[23874][C-00002293] channel.c: DTMF begin emulation of ‘4’ with duration 300 queued on SIP/XXX-000055dd
[Apr 22 13:41:05] DTMF[23874][C-00002293] channel.c: DTMF end emulation of ‘4’ queued on SIP/XXX-000055dd
[Apr 22 13:53:56] DTMF[23874][C-00002293] channel.c: DTMF end ‘’ received on SIP/XXX-000055dd, duration 300 ms
[Apr 22 13:53:56] DTMF[23874][C-00002293] channel.c: DTMF begin emulation of '’ with duration 300 queued on SIP/XXX-000055dd
[Apr 22 13:53:56] DTMF[23874][C-00002293] channel.c: DTMF end emulation of ‘*’ queued on SIP/XXX-000055dd
[Apr 22 13:53:57] DTMF[23874][C-00002293] channel.c: DTMF end ‘5’ received on SIP/XXX-000055dd, duration 300 ms
[Apr 22 13:53:57] DTMF[23874][C-00002293] channel.c: DTMF begin emulation of ‘5’ with duration 300 queued on SIP/XXX-000055dd
[Apr 22 13:53:58] DTMF[23874][C-00002293] channel.c: DTMF end emulation of ‘5’ queued on SIP/XXX-000055dd