Freepbx as Voicemail provider with cucm, MWI issue

Hello,

It’s been awhile since I visited this, but yes I still have my setup working. I have a a SIP trunk on FreePBX to my SIP provider, and another SIP trunk to my CUCM server. Is your trunk setup correctly between FreePBX and CUCM? In CUCM, did you setup extensions dedicated for MWI (Advanced Features → Voicemail → Message Waiting)? From your Cisco phone, can you dial the MWI extensions and have the light turn on/off?

I used the same script as per this post:

Where they reference “@callman”, I changed “callman” to be the name of my SIP trunk between FreePBX and CUCM. I also changed the extensions obviously for my MWI. This script is called “vm.sh” and in /var/lib/asterisk/scripts.

Then, edit /etc/asterisk/voicemail.conf, and under “[general]” I have…
externnotify=/var/lib/asterisk/scripts/vm.sh

I hope that helps.