MWI Device State Subscriptions
Updates voice mail hints created by FreePBX.
FreePBX has an option to create voicemail hints allowing a BLF to monitor any mailbox.
See the FreePBX wiki:
http://wiki.freepbx.org/display/F2/Subscribe+a+BLF+button+to+Monitor+a+Voicemail
Unfortunately, the module to update the hints is not part of Asterisk. It is provided in the official FreePBX distro as a patch to the distro Asterisk build.
This res_mwi_devstate.c was extracted from the FreePBX disto source rpm at:
http://yum.freepbxdistro.org/pbx/SRPMS/asterisk/13/asterisk13-13.7.2-1.shmz65.1.94.src.rpm
A Makefile has been added to build and install the module standalone and posted to github: https://github.com/jerrm/res_mwi_devstate.git
Only tested with Asterisk 13. This version uses the Stasis API, so would not be Asterisk 11 compatible.
This module was discussed on the forum previously here:
http://pbxinaflash.com/community/threads/voicemail-blf-with-freepbx-2-11.12633/
To install:
Try to break it and let me know.
Updates voice mail hints created by FreePBX.
FreePBX has an option to create voicemail hints allowing a BLF to monitor any mailbox.
See the FreePBX wiki:
http://wiki.freepbx.org/display/F2/Subscribe+a+BLF+button+to+Monitor+a+Voicemail
Unfortunately, the module to update the hints is not part of Asterisk. It is provided in the official FreePBX distro as a patch to the distro Asterisk build.
This res_mwi_devstate.c was extracted from the FreePBX disto source rpm at:
http://yum.freepbxdistro.org/pbx/SRPMS/asterisk/13/asterisk13-13.7.2-1.shmz65.1.94.src.rpm
A Makefile has been added to build and install the module standalone and posted to github: https://github.com/jerrm/res_mwi_devstate.git
Only tested with Asterisk 13. This version uses the Stasis API, so would not be Asterisk 11 compatible.
This module was discussed on the forum previously here:
http://pbxinaflash.com/community/threads/voicemail-blf-with-freepbx-2-11.12633/
To install:
Code:
cd /usr/src
git clone https://github.com/jerrm/res_mwi_devstate.git
cd res_mwi_devstate
make
make install
Try to break it and let me know.
Last edited: