Wednesday, June 10, 2009

Unity Connection-CUCME Lab 3 – Unity Connection Installation on VMware ESX 3.5

This lab discusses the procedures that I followed to install Unity Connection on a VMware ESX 3.5 Server. A special thanks to Ket Hum, a Federal Channels UC SE with Cisco, for giving me some tidbits.

1. My VMware ESX 3.5 server is installed on a DL320-G5 with two 750GB drives and 8GB of memory. My first step was to create separate vSwitch for the 10.1.20.0/24 New York Management VLAN.


2. Next step is to launch the “Create a new virtual machine” wizard.


As I walk through the New Virtual Machine Wizard, I select the following:

- Virtual Machine Configuration: Typical
- Guest Operating System: Linux > Red Hat Enterprise Linux 4 (32-bit)
- Memory: set to 1024MB
- Create Network Connection: One NIC on vSwitch1 (UC Network 10.1.20.0)
- Disk Size: 146GB (drive size of a MCS7835)


3. This next step is important… Prior to completing the wizard, check the “Edit the virtual machine settings before submitting” option. This allows us to statically assign the MAC address of the VM.


4. At this point, the wizard completes and the VM is created. You then can either boot the VM via an ISO image or DVD copy of Unity Connection. I opted to boot from an ISO copy of the image that I have on the storage of the ESX server; this is far quicker than booting and installing from the DVD.


5. At this point, you can proceed with the normal installation process. Installing Unity Connection is fairly easy; the Installation Guide for Cisco Unity Connection Release 7.x provides clear instructions regarding the tasks and process.

6. Once the installation process completes, login with your administrator username and password. Note, the console will tell you that VMware is not a supported platform.


7. The final step of the installation process is to very login via the web interface; in the case of this lab https://10.1.20.20/cuadmin. You can also few the demo license that comes with Unity Connection, which supports 10 mailboxes and 2 ports. Lastly, I used the snapshot feature in ESX. This will make things very easy to roll back to the clean image for later labs and study.


Unity Connection-CUCME Lab 3 Wrap-up
I’ve configured a simple Windows 2003 Domain Controller and Active Directory domain, adding users depicted in diagram from the Unity Connection-CUCME Scenario Background posting. With the installation of Unity Connection complete, we will begin the process of configuring the three Ballplayers, LLC CUCME locations to interface with Unity Connection.

Thursday, June 4, 2009

Lab 2.2 – Unity Connection-CUCME Setup Verification

The majority of the tasks in Unity Connection Lab 2.1 were covered in the CUCME-CUE labs. Rather than rehash previously covered topics, links are provided below, a discussion of any subtle differences or challenges, and finally the pertinent output from each ISR.

1. Installing and initializing the CUCME files is discussed in CUCME-CUE Lab 2 – Baltimore Basic CUCME System Setup for SCCP and CUCME-CUE Lab 3 – New York Basic CUCME System Setup for SIP. I did encounter a challenge, as previously discussed.

On the Baltimore SCCP router, the phone loads can be placed in a hierarchical file structure on the flash. Then, the alias keyword is used with the associated tftp-server commands.

baltimore#dir flash:/phone/7942-7962
Directory of flash:/phone/7942-7962/

185 -rw- 2918613 May 27 2009 21:59:06 -04:00 apps42.8-4-1-23.sbn
186 -rw- 485066 May 27 2009 21:59:10 -04:00 cnu42.8-4-1-23.sbn
187 -rw- 2659498 May 27 2009 21:59:24 -04:00 cvm42sccp.8-4-1-23.sbn
188 -rw- 335003 May 27 2009 21:59:26 -04:00 dsp42.8-4-1-23.sbn
189 -rw- 628112 May 27 2009 21:59:30 -04:00 jar42sccp.8-4-1-23.sbn
190 -rw- 658 May 27 2009 21:59:32 -04:00 SCCP42.8-4-2S.loads
191 -rw- 662 May 27 2009 21:59:32 -04:00 term42.default.loads
192 -rw- 662 May 27 2009 21:59:32 -04:00 term62.default.loads

260157440 bytes total (190967808 bytes free)

baltimore#
tftp-server flash:phone/7942-7962/apps42.8-4-1-23.sbn alias apps42.8-4-1-23.sbn
tftp-server flash:phone/7942-7962/cnu42.8-4-1-23.sbn alias cnu42.8-4-1-23.sbn
tftp-server flash:phone/7942-7962/cvm42sccp.8-4-1-23.sbn alias cvm42sccp.8-4-1-23.sbn
tftp-server flash:phone/7942-7962/dsp42.8-4-1-23.sbn alias dsp42.8-4-1-23.sbn
tftp-server flash:phone/7942-7962/jar42sccp.8-4-1-23.sbn alias jar42sccp.8-4-1-23.sbn
tftp-server flash:phone/7942-7962/SCCP42.8-4-2S.loads alias SCCP42.8-4-2S.loads
tftp-server flash:phone/7942-7962/term42.default.loads alias term42.default.loads
tftp-server flash:phone/7942-7962/term62.default.loads alias term62.default.loads

However, using the same procedure on the SIP locations, the phones fail to upgrade the phone loads. For Los Angeles and New York, the phone files are instead installed in the root location of the flash.

newyork#dir flash:
Directory of flash:/

1 -rw- 59224644 May 14 2009 22:41:26 -04:00 c2800nm-adventerprisek9_ivs-mz.124-22.YB1.bin
2 drw- 0 May 27 2009 22:39:18 -04:00 gui
21 drw- 0 May 27 2009 22:39:28 -04:00 ringtones
56 -rw- 2918613 May 27 2009 00:11:20 -04:00 apps42.8-4-1-23.sbn
57 -rw- 485066 May 27 2009 00:11:24 -04:00 cnu42.8-4-1-23.sbn
58 -rw- 3047459 May 27 2009 00:11:44 -04:00 cvm42sip.8-4-1-23.sbn
59 -rw- 335003 May 27 2009 00:11:46 -04:00 dsp42.8-4-1-23.sbn
60 -rw- 630128 May 27 2009 00:11:50 -04:00 jar42sip.8-4-1-23.sbn
61 -rw- 656 May 27 2009 00:11:50 -04:00 SIP42.8-4-2S.loads
62 -rw- 660 May 27 2009 00:11:52 -04:00 term42.default.loads
63 -rw- 660 May 27 2009 00:11:52 -04:00 term62.default.loads
64 -rw- 496521 May 27 2009 14:50:40 -04:00 music-on-hold.au

260943872 bytes total (192548864 bytes free)

newyork#
tftp-server flash:apps42.8-4-1-23.sbn
tftp-server flash:cnu42.8-4-1-23.sbn
tftp-server flash:cvm42sip.8-4-1-23.sbn
tftp-server flash:dsp42.8-4-1-23.sbn
tftp-server flash:jar42sip.8-4-1-23.sbn
tftp-server flash:SIP42.8-4-2S.loads
tftp-server flash:term42.default.loads
tftp-server flash:term62.default.loads



2. Refer to CUCME-CUE Lab 2 – Baltimore Basic CUCME System Setup to setting up the SCCP phones for Baltimore.


3. Refer to CUCME-CUE Lab 3 – New York Basic CUCME System Setup to setting up the SCCP phones for New York and Los Angeles.

4. For guidance on setting up the VOIP and POTS dial peers between all three locations, refer to CUCME-CUE Lab 4 – CUCME POTS & VoIP Dial Peers. However, since there is a potential for hairpin call routing, H.450.12 capabilities should be configured.

voice service voip
supplementary-service h450.12


5. CUCME-CUE Lab 7 – CUCME Conferencing & Transcoding will provide guidance on setting up the transcoding and conferencing.


6. Pertinent Baltimore CUCME configuration.

baltimore#sh run
!
card type t1 0 0
!
network-clock-participate wic 0
!
!
isdn switch-type primary-ni
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
sip
registrar server expires max 600 min 300
!
!
voice class custom-cptone leavetone
dualtone conference
frequency 900 900
cadence 150 50 150 50
!
voice class custom-cptone jointone
dualtone conference
frequency 1200 1200
cadence 150 50 150 50
!
!
voice translation-rule 1
rule 1 /\(20..\)/ /212555\1/
rule 2 /\(30..\)/ /213555\1/
!
!
voice translation-profile prefix
translate called 1
!
!
voice-card 0
dsp services dspfarm
!
!
controller T1 0/0/0
cablelength short 110
pri-group timeslots 1-4,24
!
!
ip http server
ip http path flash:/gui
!
tftp-server flash:ringtones/Analog1.raw alias Analog1.raw
tftp-server flash:ringtones/AreYouThere.raw alias AreYouThere.raw
!output truncated!
!
voice-port 0/0/0:23
!
!
sccp local GigabitEthernet1/0.12
sccp ccm 10.1.12.1 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
bind interface GigabitEthernet1/0.12
associate ccm 1 priority 1
associate profile 1 register conference
associate profile 2 register transcode
!
dspfarm profile 2 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729br8
codec g722-64
maximum sessions 3
associate application SCCP
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
codec g722-64
maximum sessions 1
conference-join custom-cptone jointone
conference-leave custom-cptone leavetone
associate application SCCP
!
!
dial-peer voice 2000 voip
description VOIP Peer to New York
preference 1
destination-pattern 20..
session protocol sipv2
session target ipv4:2.2.2.2
dtmf-relay rtp-nte
codec g722-64
no vad
!
dial-peer voice 3000 voip
description VOIP Peer to Los Angeles
preference 1
destination-pattern 30..
session protocol sipv2
session target ipv4:3.3.3.3
dtmf-relay rtp-nte
codec g722-64
no vad
!
dial-peer voice 1 pots
description inbound PRI dial-peer
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 2 pots
description outbound via pri
preference 1
destination-pattern 9[2-9].........
port 0/0/0:23
!
dial-peer voice 3 pots
translation-profile outgoing prefix
preference 2
destination-pattern [23]0..
port 0/0/0:23
forward-digits all
!
!
telephony-service
sdspfarm units 5
sdspfarm transcode sessions 3
sdspfarm tag 1 conference
sdspfarm tag 2 transcode
em logout 0:0 0:0 0:0
codec g722-64
max-ephones 42
max-dn 144
ip source-address 10.1.12.1 port 2000
service phone g722CodecSupport 2
service phone handsetWidebandEnable 1
service phone headsetWidebandEnable 0
service phone handsetWidebandUIControl 0
system message Ballplayers, LLC Baltimore
cnf-file location flash:
load 7942 SCCP42.8-4-2S
load 7962 SCCP42.8-4-2S
time-zone 12
dialplan-pattern 1 41055510.. extension-length 4
dialplan-pattern 2 21255520.. extension-length 4
dialplan-pattern 3 21355530.. extension-length 4
max-conferences 8 gain -6
moh music-on-hold.au
multicast moh 239.23.4.10 port 2000
web admin system name Cisco123 password Cisco123
transfer-system full-consult
transfer-pattern 10..
transfer-pattern 20..
transfer-pattern 30..
secondary-dialtone 9
directory entry 1 2001 name Ari Gold
directory entry 2 2002 name David Wright
directory entry 3 2003 name Eli Manning
directory entry 4 3001 name Jerry Maquire
directory entry 5 3002 name Kobe Bryant
create cnf-files version-stamp 7960 May 28 2009 12:02:02
!
!
ephone-template 1
conference drop-mode local
conference admin
softkeys seized Endcall Redial Cfwdall Meetme Pickup Callback
softkeys connected Hold Endcall Park Confrn Trnsfer Select Join ConfList RmLstC Flash
!
!
ephone-dn 1 dual-line
number 1001
label Arliss Michaels 1001
description 410-555-1001
name Arliss Michaels
!
!
ephone-dn 2 dual-line
number 1002
label Cal Ripken 1002
description 410-555-1002
name Cal Ripken
!
!
ephone-dn 3 octo-line
number 1020
name Baltimore AdHoc
conference ad-hoc
!
!
ephone-dn 4 octo-line
number 1021
name Baltimore MeetMe
conference meetme
!
!
ephone 1
device-security-mode none
description Arliss Michaels
mac-address 0024.97AB.1F83
ephone-template 1
username "amichaels" password null
codec g722-64
type 7962
button 1:1
!
!
ephone 2
device-security-mode none
description Cal Ripken
mac-address 0023.331A.EDCC
ephone-template 1
username "cripken" password null
codec g722-64
type 7962
button 1:2
!


7. Pertinent New York CUCME configuration. Los Angeles is nearly identical, except of course for different IP addresses and such.

newyork#sh run
!
card type t1 0 0
!
network-clock-participate wic 0
!
isdn switch-type primary-ni
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
sip
registrar server expires max 600 min 300
!

!
voice class custom-cptone leavetone
dualtone conference
frequency 900 900
cadence 150 50 150 50
!
voice class custom-cptone jointone
dualtone conference
frequency 1200 1200
cadence 150 50 150 50
!
!
voice register global
mode cme
source-address 10.1.22.1 port 5060
no privacy
max-dn 144
max-pool 42
load 7962 SIP42.8-4-2S
load 7942 SIP42.8-4-2S
timezone 12
hold-alert
dialplan-pattern 1 41055510.. extension-length 4
dialplan-pattern 2 21255520.. extension-length 4
dialplan-pattern 3 21355530.. extension-length 4
call-forward system redirecting-expanded
url directory http://10.1.22.1:80/localdirectory
file text
create profile sync 0006512451546702
ntp-server 10.1.1.4 mode directedbroadcast
!
voice register dn 1
number 2001
name Ari Gold
label Ari Gold 2001
!
voice register dn 2
number 2002
name David Wright
label David Wright 2002
!
voice register dn 3
number 2003
name Eli Manning
label Eli Manning 2003
!
voice register template 1
softkeys hold Newcall Resume
softkeys idle Redial Newcall Cfwdall Pickup DND
softkeys seized Endcall Redial Cfwdall Pickup
softkeys connected Hold Endcall Park Confrn Trnsfer
softkeys remote-in-use Barge cBarge Newcall
!
voice register pool 1
id mac 0024.97AB.1FB5
type 7962
number 1 dn 1
template 1
dtmf-relay rtp-nte
description 212-555-2001
codec g722-64
no vad
!
voice register pool 2
id mac 0021.D8B9.BC72
type 7962
number 1 dn 2
template 1
dtmf-relay rtp-nte
description 212-555-2002
codec g722-64
no vad
!
voice register pool 3
id mac 0021.D8BA.2373
type 7942
number 1 dn 3
dtmf-relay rtp-nte
description 212-555-2003
codec g722-64
no vad
!
!
voice translation-rule 1
rule 1 /\(10..\)/ /410555\1/
rule 2 /\(30..\)/ /213555\1/
!
!
voice translation-profile prefix
translate called 1
!
!
voice-card 0
dsp services dspfarm
!
!
controller T1 0/0/0
cablelength short 110
pri-group timeslots 1-4,24
!
!
ip http server
ip http path flash:/gui
!
!
tftp-server flash:ringtones/Analog1.raw alias Analog1.raw
tftp-server flash:ringtones/AreYouThere.raw alias AreYouThere.raw
!output truncated!
!
voice-port 0/0/0:23
!
!
sccp local FastEthernet0/0.22
sccp ccm 10.1.22.1 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
bind interface FastEthernet0/0.22
associate ccm 1 priority 1
associate profile 1 register conference
associate profile 2 register transcode
!
dspfarm profile 2 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729br8
codec g729r8
codec g722-64
maximum sessions 3
associate application SCCP
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
codec g722-64
maximum sessions 1
conference-join custom-cptone jointone
conference-leave custom-cptone leavetone
associate application SCCP
!
!
dial-peer voice 1000 voip
description VOIP Peer to Baltimore
preference 1
destination-pattern 10..
session protocol sipv2
session target ipv4:1.1.1.1
dtmf-relay rtp-nte
codec g722-64
no vad
!
dial-peer voice 3000 voip
description VOIP Peer to Los Angeles
preference 1
destination-pattern 30..
session protocol sipv2
session target ipv4:2.2.2.2
dtmf-relay rtp-nte
codec g722-64
no vad
!
dial-peer voice 1 pots
description inbound PRI dial-peer
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 2 pots
description outbound via pri
preference 1
destination-pattern 9[2-9].........
port 0/0/0:23
!
dial-peer voice 3 pots
translation-profile outgoing prefix
preference 2
destination-pattern [13]0..
port 0/0/0:23
forward-digits all
!
!

telephony-service
sdspfarm units 5
sdspfarm transcode sessions 3
sdspfarm tag 1 conference
sdspfarm tag 2 transcode
em logout 0:0 0:0 0:0
max-ephones 42
max-dn 144
ip source-address 10.1.22.1 port 2000
service phone g722CodecSupport 2
service phone handsetWidebandEnable 1
service phone headsetWidebandEnable 0
service phone handsetWidebandUIControl 0
time-zone 12
date-format dd-mm-yy
dialplan-pattern 1 41055510.. extension-length 4
dialplan-pattern 2 21255520.. extension-length 4
dialplan-pattern 3 21255530.. extension-length 4
max-conferences 8 gain -6
moh music-on-hold.au
multicast moh 239.23.4.10 port 2000
web admin system name Cisco123 password Cisco123
transfer-system full-consult
transfer-pattern 10..
transfer-pattern 20..
transfer-pattern 30..
secondary-dialtone 9
directory entry 1 1001 name Arliss Michaels
directory entry 2 1002 name Cal Ripken
directory entry 3 3001 name Jerry Maquire
directory entry 4 3002 name Kobe Bryant
create cnf-files version-stamp 7960 May 28 2009 12:01:41
!
!
ephone-dn 1 octo-line
number 2020
name NY AdHoc
conference ad-hoc
!


Unity Connection-CUCME Lab 2 Wrap-up

Now that the three Ballplayers, LLC locations up with CUCME, the next labs will actually look at Unity Connection. The first lab will discuss the installation and initial configuration on a VMware ESX 3.5 server.