×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

CallManager and Asterisk MWI

Answered Question
Mar 20th, 2006
User Badges:

Any luck with configuring MWI in IP Phones, VMis in *

Correct Answer by gogasca about 11 years 4 months ago

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




  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
gogasca Mon, 03/20/2006 - 12:35
User Badges:
  • Green, 3000 points or more

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

Correct Answer
gogasca Tue, 03/28/2006 - 21:14
User Badges:
  • Green, 3000 points or more

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




Attachment: 
cisco.bej Sat, 04/15/2006 - 06:42
User Badges:

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 [email protected]' ;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.



Actions

This Discussion