[arm-allstar] Star-9-9 Indicator?

Mike Saeger mike at thesaegers.com
Mon Feb 8 15:43:43 EST 2021


I tried your suggestion. It didn't quite work.

I press Star-9-9 on my phone.

   - I hear the tone pair on my HT (not on the phone where I want to hear
   it)
   - The radio immediately switches back to receive and does not wait for
   the "#".

It seems the line:
/usr/bin/asterisk -rx "rpt cmd 53619 cop 6"
doesn't work.

Perhaps it just can't be done.

N9MS




On Mon, Feb 8, 2021 at 4:58 AM "Patrick Perdue via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> 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
> _______________________________________________
>
> 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