DTMF without funcchar

Setup Information

Use sudo asl-show-version to obtain this information from the console or SSH

Asterisk Version: 22.4.1+asl3-3.5.5-1.deb12
ASL3 Version: 3.5.5

Inquiry

I would like to be able to add the functionality to allow a specific DTMF sequence through rpt.conf to fire a macro. I created a macro that when either 5911# is entered, or the MDC decodes [E***], the node is disconnected from any links, a message is played that an emergency button has been pressed, and the node shifts into Parrot mode, so the message can be repeated (this is a simplex node).

However, on the Baofengs, when “CODE” is specified in the alarm settings, the DTMF tones for “119” are sent, with no known way to edit them. I would like to make a link that essentially says:

”When 1 1 9 is decoded, start the macro that is normally fired by* *5911#”

Other functions and macros can require the star funcchar, or it can be removed completely so bare DTMF triggers functions, if necessary. I just want this sequence to run without it.

Any suggestions?

The first issue you have is trying to establish a command starting with ‘1’

As that is the built-in command for a ‘disconnect’. Your command string may never be seen.

Q? which Baofeng radio are you working with?

Q? is the "CODE" being specified in the alarm settings something that is configurable (e.g. is it the ANI being sent) ? If so, could you simply change the DTMF digits to include the leading * followed by a function sequence that you configure in rpt.conf?