[arm-allstar] How to disable DTMF?
Larry Mollica
qjf5cqutzp at liamekaens.com
Wed Apr 17 08:16:32 EDT 2024
Ha, just noticed that typo of mine from a few days back; “DISASBLE”. :)
More stuff to fix.
> On Apr 17, 2024, at 5:12 AM, Larry Mollica <qjf5cqutzp at liamekaens.com> wrote:
>
> I don’t know what your situation is, but one trick I like to use on functions that I don’t want controllable via radio DTMF but still want access to via the shell or Supermon, is to insert a letter between E thru Z at the start of the command in rpt.conf. Eg:
>
> [functionsXXXXX]
> EB1=cmd,/usr/local/sbin/halt.sh 28855 ; Halt the system (linux total shutdown)
>
> The above will not be possible to activate via DTMF on a radio interface, but may be accessed from supermon: “*eb1” [DTMF]
> or the shell: asterisk -rx "rpt fun *eb1"
> Case is insensitive.
>
> For that matter you can spell out words if you like, as long as they don’t start with A thru D, e.g.:
> TAILMESSAGE-DISASBLE=cmd,/etc/asterisk/local/link_inhibit/tailmsg_disable.sh
>
> …Making them appear in a friendlier fashion when say editing supermon controlpanel.ini:
> labels[] = "Disable Tailmessage"
> cmds[] = "rpt fun %node% *TAILMESSAGE-DISASBLE"
>
> YMMV.
> Larry AD6G
More information about the ARM-allstar
mailing list