[arm-allstar] cmd callout with DTMF digits
Jeff Karpinski
jeff at 3d0g.net
Thu Apr 5 10:28:45 EST 2018
Thanks Doug. I’m actually looking at passing data out the serial port to other gear so there could be thousands of permutations. This dial-plan approach is ideal.
> On Apr 5, 2018, at 9:08 AM, Doug Crompton via arm-allstar <arm-allstar at hamvoip.org> wrote:
>
> Jeff,
>
> Yes that is a way to do it but for just a single command that is probably
> overkill. It would primarily be used when you have 10's of commands and you
> don't want to create functions for each one in rpt.conf. Here is how to do
> it in the functions stanza of rpt.conf -
>
> 850=cmd,/etc.asterisk/local/some_script parameters
>
> So *850 in this case would execute the defined script.
>
> The 8xx series above 82x is open territory for additional commands. You can
> add as many parameters to the command as your script needs.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Thu, Apr 5, 2018 at 10:59 AM, "Jeff Karpinski via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Ignore. Finally hit the right google-fu for the answer.
>> https://www.hamvoip.org/Allstar_extended_functions_using_autopatch.pdf <
>> https://www.hamvoip.org/Allstar_extended_functions_using_autopatch.pdf>
>>
>>
>>> On Apr 5, 2018, at 8:43 AM, Jeff Karpinski <jeff at 3d0g.net> wrote:
>>>
>>> Is there a way to access the entered and decoded DTMF digits and pass
>> them to an external command? I’m looking for something like this:
>>>
>>> *88123 entered, would trigger
>>>
>>> 88=cmd,/usr/local/sbin/myscript.pl 123 47712
>>
>> _______________________________________________
>>
>> 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