[arm-allstar] help with echolink setup
Doug Crompton
doug at crompton.com
Thu Mar 24 11:56:03 EST 2016
Mike,
Here is an example using autopatch mode and dialplan. This is off the top of my head but should work. The only problem is the number of digits in echolink node numbers. Here it is fixed to 6. You could do some things to work around this.
The other thing that everyone has to remember is this is Allstar NOT Echolink. Encouraging Echolink users to become Allstar nodes when possible is recommended. If you end up with more Echolink users than Allstar that defeats the purpose of Allstar and also pollutes our network with bad audio. Also the threat was placed out there about a year ago by Echolink admin that they do not want to be connected to other voip services and reserve the right to ban stations that abuse that. To my knowledge that has not taken place.
In rpt.conf
621=autopatchup,context=echolink_disconnect,noct=1,farenddisconnect=1,dialtime=10000,quiet=1
623=autopatchup,context=echolink_connect,noct=1,farenddisconnect=1,dialtime=10000,quiet=1
in extensions.conf
[echolink_connect]
exten => _xxxxxx,1,System(/etc/asterisk/local/echolink_process 3 ${EXTEN})
exten => _xxxxxx,n,Hangup()
[echolink_disconnect]
exten => _xxxxxx,1,System(/etc/asterisk/local/echolink_process 1 ${EXTEN})
exten => _xxxxxx,n,Hangup()
in /etc/asterisk/local/echolink_process, create and make executable.
#!/bin/bash
#
# /etc/asterisk/local/echolink_process
#
# . /usr/local/etc/allstar.env
sleep 2
# Say the passed digits - optional for testing
/usr/local/sbin/speaktext.sh $1$2
sleep 2
/usr/bin/asterisk -rx "rpt fun xxxxx $1$2
# end of script
Using this method users would enter *623xxxxxx or *621xxxxxx to connect or disconnect from the xxxxxx Echolink node.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160324/97c418e9/attachment.html>
More information about the arm-allstar
mailing list