Questions about Events

Hello all,
I am still new to AllStar so if this turns out to be a dumb question, I’m sorry. I am trying to learn about events. I have read the docs and it seems straight forward, other than the fact I can’t get it working. I am running 2.0 Beta 6 I have setup the Stanza for events (events = eventsXXX where XXX is my node number).

in the [eventsXXX] stanza I am using the following code:

TEMPVAR = v|e|${RPT_LINKS} =~ "\",<NODENumber>.\""
*750 = f|t|TEMPVAR

The NODENumber is the actual number I am trying to match. So basically what I am trying to do is when a node connects to my hub, then I want to play a custom announcement, that is what the *750 is for. The *750 is working just fine, I just can’t get the event to fire…I have looked at asl cli and did a rpt showvars and TEMPVAR is set to 0 even though the node I am looking for is connected.

Any help would be great.

Thanks, Rich

I don’t know the answer to your Events question but custom node announcements can be created with these instructions… Custom Node Announcements - AllStarLink Wiki

Note: The rsync function isn’t currently supported. ASL updates may overwrite the sounds directory so save your files for possible later restore.

Thank you for your reply, I am not sure that will do exactly what I wanted…I really wanted the announcement to go out network wide, and for my understanding that message will only go local, unless I upload the message to Allstarlink.org. With rsync not working right now, that may not fix my issue.

With certain duplex modes, that is correct, you can not play network wide.
Others that you can require the asterisk command ‘Playback’ if that helps.
I believe you need a full duplex/full half duplex modes of operation or the audio is gated off.

I would exercise caution when using this while you are connected to larger networks.
Some may not be so friendly about it.

you also have this at your disposal if it helps… in your rpt.conf node stanza

;connpgm = yourconnectprogram ; Disabled. Execute a program you specify on connect. (default)
; passes 2 command line arguments to your program:
; 1. node number in this stanza (us)
; 2. node number being connected to us (them)
;discpgm = yourdisconnectprogram ; Disabled. Execute a program you specify on disconnect. (default)
; passes 2 command line arguments to your program:
; 1. node number in this stanza (us)
; 2. node number being disconnected from us (them)

You could also utilize the SwissArmy script to play custom announcements, etc. I use this feature on 2210 for custom “Welcome Back” audio for the regulars.

Contact me if you’d like help with it.

73

Kyle
K0KN