03-20-2006 11:07 AM - edited 03-15-2019 04:11 AM
Any luck with configuring MWI in IP Phones, VMis in *
Solved! Go to Solution.
03-28-2006 09:14 PM
Ok Justin,
Some people email me regarding the scripts,
Its just like a V 0.1 haha, ok this is a very simple one, basically its just a perl script which searches through all VM folders (kind of MsgStoreMonitor in Unity when starting) and then dial the MWI ON|OFF via SIP /not NTFY message) and puts as cn="" the VM id.
Instructions are:
edit voicemail.conf
externnotify=/usr/local/sbin/ccm.pl
I will attach ccm.pl
Copy it accordingly in the Linux server.
Edit ccm.pl to match the MWI ON|OFF configured in CCM.
It will use the spool|outgoing call feature for Asterisk
Edit extensions.conf and configure SIP trunk in CCM to send RDNIS.
;My VM pilot is 299
[voicemail]
exten => 299,1,gotoif,$["foo${RDNIS}" = "foo"]?accessvoicemail|s|1:fwdvoicemail|s|1 ;True:False
exten => 299,2,Hangup
;Call the Voice Mail application when dial number 299 but forwarded
[fwdvoicemail]
exten => s,1,VoiceMail2(u${RDNIS})
exten => s,2,Hangup
;Call the Voice Mail application when dial number 299 pressing messages
[accessvoicemail]
exten => s,1,VoiceMailMain(${CALLERIDNUM})
exten => s,2,Hangup
HTH, dont hesitate to contact me.
PS. You can improve them!
//Gonz
03-20-2006 12:35 PM
Hi Justin,
Please correct me if Im wrong, what I understand is that you want to have MWI feature in IP Phones connected to CCM when VM system is in *.
I created some scripts in perl for Asterisk, but at are home, assuming you have SIP integration right?
Will give u an update today.
Please drop me an email at gogasca at cisco dot com
So i have your email address.
//G
03-28-2006 09:14 PM
Ok Justin,
Some people email me regarding the scripts,
Its just like a V 0.1 haha, ok this is a very simple one, basically its just a perl script which searches through all VM folders (kind of MsgStoreMonitor in Unity when starting) and then dial the MWI ON|OFF via SIP /not NTFY message) and puts as cn="" the VM id.
Instructions are:
edit voicemail.conf
externnotify=/usr/local/sbin/ccm.pl
I will attach ccm.pl
Copy it accordingly in the Linux server.
Edit ccm.pl to match the MWI ON|OFF configured in CCM.
It will use the spool|outgoing call feature for Asterisk
Edit extensions.conf and configure SIP trunk in CCM to send RDNIS.
;My VM pilot is 299
[voicemail]
exten => 299,1,gotoif,$["foo${RDNIS}" = "foo"]?accessvoicemail|s|1:fwdvoicemail|s|1 ;True:False
exten => 299,2,Hangup
;Call the Voice Mail application when dial number 299 but forwarded
[fwdvoicemail]
exten => s,1,VoiceMail2(u${RDNIS})
exten => s,2,Hangup
;Call the Voice Mail application when dial number 299 pressing messages
[accessvoicemail]
exten => s,1,VoiceMailMain(${CALLERIDNUM})
exten => s,2,Hangup
HTH, dont hesitate to contact me.
PS. You can improve them!
//Gonz
03-29-2006 02:02 PM
Very,very useful!
Thanks so much!
You have save my proyect!
04-15-2006 06:42 AM
I have done the following
In voicemail.conf i have set.
[general]
externnotify=/usr/local/sbin/ccm.pl
in ccm.pl i have modified following parameters.
my $Trunk='@172.31.1.55' ;callmanager ip address
The mwi numbers are the same as in the ccm.pl file, 199 and 198. After the voicemail has been recorded there are no indication in Asterisk CLI that the script launches. Are there anything else i need to set in the ccm.pl file.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: