Objectives:
1. Set up and enable Message Notification on CUE.
2. Select the devices and time of notification.
3. Observe the Message Notification in action.
4. Examine traces for troubleshooting.
Highlights:
• The Message Notification feature is available in CUE 2.3 or later release.
• Message Notification sends messages to the devices specified such as other phones, pager, or email.
• For email, Message Notification sends the messages to an SMTP client which in turn forwards the messages to an email client. Note that unlike Integrated Messaging which is interactive, Message Notification is only a one way
notification.
Activities:
I. Setting up Message Notification at CUE
To set up Message Notification, you need to: (1) enter system wide message notification, (2) enable individual for message notification, (3) configure devices and date/time for message notification.
1. Enable system-wide Message Notification in GUI - Login to CUE GUI, http://1.1.x.2
username:admin password:cisco
- In CUE GUI, go to Voicemail > Message Notification > Notification Administration to enable this feature. Check only "Enable system-wide notification" and select Urgent Messages. Leave other parameters as is.
Click Apply to save configuration.
- This enables the feature for the whole system.
- A warning message saying SMTP server not configured may come up. This is to warn that no SMTP server is not up such that Email and Text page notification will not work.
To enable Message Notification in CLI:
# config term
(config)# voicemail notification enable
2. Select individual users for Message Notification using GUI.
- Go to Voicemail > Message Notification > Subscriber Notification Management
- Select userone and usertwo for this feature.
- Note that once Enable Notification is applied, individual user shows that Notification Status is Enabled.
To enable individual users for Message Notification using CLI:
# config term
(config)# voicemail notification owner <user> enable where <user> is the user name of the mailbox.
II. Set up Outgoing Devices and Time of Notification
1. In GUI, go to Configure > Users and select userone. Select the Notification tab.
2. Click on Home Phone to select the phone. The notification when voicemail is received will be sent to this phone.
3. In the new pop-up window, check “Enable notification to this device”. For the purpose of this exercise, enter 4085551x00, the phone number of the analog phone. When userone’s mailbox receives a message, it will ring the designated phone. In this case it will ring the analog phone on your pod.
4. In the window, select only Urgent Messages.
5. Select the time to be notified. Check all seven days and all 24 hours for each day. The easiest way to do this is to use the Quick Add field next to the Notification Schedule.
6. Make sure to check Apply when done.
III. Send Messages
Note: When a CME phone receives an incoming call, you can press DnD softkey to forward the call to voicemail immediately.
1. Place a call from usertwo to userone. Let it ring and go to voicemail. Record a message and hang up. Nothing will happen since the message is not marked as Urgent.
2. Place another call from usertwo to userone again and let it go to voicemail.
This time record a message and mark it as Urgent.
3. As soon as the message is saved in userone’s mailbox, the analog phone will ring with the notification. Pick up the analog phone and listen to the greeting.
Note that no message is attached.
4. In GUI, go to Voice Mail > Message Notification > Notification Administration.
Check the box for “Allow user to login to voicemail box to retrieve voicemail when phone notification device is notified.” Then click Apply.
5. Place a third call from usertwo to userone and let it go to voicemail. This time record a message and also mark it as Urgent.
6. Once the message is saved in userone’s mailbox, the analog phone rings with the notification. Pick up the analog phone and listen to the greeting. This time you are given the option to enter your ID to check your messages 7. Enter your ID, 1X01#, followed by your PIN 1234 to check your messages
IV.
Traces for Troubleshooting
1. The CLI command “trace voicemail msgnotif all” is a catchall to monitor the progress of Message Notification.
2. In CUE CLI, enter “no trace all” to remove the default trace setting. Then enter the trace command above.
3. Enter “clear trace” to clean up old traces.
4. Conduct a Message Notification session. Then use “show trace buffer” on CUE to view the traces.
5. The following shows other useful trace commands to pinpoint Message Notification issues:
trace configapi smtp debug (Traces related to SMTP server)
trace entity manager NotifDB (Traces related to notification configuration database queries)
trace entity manager NotifDevice (Traces related to device configuration)
trace entitymanager NotifProfile (Traces related to profile configuration)
trace entitymanager NotifSched (Traces related to notification schedule configuration)
trace voicemail vmstream (Traces for voicemail backend) datasource Datasource for email notification
seqstream Sequence Input Stream for email notification lostream Large Object Input Stream for email notification
Sample Configuration
CME version 12.4
service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption
! hostname pod21
!
boot-start-marker boot-end-marker
! enable password cisco
!
no aaa new-model
!
resource policy
!
! ! ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 10.10.21.1 10.10.21.100 ip dhcp excluded-address 10.10.121.1 10.10.121.100
!
ip dhcp pool lan
network 10.10.21.0 255.255.255.0 default-router 10.10.21.1
option 150 ip 10.10.100.21
!
ip dhcp pool ccm
network 10.10.121.0 255.255.255.0 default-router 10.10.121.1
option 150 ip 10.10.100.201
!
! no ip domain lookup ip domain name cisco.com
! !
voice-card 0 no dspfarm
voice translation-rule 1 rule 1 /^9/ //
!
voice translation-rule 2 rule 1 /^1/ /408001/
!
voice translation-rule 3 rule 1 /^408001/ /1/
!
! voice translation-profile call-cue translate calling 3
translate called 3
translate redirect-called 3
! voice translation-profile call-out translate calling 2
translate called 1
! !
!
! !
! !
interface GigabitEthernet0/0
ip address 10.10.100.21 255.255.255.0 duplex auto
speed auto
!
interface Service-Engine0/0 ip unnumbered GigabitEthernet0/0
service-module ip address 10.10.100.121 255.255.255.0 service-module ip default-gateway 10.10.100.21
!
interface GigabitEthernet0/1 no ip address
shutdown duplex auto speed auto
! interface Service-Engine1/0 no ip address
shutdown
!
router eigrp 22 network 10.0.0.0 auto-summary
!
ip route 10.10.100.121 255.255.255.255 Service-Engine0/0
! ip http server
! !
! tftp-server flash:P0030702T023.bin tftp-server flash:P0030702T023.loads tftp-server flash:P0030702T023.sb2 tftp-server flash:P0030702T023.sbn tftp-server flash:P00405000700.bin tftp-server flash:P00405000700.sbn tftp-server flash:CVM70.2-0-2-26.sbn tftp-server flash:Jar70.2-9-2-26.sbn tftp-server flash:TERM70.7-0-3-0S.loads tftp-server flash:cnu70.2-7-6-26.sbn tftp-server flash:term70.default.loads
! control-plane
!
! !
voice-port 0/0/0
!
voice-port 0/0/1
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
! voice-port 0/1/3
! !
! !
!
dial-peer voice 1 voip description ** to CUE **
destination-pattern 1219.
session protocol sipv2
session target ipv4:10.10.100.121 dtmf-relay sip-notify
codec g711ulaw no vad
!
dial-peer voice 2 voip
description ** E164 to CUE **
translation-profile outgoing call-cue destination-pattern 408001219.
session protocol sipv2
session target ipv4:10.10.100.121 incoming called-number 408001219.
dtmf-relay sip-notify codec g711ulaw no vad no auto-reg-ephone load 7910 P00405000700 load 7960-7940 P0030702T023 load 7971 TERM70.7-0-3-0S load 7970 TERM70.7-0-3-0S max-ephones 10
max-dn 50
ip source-address 10.10.100.21 port 2000 system message pod21
time-zone 5
dialplan-pattern 1 408001.... extension-length 5 voicemail 12199
max-conferences 8 gain -6 call-forward pattern .T
moh en_bacd_music_on_hold.au
web admin system name admin password cisco transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Apr 24 2006 04:39:54
!
!
ephone-dn 1 dual-line number 12101 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
!
!
ephone-dn 2 dual-line number 12102 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
!
! ephone-dn 11
number 12111 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
!
!
ephone-dn 40
number 8000... no-reg primary mwi on
!
!
ephone-dn 41
number 8001... no-reg primary mwi off
!
! ephone 1
description 7970 on pod21
username "userone" password cisco mac-address 0013.1A10.6FF1 type 7970
button 1:1
!
! !
ephone 2
description 7960 on pod21
username "usertwo" password cisco mac-address 000E.38FB.F1C5 type 7960
button 1:2
!
! !
ephone 3 username "test"
mac-address 0011.2587.34F9 type CIPC logging synchronous line aux 0
line 66
no activation-character no exec
transport preferred none transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 line 194
no activation-character no exec
transport preferred none transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 line vty 0 4
exec-timeout 0 0 password cisco logging synchronous login
!
scheduler allocate 20000 1000 ntp clock-period 17179869 ntp master
ntp server 10.10.100.202
! end pod21#
CUE
Sample Configuration
CME version 12.4
service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption
! hostname pod21
! boot-start-marker boot-end-marker
! enable password cisco
! no aaa new-model
! resource policy
!
! ! ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 10.10.21.1 10.10.21.100 ip dhcp excluded-address 10.10.121.1 10.10.121.100
!
ip dhcp pool lan
network 10.10.21.0 255.255.255.0 default-router 10.10.21.1
option 150 ip 10.10.100.21
!
ip dhcp pool ccm
network 10.10.121.0 255.255.255.0 default-router 10.10.121.1
option 150 ip 10.10.100.201
!
! no ip domain lookup ip domain name cisco.com
!
!
! !
! !
!
! voice translation-rule 1 rule 1 /^9/ //
!
voice translation-rule 2 rule 1 /^1/ /408001/
!
voice translation-rule 3 rule 1 /^408001/ /1/
! !
voice translation-profile call-cue translate calling 3
translate called 3
translate redirect-called 3
!
voice translation-profile call-out translate calling 2
translate called 1
! !
! !
!
! !
interface GigabitEthernet0/0
ip address 10.10.100.21 255.255.255.0 duplex auto
speed auto
!
interface Service-Engine0/0 ip unnumbered GigabitEthernet0/0
service-module ip address 10.10.100.121 255.255.255.0 service-module ip default-gateway 10.10.100.21
!
interface GigabitEthernet0/1 no ip address
shutdown duplex auto speed auto
!
interface Service-Engine1/0 no ip address
shutdown
! router eigrp 22 network 10.0.0.0 auto-summary
!
ip route 10.10.100.121 255.255.255.255 Service-Engine0/0
!
ip http server
!
!
! tftp-server flash:P0030702T023.bin tftp-server flash:P0030702T023.loads tftp-server flash:P0030702T023.sb2 tftp-server flash:P0030702T023.sbn
tftp-server flash:P00405000700.bin tftp-server flash:P00405000700.sbn tftp-server flash:CVM70.2-0-2-26.sbn tftp-server flash:Jar70.2-9-2-26.sbn tftp-server flash:TERM70.7-0-3-0S.loads tftp-server flash:cnu70.2-7-6-26.sbn tftp-server flash:term70.default.loads
!
control-plane
!
! !
voice-port 0/0/0
! voice-port 0/0/1
! voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
!
!
! !
! dial-peer voice 1 voip description ** to CUE **
destination-pattern 1219.
session protocol sipv2
session target ipv4:10.10.100.121 dtmf-relay sip-notify
codec g711ulaw no vad
!
dial-peer voice 2 voip
description ** E164 to CUE **
translation-profile outgoing call-cue destination-pattern 408001219.
session protocol sipv2
session target ipv4:10.10.100.121 incoming called-number 408001219.
dtmf-relay sip-notify codec g711ulaw no vad no auto-reg-ephone load 7910 P00405000700 load 7960-7940 P0030702T023 load 7971 TERM70.7-0-3-0S load 7970 TERM70.7-0-3-0S max-ephones 10
max-dn 50
ip source-address 10.10.100.21 port 2000 system message pod21
time-zone 5
dialplan-pattern 1 408001.... extension-length 5
voicemail 12199
max-conferences 8 gain -6 call-forward pattern .T
moh en_bacd_music_on_hold.au
web admin system name admin password cisco transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Apr 24 2006 04:39:54
! !
ephone-dn 1 dual-line number 12101 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
!
! ephone-dn 2 dual-line number 12102 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
! !
ephone-dn 11
number 12111 no-reg primary call-forward busy 4080012199
call-forward noan 4080012199 timeout 10
!
! ephone-dn 40
number 8000... no-reg primary mwi on
!
! ephone-dn 41
number 8001... no-reg primary mwi off
!
! ephone 1
description 7970 on pod21
username "userone" password cisco mac-address 0013.1A10.6FF1 type 7970
button 1:1
! !
! ephone 2
description 7960 on pod21
username "usertwo" password cisco mac-address 000E.38FB.F1C5 type 7960
button 1:2
!
! !
ephone 3 username "test"
mac-address 0011.2587.34F9 type CIPC
button 1:11
! !
! line con 0 exec-timeout 0 0
logging synchronous line aux 0
line 66
no activation-character no exec
transport preferred none transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 line 194
no activation-character no exec
transport preferred none transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 line vty 0 4
exec-timeout 0 0 password cisco logging synchronous login
!
scheduler allocate 20000 1000 ntp clock-period 17179869 ntp master
ntp server 10.10.100.202
! end pod21#
CUE
clock timezone America/Los_Angeles hostname pod21cue
ip domain-name localdomain ntp server 10.10.100.21
software download server url "ftp://127.0.0.1/ftp" credentials hidden "6u/dKTN/hsEuSAEf
w40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZ Ng
d+Y9J3xlk2B35j0nfGWTYHfmP"
groupname Administrators create groupname Broadcasters create groupname vmimap create username admin create username userone create username usertwo create
username userone phonenumberE164 "4080012101"
username usertwo phonenumberE164 "4080012102"
username userone phonenumber "12101"
username usertwo phonenumber "12102"
groupname Administrators member admin groupname Administrators member userone groupname Administrators member usertwo groupname Administrators member test groupname vmimap member userone groupname vmimap member usertwo
groupname Administrators privilege superuser groupname Administrators privilege ManagePrompts groupname Administrators privilege broadcast groupname Administrators privilege local-broadcast groupname Administrators privilege ManagePublicList
groupname Administrators privilege ViewPrivateList groupname Administrators privilege vm-imap groupname Broadcasters privilege broadcast restriction msg-notification min-digits 1 restriction msg-notification max-digits 30
restriction msg-notification dial-string preference 1 pattern * allowed
backup server url "ftp://10.10.100.200/pod21cue/" credentials hidden "c9yem6kD1vKC9pTOs
FIEJUnfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZN gd +Y9J3xlk2B35j0nfGWTYHfmP"
calendar biz-schedule systemschedule open day 1 from 00:00 to 24:00
ccn application autoattendant description "autoattendant"
enabled maxsessions 6 script "aa.aef"
parameter "busOpenPrompt" "AABusinessOpen.wav"
parameter "operExtn" "0"
parameter "welcomePrompt" "AAWelcome.wav"
parameter "disconnectAfterMenu" "false"
parameter "busClosedPrompt" "AABusinessClosed.wav"
parameter "allowExternalTransfers" "false"
parameter "holidayPrompt" "AAHolidayPrompt.wav"
parameter "businessSchedule" "systemschedule"
parameter "MaxRetry" "3"
end application
ccn application ciscomwiapplication description "ciscomwiapplication"
enabled maxsessions 6 script "setmwi.aef"
parameter "CallControlGroupID" "0"
parameter "strMWI_OFF_DN" "8001"
parameter "strMWI_ON_DN" "8000"
end application
ccn application msgnotification description "msgnotification"
enabled maxsessions 6 script "msgnotify.aef"
parameter "DelayBeforeSendDTMF" "1"
end application
ccn application promptmgmt description "promptmgmt"
enabled maxsessions 1
script "promptmgmt.aef"
end application
ccn application voicemail description "voicemail"
enabled maxsessions 6
script "voicebrowser.aef"
parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
end application ccn engine end engine ccn subsystem jtapi
ccm-manager address 0.0.0.0 end subsystem
ccn subsystem sip
gateway address "10.10.100.21"
transfer-mode end subsystem
ccn trigger sip phonenumber 12190 application "autoattendant"
enabled maxsessions 6 end trigger
ccn trigger sip phonenumber 12198 application "promptmgmt"
enabled maxsessions 1 end trigger
ccn trigger sip phonenumber 12199 application "voicemail"
enabled maxsessions 6 end trigger
ccn trigger sip phonenumber 4080012199 application "voicemail"
enabled maxsessions 6 end trigger service imap enable end imap
service phone-authentication end phone-authentication service voiceview
enable end voiceview
voicemail notification enable voicemail notification preference all voicemail default language en_US voicemail default mailboxsize 775 voicemail broadcast recording time 300 voicemail mailbox owner "test" size 775 end mailbox
voicemail mailbox owner "userone" size 775 end mailbox
voicemail mailbox owner "usertwo" size 775 end mailbox
voicemail notification owner userone enable end
pod21cue#