[arm-allstar] Using the Allstar Autopatch function to pass DTMF to a script
Doug Crompton
doug at crompton.com
Fri Jan 1 22:47:11 EST 2016
I had been working on this the last few days and when the autopatch messages came up today it prodded me into finishing this how-to. It just briefly touches on actually using autopatch for phone use but more importantly shows how to use the autopatch function to pass DTMF to external programs and scripts through the Asterisk dialplan.
There have been several requests for this in the past. Especially hearing back what DTMF characters were pressed as this could be an aid for the blind. It also opens up a wealth of opportunities to control and read the status of things outside of Allstar and it does not use up valuable function codes or litter rpt.conf with function statements.
Like this example our teams goal in the future is to move a much as possible outside of Allstar where it probably belonged in the first place. app_rpt has more than 25,000 lines of source code much of which is very convoluted, hard to understand and inefficient. Many of the functions that exist in Allstar already exist in Linux and there is really no need to duplicated them again in Allstar.
The how-to can be directly downloaded here -
http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/Allstar_extended_functions_using_autopatch.pdf
Or at the howto link on the hamvoip.org web page.
As always comments and questions are welcome.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160101/0af3d91a/attachment.html>
More information about the arm-allstar
mailing list