# Applicationmap problem

**URL:** <https://community.asterisk.org/t/applicationmap-problem/88398>\
**Category:** Asterisk Support\
**Created:** [April 27, 2021, 11:17am UTC](https://community.asterisk.org/t/applicationmap-problem/88398 "2021-04-27T11:17:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agalindo](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@agalindo](https://community.asterisk.org/u/agalindo)\
**Post date:** [April 27, 2021, 11:17am UTC](https://community.asterisk.org/t/applicationmap-problem/88398/1 "2021-04-27T11:17:24Z")

</div>

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!!

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [April 27, 2021, 11:20am UTC](https://community.asterisk.org/t/applicationmap-problem/88398/2 "2021-04-27T11:20:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![agalindo](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@agalindo](https://community.asterisk.org/u/agalindo)\
**Post date:** [April 27, 2021, 12:02pm UTC](https://community.asterisk.org/t/applicationmap-problem/88398/3 "2021-04-27T12:02:59Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 27, 2021, 12:03pm UTC](https://community.asterisk.org/t/applicationmap-problem/88398/4 "2021-05-27T12:03:04Z")

</div>

Closed on May 27, 2021, 12:03pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
