# Some DTMF commands not working

**URL:** <https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562>\
**Category:** AllStarLink\
**Created:** [December 26, 2024, 11:36pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562 "2024-12-26T23:36:57Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 26, 2024, 11:36pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/1 "2024-12-26T23:36:57Z")

</div>

Color me confused, hence my request to become better educated on DTMF commands.

Situation: I have a new ASL3 node 588416 running on a fresh Debian 12 install, connecting over a wired network. This is a radio-less node connected to a Polycom VVX 401 SIP phone. ASL3 is working well. Allmon3 works. AllScan works. Except…some of the DTMF commands are not working when sent from the Polycom phone or when sent internally via the Asterisk CLI (for example, “rpt fun 588416 \*712” does tell the local time but \*921 does not initiate the local parrot).

By the way, I saw the same behavior with the Snom D710 phone I set up a few days ago, making me lean toward a problem in my installation of ASL3 or configuration of same, not with the phones.

The Asterisk CLI sees all of the numeric and symbol keys when pressed on the Polycom phone.

rpt.conf has duplex=3, telemdefault=1, telemdynamic=yes, parrotmode=1, and the semicolons in front of 921 and 922 have been removed. Node rebooted. \*921 and \*921 still don’t work, either from the phone keypad or from the Asterisk CLI. But \*712 works from the phone and the CLI.

What else should I be digging into to try to diagnose and resolve the lack of response to some DTMF commands, specifically the \*921 and \*921 to enable/disable the local parrot?

Thanks much,

Tom KJ7T

---

<div class="post-metadata">

**Author:** ![N2DYI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n2dyi/32/1712_2.png) [@N2DYI](https://community.allstarlink.org/u/N2DYI)\
**Post date:** [December 27, 2024, 2:05am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/2 "2024-12-27T02:05:37Z")

</div>

Tom:

IIRC, the parrot commands I think only work directly with a channel driver, I.E. simpleusb, usbradio, usrp, etc.  
so I think it won’t work at all within app\_rpt on a SIP connection. Someone who knows more about the app\_rpt codebase could advise on that.  
That’s one of the things I ran into when I was building out my public parrot on node 55553.

73  
N2DYI

---

<div class="post-metadata">

**Author:** ![W5MGM](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/c2a13f/32.png) [@W5MGM](https://community.allstarlink.org/u/W5MGM)\
**Post date:** [December 27, 2024, 3:03am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/3 "2024-12-27T03:03:23Z")

</div>

Tom,  
The ilink commands and cop commands are commented out in /etc/asterisk/rpt.conf by default. You need to go in and remove the leading ; to uncomment them and restart asterisk and they should work then.

Fred  
W5MGM

---

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 27, 2024, 3:18am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/4 "2024-12-27T03:18:54Z")

</div>

Oh very interesting. Thank you. I just tested on a different SIP phone and node combo that has been running for more than a year. Same thing. I can get a response from \*712 but not \*921. Fascinating!

---

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 27, 2024, 3:21am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/5 "2024-12-27T03:21:17Z")

</div>

Yep, I have those uncommented.

---

<div class="post-metadata">

**Author:** ![NR9V](https://community.allstarlink.org/user_avatar/community.allstarlink.org/nr9v/32/2195_2.png) [@NR9V](https://community.allstarlink.org/u/NR9V)\
**Post date:** [December 27, 2024, 5:19am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/6 "2024-12-27T05:19:38Z")

</div>

What Patrick said makes sense, I now recall that in the channel drivers the echo functionality is implemented there, which implies that audio that didn’t come in through USB is not going to get echoed. And there probably would have been no need to implement it elsewhere in app-rpt, as Asterisk already has an Echo dialplan function, eg. as described [here](https://www.asteriskguru.com/tutorials/echo.html), below code could probably be used similarly to how a eg. \*690 say IP address function works, so you could maybe try extending that under [my-ip] context in extensions.conf:  
; \*698 - Echo test for IAX/SIP  
exten =\> 8,1,Answer()  
exten =\> 8,n,Playback(welcome)  
exten =\> 8,n,Echo()  
exten =\> 8,n,Playback(demo-echodone)  
exten =\> 8,n,Hangup()

I have no idea if this would actually work but might be a fun experiment.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [December 28, 2024, 11:32am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/7 "2024-12-28T11:32:20Z")

</div>

> [@KJ7T](#):
>
> I can get a response from \*712 but not \*921. Fascinating!

From the command line / CLI\>,  
do you get a response from  
rpt node# cop 21 node#

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 28, 2024, 2:31pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/8 "2024-12-28T14:31:43Z")

</div>

Make sure you don’t have any other DTMF command starting with 9 enabled if you’re trying to use `912`, etc. There’s a default `99` in the configuration. That’s why all the three digit codes are recommended to be a `7nn` or `8nn`.

---

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 28, 2024, 4:17pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/9 "2024-12-28T16:17:45Z")

</div>

From the Asterisk CLI, after I enter “rpt fun 588416 cop 21”, I get the following:

```auto
588416*CLI> rpt fun 588416 cop 21
Usage: rpt fun <nodename> <command>
        Send a DTMF function to a node

```

No other “9” commands are uncommented.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [December 28, 2024, 4:40pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/10 "2024-12-28T16:40:27Z")

</div>

Nice to know, but not what I asked.

> [@Mike](#):
>
> rpt node# cop 21 node#

Sorry, I did leave something out…LOL

```auto
rpt cmd 588416 cop 21 588416

```

---

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 28, 2024, 8:13pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/11 "2024-12-28T20:13:19Z")

</div>

Nothing is returned when I run your corrected rpt command.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [December 29, 2024, 5:19am UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/12 "2024-12-29T05:19:09Z")

</div>

Are you using a verbose mode of 3 ? asterisk -rvvv

---

<div class="post-metadata">

**Author:** ![KJ7T](https://community.allstarlink.org/user_avatar/community.allstarlink.org/kj7t/32/2225_2.png) [@KJ7T](https://community.allstarlink.org/u/KJ7T)\
**Post date:** [December 29, 2024, 8:48pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/13 "2024-12-29T20:48:39Z")

</div>

Yes. In terminal: sudo asterisk -rvvv

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [December 29, 2024, 9:19pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/14 "2024-12-29T21:19:21Z")

</div>

> [@KJ7T](#):
>
> Except…some of the DTMF commands are not working when sent from the Polycom phone or when sent internally via the Asterisk CLI (for example, “rpt fun 588416 \*712” does tell the local time but \*921 does not initiate the local parrot).

After thinking on this a bit,

perhaps something like this  
functions = functions ; Repeater Function stanza  
**phone\_functions = functions** ; Phone Function stanza

But that is a guess. Make sure phone functions are getting the same commands as the node. Because you are connecting in '‘phone mode’, it may be different or non-existent.  
But I don’t know what the defaults are for asl3 since I tossed my original file. So, a look and/or a test never hurt anyone… LOL

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/4254_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [December 29, 2024, 10:09pm UTC](https://community.allstarlink.org/t/some-dtmf-commands-not-working/22562/15 "2024-12-29T22:09:09Z")

</div>

The stock configuration files can always be found at [https://github.com/AllStarLink/app\_rpt/tree/master/configs/rpt](https://github.com/AllStarLink/app_rpt/tree/master/configs/rpt). You can also reinstall the original configuration with:

```bash
apt install -o Dpkg::Options::="--force-confnew" --reinstall asl3-asterisk

```

Keep in mind this will nuke existing configuration.
