[arm-allstar] node callsign script

Patrick Perdue borrisinabox at gmail.com
Tue Dec 24 06:45:02 EST 2019


Look for a line in your /etc/asterisk/rpt.conf under your node's stanza 
starting with "connpgm=" and see if he did anything interesting there. 
The functcomplete will only work with telemdefault=1 or telemdefault=2, 
so you can only have that work with other telemetry going on with it. 
However, the localplay and playback commands will still work even if 
telemdefault is set to 0, so I'm sure that if something is defined in 
those two sections to play a sound or tone sequence, it should still 
work regardless of the telemetry setting. No, I don't know how to access 
the Asterisk tone generator from there, or even if it's possible, so I 
could be entirely off-base.





On 12/24/2019 5:57 AM, "Jed Barton via ARM-allstar" wrote:
> So, in my case, my clear node does this, and it's awesome.  When i
> connect to any node, it just does a quick double beep to let you know
> it's connected.  Then it does another set of beeps when it is
> disconnected.  This is exactly what i'm looking to do, but not exactly
> sure how he did it.
> It's perfect cause you atleast have some indication that you made a
> connection, instead of Alison spilling her guts all over your repeater
> system, and spelling everything out.
> Any thoughts?
>
> On 12/24/19, "Patrick Perdue via ARM-allstar" <arm-allstar at hamvoip.org> wrote:
>> My first comment is that a lot of this would be better with a faster
>> voice than Allison. I'm working on this. I've generated a few voice
>> packs, just need to get them in an easily distributed format. That's a
>> job for when I get back home in a couple of weeks.
>>
>> Secondly, I would personally have all messages like that disabled in a
>> repeater situation, but you could possibly do what you are looking for
>> re beeps. Note that I haven't tested this, and what I am about to write
>> could be completely misleading and totally inaccurate. People who know
>> more about this, feel free to correct as necessary. And, also, there are
>> probably better ways of doing this even if it does work, such as
>> invoking Asterisk's tone generator, which I don't know how to do in this
>> context, or perhaps a way to invoke this function without going outside
>> of Asterisk and back in again, but it's an idea, anyway.
>>
>> In rpt.conf, With telemdefault set to 2 (or possibly 0, not sure about
>> this,) add this to the stanza for your node.
>>
>> connpgm=/usr/bin/asterisk -rx "rpt localplay <Your_Node_Number>
>> /etc/asterisk/local/connect_sound"
>>
>> disconpgm=/usr/bin/asterisk -rx "rpt localplay <Your_Node_Number>
>> /etc/asterisk/local/disconnect_sound"
>>
>> and generate appropriately formatted (ULAW) files for Asterisk to play
>> when a node connects or disconnects from your node. You can create
>> sounds with any audio editor/tone generator, save as mono wav, then
>> convert using the convert_audio.sh script on hamvoip. Theoretically, the
>> sampling rate won't matter too much, as SoX takes care of all that in
>> the conversion process. If you would like me to generate tones for you,
>> let me know.
>>
>> This will not propagate to the network. The sounds will only play on the
>> radio connected to the local node.
>>
>>
>> On 12/23/2019 11:11 PM, "Jed Barton via ARM-allstar" wrote:
>>> Hey guys.
>>> Just to update this a little bit. Here's the ideal situation.
>>> When we make a node connection, i'd like it to do 1 set of beeps.
>>> When we make a disconnect, i'd like it to do another set of beeps.
>>> Trying to keep it as simple as possible.  Any ideas?
>>>
>>> Cheers,
>>>
>>> Jed
>>>
>>> On 12/23/19, "Mike Sullivan via ARM-allstar" <arm-allstar at hamvoip.org>
>>> wrote:
>>>> I'm surprised that they don't like it.. I prefer it over node #'s for
>>>> sure.
>>>>
>>>> That being said.. delete all the .gsm files in
>>>> /var/lib/asterisk/sounds/rpt/nodenames and it will remove them, then
>>>> disable the script if you have it set to update every so often.
>>>>
>>>> Mike
>>>>
>>>> On Mon, Dec 23, 2019 at 7:34 PM "Kevin Halton via ARM-allstar" <
>>>> arm-allstar at hamvoip.org> wrote:
>>>>
>>>>> I installed the node callsign script on a node we have connected to a
>>>>> group
>>>>> of repeaters. The user base is not liking it so I would like to remove
>>>>> it
>>>>> as
>>>>> quickly as possible. Is it as simple as deleting the file in asterisk
>>>>> or
>>>>> more to it? I have disabled telemetry output for the time being.
>>>>>
>>>>>
>>>>>
>>>>> Thanks for the help!
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>> 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
>>>>
>>> _______________________________________________
>>>
>>> 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
>>
> _______________________________________________
>
> 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