Cisco Unity Express Setup (CUE-CUCM)

Lets setup CUE for CUCM. It looks a strange setup but many customers use Unity express with their Call manager system instead of Unity connection. This typically suits small companies where the voicemail usage is not very high.

At Call manager do the following:

  • Create a CTI Route point – add the line with ext. 3220 which is the voicemail pilot
  • Create CTI Ports which will be used for handling voicemail between Call manager and CUE (3221, 3222)
  • Create a JTAPI user cuejtapi (or any name) from Application user and add CTI ports and CTI Route point under controlled Devices. This user will have Standard CTI Enabled Permission group
  • Create users, assign extension mobility profile (if any) and then select primary extension (must)
  • Go to Voicemail >Pilot > add 3220
  • Go to Voicemail Profile and create voicemail profile CUE-VM
  • In Phones, go under lines and select the Voicemail profile CUE-VM

The CUE settings on the gateway as follows:

!
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):

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 Call managers, Web Admin Call manager username and Password, cuejtapi username and password.

Import users.

Click Finish and let the module reload.

You can also do it through CLI.

** This is for Call manager normal working ***

cue subsystem jtapi
ctiport 3221 3222
ccm-manager address 10.10.210.11 10.10.210.10
ccm-manager username cuejtapi password cisco

*** This will work in SRST ***

cue subsystem sip
gateway address 10.10.110.3
mwi sip unsolicited
exit

*** This will work in Normal mode ***

ccn trigger jtapi phonenumber 3220
application "voicemail"
enabled
end trigger

*** This will work in SRST ***

ccn trigger sip phonenumber 3220
application "voicemail"
enabled
end trigger

Creation of 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#wr mem

Verification:
cue>show ccn status ccm-manager
JTAPI Subsystem is currently registered with Call Manager: 10.10.210.11

Note:
CUE can only be reached through G711 codec. If you want your remote sites to access CUE then you need
transcoder on CUE router.

If not, then the Region Codec between sites must be G711.
To check configuration of a Transcoder please check Media Resources Section of this blog.

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):

Advertisements

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