<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma,sans-serif" color="#000000">Mike,<br><br> 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.<br><br>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.<br><br>In rpt.conf<br><br>621=autopatchup,context=echolink_disconnect,noct=1,farenddisconnect=1,dialtime=10000,quiet=1 <br><br>623=autopatchup,context=echolink_connect,noct=1,farenddisconnect=1,dialtime=10000,quiet=1 <br><br>in extensions.conf<br><br>[echolink_connect]<br>exten => _xxxxxx,1,System(/etc/asterisk/local/echolink_process 3 ${EXTEN})<br>exten => _xxxxxx,n,Hangup()<br><br>[echolink_disconnect]<br>exten => _xxxxxx,1,System(/etc/asterisk/local/echolink_process 1 ${EXTEN})<br>exten => _xxxxxx,n,Hangup()<br><br>in /etc/asterisk/local/echolink_process, create and make executable.<br><br>#!/bin/bash<br>#<br># /etc/asterisk/local/echolink_process<br>#<br># . /usr/local/etc/allstar.env<br>sleep 2<br># Say the passed digits - optional for testing<br>/usr/local/sbin/speaktext.sh $1$2<br>sleep 2<br>/usr/bin/asterisk -rx "rpt fun xxxxx $1$2<br># end of script<br><br>Using this method users would enter *623xxxxxx or *621xxxxxx to connect or disconnect from the xxxxxx Echolink node.<br><br></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br> </div></body>
</html>