Applicationmap problem

Hi!

I have two applicationsmap to record calls:

  • extensions.conf:

exten => 999,1,Set(__DYNAMIC_FEATURES=InPauseMonitor#InUnpauseMonitor)

  • features.conf:

InPauseMonitor => *5,peer/both,Macro,recpause
InUnpauseMonitor => *4,peer/both,Macro,recunpause

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.

Any idea??

Thanks!!

What is the channel technology?

How is DTMF being signalled to Asterisk?

If in band, what codec is in use?

What does DTMF logging show?

Hi!

We use SIP, and DTMF SIP INFO.

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

Thanks!