Cisco Unity Express Setup (CUE-CME)

Posted: July 12, 2010 in CUE
Tags: ,

Lets setup CUE on a CME router first and then I will show you in another post how we can integrate CUE with CUCM.

CUE Integration with CME:

telephony-service
voicemail 3220
web admin system name admin password cisco
dn-webedit
time-webedit
ip source-address 10.10.110.3 port 2000
!

ip http server
ip http authentication local
no ip http secure-server
ip http path flash:/GUI   <<< Very important

!

!
ephone-dn  8
number 1998….
mwi on
!
!
ephone-dn  9
number 1999….
mwi off
!

ephone-dn-template  1
call-forward busy 3220
call-forward noan 3220 timeout 10
!

ephone-dn  1  octo-line
number 3001 no-reg
ephone-dn-template 1

ephone-dn  2  octo-line
number 3002 no-reg
ephone-dn-template 1
!

ephone  1
mac-address 0017.0EEE.2CD9
username “scph1”
type 7961
button  1:1
!
ephone  2
mac-address 0018.0AEE.2BD9
username “scph2”
type 7961
button  1:2

!
interface Vlan400
ip address 10.10.202.1 255.255.255.0

interface integrated-service-engine 1/0
ip unnumbered Vlan400
service-module ip address 10.10.202.253 255.255.255.0
service-module ip default-gateway 10.10.202.1

ip route 10.10.202.253 255.255.255.255 integrated-service-engine 1/0

dial-peer voice 3220 voip
destination-pattern 3220
session protocol sipv2
session target ipv4:10.10.202.253
dtmf-relay sip-notify
codec g711ulaw
no vad
!

Router#service-module integrated-service-engine 1/0 session

Before the initial setup, make sure to bring the cue back to factory default:

se-10-100-1-10#offline

!!!WARNING!!!: If you are going offline to do a backup, it is recommended that you save the current running configuration using the ‘write’ command, prior to going to the offline state.

Putting the system offline will terminate all end user sessions.

Are you sure you want to go offline[n]? : y

cuese-10-100-1-10(offline)>restore factory defaults

Are you sure you want to go offline[n]? : y
cue(offline)> restore factory default
!!!WARNING!!!: This operation will cause all configuration and data on the system to be erased.

This operation is not reversible.
Do you wish to continue[n]? : y
Restoring the system. Please wait …..done
System will be restored to factory default when it reloads.

System will reboot itself and will come back online. After it comes online you can configure  CUE from CLI and then from GUI.

Setting up CUE for first time.

IMPORTANT::
IMPORTANT:: Welcome to Cisco Systems Service Engine
IMPORTANT:: post installation configuration tool.
IMPORTANT::
IMPORTANT:: This is a one time process which will guide
IMPORTANT:: you through initial setup of your Service Engine.
IMPORTANT:: Once run, this process will have configured
IMPORTANT:: the system for your location.
IMPORTANT::
IMPORTANT:: If you do not wish to continue, the system will be halted
IMPORTANT:: so it can be safely removed from the router.
IMPORTANT::
Do you wish to start configuration now (y,n)? y
Are you sure (y,n)? y
Enter Hostname
(my-hostname, or enter to use se-10-100-1-10): cue
Enter Domain Name
(mydomain.com, or enter to use localdomain): cisco.com

IMPORTANT:: DNS Configuration:
IMPORTANT::
IMPORTANT:: This allows the entry of hostnames, for example foo.cisco.com, instead
IMPORTANT:: of IP addresses like 1.100.10.205 for servers used by CUE.  In order
IMPORTANT:: to configure DNS you must know the IP address of at least one of your
IMPORTANT:: DNS Servers.

Would you like to use DNS for CUE (y,n)?n

WARNING: If DNS is not used CUE will require the use
WARNING: of IP addresses.

Are you sure (y,n)? y

Enter IP Address of the Primary NTP Server
(IP address, or enter for 192.168.20.254): 10.10.110.1

Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa            4) Arctic Ocean     7) Australia       10) Pacific Ocean
2) Americas          5) Asia             8) Europe
3) Antarctica        6) Atlantic Ocean   9) Indian Ocean

#? 5

Please select a country.
1) Afghanistan           18) Japan                 35) Philippines
2) Armenia               19) Jordan                36) Qatar
3) Azerbaijan            20) Kazakhstan            37) Russia
4) Bahrain               21) Korea (North)         38) Saudi Arabia
5) Bangladesh            22) Korea (South)         39) Singapore
6) Bhutan                23) Kuwait                40) Sri Lanka
7) Brunei                24) Kyrgyzstan            41) Syria
8) Cambodia              25) Laos                  42) Taiwan
9) China                 26) Lebanon               43) Tajikistan
10) Cyprus               27) Macao                 44) Thailand
11) Georgia              28) Malaysia              45) Turkmenistan
12) Hong Kong            29) Mongolia              46) United Arab Emirates
13) India                30) Myanmar (Burma)       47) Uzbekistan
14) Indonesia            31) Nepal                 48) Vietnam
15) Iran                 32) Oman                  49) Yemen
16) Iraq                 33) Pakistan
17) Israel               34) Palestine

#? 33

The following information has been given:

Pakistan

Therefore TZ=’Asia/Pakistan’ will be used.
Local time is now:      Tue Jun 15 15:20:36 GMT 2010.
Universal Time is now:  Tue Jun 15 10:20:36 UTC 2010.
Is the above information OK?
1) Yes
2) No

#? 1

Configuring the system. Please wait…
Changing owners and file permissions.
Change owners and permissions complete.
INIT: Switching to runlevel: 4
INIT: Sending processes the TERM signal
STARTED: cli_server.sh
STARTED: ntp_startup.sh
STARTED: LDAP_startup.sh
STARTED: superthread_startup.sh
STARTED: SQL_startup.sh
STARTED: HTTP_startup.sh
STARTED: ${ROOT}/usr/wfavvid/run
STARTED: probe
STARTED: dwnldr_startup.sh

waiting 202 …

IMPORTANT::
IMPORTANT:: Create an administrator account. With this account,
IMPORTANT:: you can log in to the Cisco Unity Express GUI and
IMPORTANT:: run the initialization wizard.
IMPORTANT::

Enter administrator user ID:
(user ID): administrator      ^H^H
**************************************************
administrator  is not a valid user ID.
A valid user ID:
1) must start with a letter
2) may contain letters, numbers, hyphens, underscores or dots
3) must end with a letter or a number
4) must contain no fewer than 2 characters
5) must contain no more than 31 characters
**************************************************
Enter administrator user ID:
(user ID): administrator
Enter password for :
(password):
Confirm password for  by reentering it:
(password):

Make sure you are using the right license for CUE.  The license files could be for CUCM or CME.

Sample license files:
cue-vm-license_12mbx_ccm_7.0.5.pkg
cue-vm-license_12mbx_cme_7.0.5.pkg

e-10-100-1-10> show software license

Installed license files:
- voicemail_lic.sig : 100 MAILBOX LICENSE
- ivr_lic.sig : 2 PORT IVR BASE LICENSE
- port_lic.sig : 8 PORT BASE LICENSE
Core:
- Application mode: CCME
- Total usable system ports: 24
Voicemail/Auto Attendant:
- Max system mailbox capacity time: 18000
- Default # of general delivery mailboxes: 20
- Default # of personal mailboxes: 100
- Max # of configurable mailboxes: 120
Interactive Voice Response:
- Max # of IVR sessions: 2
Languages:

- Max installed languages: 5
- Max enabled languages: 5

If you need to change the license then load the appropriate license file at FTP server:

se-10-100-1-10# software install clean url ftp://177.3.11.2/cue-vm-license_12mbx_ccm_7.0.5.pkg
username anonymous password anonymous

After loading license you will need to reload CUE

se-10-100-1-10#reload

To come out of CUE press ctrl-shift-6, release and then press X.

After setting this up go to GUI of CUE.

http://10.10.202.253/index.html

Enter the username/password as above
Run the Initialization wizard

Enter the hostname of Cisco call manager express CME – 10.10.110.3.
administrator/cisco

The username and password will be same as given under telephony-service (see start)
admin/cisco

Import users – check the mailbox and set CFNA/CFB.

Defaults – Blank password, Blank Pin (unless you want system generated pass/pin)

Voicemail number – 3220
SIP MWI – Outcalling

Note:

MWI on and off number will appear in drop down. If they don’t then there must be something wrong in the MWI ephone-dn. A common mistake could be missing out the ‘….’ after MWI extension.

After it reloads. Go to Voicemail > VM Configuration > Play Caller ID for External Callers = YES.

You may also use CLI to setup users:

CUE# voicemail callerid
CUE#username scph1 create
CUE#username scph2 create
CUE#username scph1 phonenumber "3001"
CUE#username scph2 phonenumber "3002
CUE#username scph1 pin '12345'
CUE#usernmae scph2 pin '12345'
CUE#conf
#Voicemail mailbox owner 'scph1'
#no tutorial
#end mailbox
#Voicemail mailbox owner 'scph2'
#no tutorial
#end mailbox
FOR MWI, just do 'sh run' and edit this application:
ccn application ciscomwiapplication aa
parameter "strMWI_OFF_DN" "1999"
parameter "strMWI_ON_DN" "1998"
end application

CUE#

ccn subsystem sip
 gateway address "10.10.110.3"
 end subsystem

ccn trigger sip phonenumber 3220
 application "voicemail"
 enabled
 end trigger
CUE#wr mem

You can now test the Voicemail for your IP phones.

Advertisements
Comments
  1. Thanks, my first installation for unity i was reading the post and all went fine.

  2. ramesh says:

    very nice

  3. credit says:

    I’m not sure where you are getting your info, but great topic.

    I needs to spend some time learning much more or understanding more.
    Thanks for excellent info I was looking for this info for my mission.

  4. aysar3000 says:

    Dears
    i configure the same configuration u had here and im able to logi to the GUI but once i run the initalization it give error

    Login to CUCME as an administartor failed. Check your CUCME Configuration

  5. asharsidd says:

    Hi aysar, please make sure username/passwords are correct and then issue these commands on CME router..

    Router>

    Router>enable
    Router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#
    Router(config)#file privilege 0
    Router(config)#
    Router(config)#exit

    I am assuming you already have added following:

    #ip http server
    #ip http path flash:
    under telephony services
    #web admin system name username password string
    #dn-webedit
    #time-webedit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s