Dvswitch with allstar dtmf

I am trying to make a dtmf to work by dtmf my supermon dashboard by using the dtmf coding and its not working as anyone got a copy so im can edit? This is the code im got

[macro]
;;;;; Macro commands ;;;;;
*01 = DMR = cmd, /opt/Analog_Bridge/dvswitch.sh mode DMR
*02 = DSTAR = cmd, /opt/Analog_Bridge/dvswitch.sh mode DSTAR
*03 = YSF = cmd, /opt/Analog_Bridge/dvswitch.sh mode YSF
*06 = cmd, /opt/Analog_Bridge/dvswitch.sh tune 4000 ; Tune the TG 4000 (Unlink from last TG)
*07 = cmd, /opt/Analog_Bridge/dvswitch.sh tune 235 ; Tune to TG
*08 = cmd, /opt/Analog_Bridge/dvswitch.sh tune 2350 ; Tune to TG
*09 = cmd, /opt/Analog_Bridge/dvswitch.sh tune 91 ; North America

Is /opt/Analog_Bridge/dvswitch.sh executable by the asterisk user and can it be successfully executed as the asterisk user?

You have set these up as macros ?

many issues with this.

I think what you want to do is set these up as ... not macros but assigned commands

09 = cmd, /opt/Analog_Bridge/dvswitch.sh tune 91 ; North America

*09 would execute this if that command (09) is not in conflict with anything else, like a zero.only command somewhere.
But not macro. You can not assign/contruct a command inside a macro, you do use already constructed commands in a macro.

You could then use a *09 'command' inside of a macro.

I not sure im understand do any one have full rpt file and im can edit that file and but my own talk groups in or can you put a command line in here and i copy it in to my rpt file please ?

Im cant see dvswitch.sh in that directory but can in mmdvbriage directory

John,
Can you state what you want to achieve.
Keep it simple.

If you are looking to just tune dvswtch on the fly,
Try this script I wrote several years ago.
https://wiki.allstarlink.org/wiki/DialPlan_For_DVSwitch_Tune

It will not do everything but most all.
Do not modify it till you make it work.