Having trouble getting DTMF commands made over the air to control asterisks.
So the following command works:
/# asterisk -rx “rpt fun 49XXX *4”
/# asterisk -rx “rpt fun 49XXX *11090”
That will disconnect 1090 from 49XXX but the command made over the air:
*449XXX
*1090
Gets decoded at the asterisks CLI but no action is taken by the system.
What are you trying to control, your local node? If so you don’t use *4. *3 is connect, *2 monitor and *1 disconnect, *4 is to control a remote node after you connect to it with *3.
Example to connect my node to node 2000 with over the air touch tones: *32000
Example with the Asterisk console *CLI> rpt fun 25330 *32000
Example from a script: asterisk -rx "rpt fun 25330 *32000"
You don’t need to use asterisk -rx "whatever" except for scripting. You can access the asterisk console with asterisk -r which will gives your a prompt *CLI> prompt. When done type quit or cntrl-c
Example to control a remote node getting it’s status:
*CLI> rpt fun 25330 *32000 ; connect to 2000
*CLI> rpt fun 25330 *42000 ; responds with 'by your commnad'
*CLI> rpt fun 25330 *70 ; tell remote to play status
*CLI> rpt fun 25330 # ; exit control of node 2000
*CLI> rpt fun 25330 *12000 ; disconnect from 2000
So from over the air on a repeater assigned as node 1110 I want to control node 1090. All nodes are connected to hub node 49XXX. Shouldn’t I be able to do the following?
*41090
*149XXX
Seems that should give me remote control over node 1090 from node 1110?