[arm-allstar] Star-9-9 Indicator?
Patrick Perdue
borrisinabox at gmail.com
Mon Feb 8 05:05:56 EST 2021
I've not tested this, but I suppose you could redirect the function for
*99 to a script, which plays a tone or tone pair, then issues the
appropriate cop command for phone PTT.
Probably a better way to do it, but I'm just flying on the seat of my
pants here.
Maybe something like this.
in rpt/conf under your node's function stanza:
99=cmd,/etc/asterisk/local/ptt.sh
/etc/asterisk/local/ptt.sh might look like this:
#!/bin/bash
; plays a tone pair of 392 and 522 Hz for 100 ms as an example
/usr/bin/asterisk -rx "rpt cmd 508422 cop 48 !392+522/100"
; PTT function for phones
/usr/bin/asterisk -rx "rpt cmd 508422 cop 6"
Don't forget to make this script executable.
chmod +x /etc/asterisk/local/ptt.sh
and reload rpt.conf:
From Asterisk CLI:
rpt reload
Now that I think of it though, this might be annoying if your called
node is attached directly to a radio as well, I.E. not a private node
connected to some other node, as you will hear a tone coming across the
radio as well as your phone.
Replace 508422 with your own node number, of course.
If you have multiple nodes defined, be sure to either use variables to
define nodes or give each it's own function stanza, so you aren't
tripping PTT on the wrong node.
On 2/7/2021 2:13 AM, "Mike Saeger via ARM-allstar" wrote:
> When you dial Star-9-9 to transmit, there is no indication that you are
> transmitting. You really can't be sure that PTT was pressed.
>
> Is there anyway to indicate to a user that PTT has been activated and that
> their voice is going out over the air?
>
> I've noticed that sometimes if I enter Star-9-9 too quickly PTT is not
> activated. Likewise if you press Star-9-9 too slowly PTT won't be
> activated.
>
> It would be great if there was some positive indication that PTT was
> activated.
>
> N9MS
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list