Hello Mr.
I have decided to use the FreePBX to act as voice mail to my voice system, and the environment is sip trunk between the FreePBX and CUCM 11.0.
every think works fine, all registered phone on the cucm can connect to the voice mail on the FreePBX BUT…
I have an issue which is can’t and don’t know how to configure the mwi in asterisk freepbx to connect and notify my cisco cucm registered phones.
am new to FreePBX and internet full of papers about this issue but nothing is applicable or clear from me.
Any ideas how to get my voice mail and mwi working?
Peer support for FreePBX is provided at https://community.freepbx.org/
I got this to work with FreePBX ver 16.0.40.7 and Cisco CME ver 8.6.
Note: voicemail pilot 1077, extension range 1000 ~ 1039.
freepbx vm.sh
#!/bin/bash
if [ 0 -lt $3 ]
then
asterisk -rx "channel originate PJSIP/1070$2@CME-Router application Playback tt$
else
asterisk -rx "channel originate PJSIP/1071$2@CME-Router application Playback tt$
fi
freepbx extensions_custom.conf
[from-internal]
exten => 1077,1,VoicemailMain(${CALLERID(NUM)},s)
exten => 1077,2,Wait(1)
exten => 1077,3,Hangup
[from-did-direct-ivr]
exten => _10[0-3]X,1,goto(outbound-allroutes,${EXTEN},1)
exten => _10[0-3]X#,1,goto(outbound-allroutes,${EXTEN:0:4},1)