[arm-allstar] Telemetry at Stat Up

Doug Crompton wa3dsp at gmail.com
Mon Apr 24 12:44:41 EST 2017


Ironically I have been looking into this over the last week. The ability to
send an "introductory" message
FROM the called node to the calling node when connecting. This is a bit
tricky as any voice message sent after connection can only go locally or
globally. Since locally would not work it would have to be global which
would then send it to all other connected nodes and that is not something
you would want to do. The bottom line is it kind of works and here is how
to do it with limitations and cautions.

When you connect to a node Asterisk iax at the remote node processes the
call and passes the node number to the extensions file. If there is an
extension (node) match in the extensions.conf file control is passed
directly to app_rpt or just rpt in the call. Here is what it looks like if
your node was 40000  -

exten => 40000,1,rpt,40000

There is a one line command in the extensions.conf file radio-secure stanza
for each node on your server.

The key here is you can add other commands before control is passed to rpt.
iax which passes control to the stanza in extensions.conf has already
negotiated the codec between the sending and receiving nodes so you could
do something like this -

exten => 40000,1,background(/etc/asterisk/local/welcome|n)
exten => 40000,n,rpt,40000

This would send the "welcome" file to the calling party (node)  The callee
would hear the welcome message originating from the called end and then the
connect message originating from their calling end.

The problem is that delay before the actual rpt connection will result in a
timeout. The timeout seems to be in the Allstar code and not in Asterisk
but we are investigating this. Therefore the sound file needs to be less
than 5-7 seconds in total length. So you could say something like "Welcome
to the blah-blah club repeater" but not much else. The sound file has the
same composition restrictions as any other Asterisk sound file. You always
leave the extent off in the call - welcome.gsm becomes welcome  But the
problem remains, if this file is too long in duration the incoming
connections will fail!

The background command has a |n at the end of the options meaning do not
answer. If you use playback in place of background you would use
,noanswer   Both commands do similar things and appear to work the same.
Answering a call such as:

exten => 40000,1,Answer()
exten => 40000,n,background(/etc/asterisk/local/welcome|n)
exten => 40000,n,rpt,40000

solves the timeout issue but causes another issue of keeping the calling
end keyed and assuming full duplex.

I think there may be an answer to this but until there is be very careful
about changing things. If you make the message too long or you use the
answer command it would make it impossible for others to connect to you.
Experiment but understand this could break something so you may need to
take it back out.

Any changes to extensions.conf or any config file needs to be reloaded for
the change to take effect. In the client -

extensions reload

I might point out this is not a problem when calling in from a phone
through IAX as the call is answered and the phone is full duplex so you
really want it to stay active or keyed in radio terminology.



*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Mon, Apr 24, 2017 at 10:23 AM, "John Hoser-Smith via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Good Answer...Where can we put a custom (audio) Allstar new connection
> message...Example:  when a Allstar Node connects to us..."Welcome to
> Allstar Node 12345"What format should the Audio file be?  *.wav???
>
>
>     On Monday, April 24, 2017 8:18 AM, Paul Aidukas via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>
>  In your rpt.conf file, add these lines to your node:
>
> eannmode=2  ; Announce Echolink callsigns only
> telemdefault=1  ; Telemetry full on
> _______________________________________________
>
> 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 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 web page - http://hamvoip.org


More information about the arm-allstar mailing list