<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="" color="#000000" face="Tahoma,sans-serif">Neil,<br><br> OK here is a way to do this at least here are the clues to do it. I have not done it completely for you but what I show here does work.<br><br>First in rpt.conf find the phone patch function - 61<br><br>change the context= to context=command_radio<br><br>then in extensions.conf add the following context at the end -<br><br>[command_radio]<br>exten => _1xxxxx,1,Playback(please-enter-the)<br>exten => _1xxxxx,n,Playback(frequency)<br>exten => _1xxxxx,n,SayDigits(${EXTEN})<br>exten => _1xxxxx,n,Wait(2)<br>exten => _1xxxxx,n,Hangup()<br><br>You need to understand asterisk dial plans in order to understand this but basically the way this is setup if you enter at the radio *611xxxxx the last 5 digits will be passed as the EXTEN variable in Asterisk. At that point you could do whatever you wanted with it - like pass to a script that sent it to hamlib for execution. Of course the number of digits could be changed and other functions could be added.<br><br>When changing either file you need to either reload then in the client or restart Allstar.<br><br></font><font style="" face="Tahoma,sans-serif">The Asterisk diaplan is very powerful but you need to hone up on the commands and syntax!!!<br><br>This is the (more) right way to do this rather than adding stuff to Allstar.<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>