We have Linksys SPA962 phones. They work fine except that when a user presses the DND button on the phone, the Asterisk server does not get any message that the extension has been set to DND.
To fix this we are looking for a “work around” solution. We are planning on using a perl script that can lookup the DND settings on the phones and then execute a macro on the asterisk server that can set the status on the extension to DND and in FOP2 as well.
The first part is easy to do. It is the second bit that we are wondering about.
Will it be easier to just have the perl script run "asterisk -r " or have the perl script update the varios databases and conf files?
In any case our questions is kinda “what commands and variables to put where”? How do we run macros in Asterisk from a perl script?
Yes, we are newbies on the Asterisk server