Friday, October 16, 2009

CCIE Voice Lab 1.5 – Voice Gateways

In CCIE Voice Lab 1.5, tasks will involved configuring the voice gateways in New York, Los Angeles, and London. To conserve DSP resources in my lab, I am only configuring 3 channels per voice gateway.

CCIE Voice Lab 1.5 Tasks

1. Configure the New York voice gateway as an H.323 gateway, and register with CUCM.

2. Configure Los Angeles as an MGCP gateway. However, you cannot use the “ccm-manager config server” command. If the primary CUCM goes down, make sure all endpoints on the MGCP gateway re-register to the backup CUCM.

3. Configure PSTN connectivity for London.

4. Configure the New York voice gateway as a gatekeeper. Register the CUCM servers and London CUCME router to the gatekeeper. The CUCM servers should register with the technology prefix of “1” and the London CUCME router should register with technology prefix “2”.

5. Verify inbound calling from the PSTN.


CCIE Voice Lab 1.5 Solutions

1. First step in adding the New York VGWY to CUCM is to configure the appropriate parameters in the router, including the VWIC module and dial-plan configurations.

newyork#
!
card type t1 0 0
!
network-clock-participate wic 0
!
isdn switch-type primary-ni
!
!
voice class codec 1
codec preference 1 g722-64
codec preference 2 g711ulaw
codec preference 3 g711alaw
codec preference 4 g729r8
!
!
voice class h323 1
h225 timeout tcp establish 3
!
!
controller T1 0/0/0
cablelength long 0db
pri-group timeslots 1-3,24
!
!
!
interface FastEthernet0/0.12
description New York Voice VLAN
encapsulation dot1Q 12
ip address 10.1.12.1 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.1.12.1
!
!
dial-peer voice 1 pots
description inbound PRI dial-peer
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 100 voip
description Voip DialPeer to UCMSUB01
preference 1
destination-pattern 2124321...
voice-class codec 1
voice-class h323 1
session target ipv4:10.1.10.21
incoming called-number .
dtmf-relay h245-alphanumeric
!
dial-peer voice 101 voip
description Voip DialPeer to UCMPUB01
preference 2
destination-pattern 2124321...
voice-class codec 1
voice-class h323 1
session target ipv4:10.1.10.20
incoming called-number .
dtmf-relay h245-alphanumeric
!
dial-peer voice 2 pots
destination-pattern 9T
port 0/0/0:23
!


Next, add the voice gateway to CUCM. Do not forget to modify the significant digits that CUCM receives for inbound calls.



2. The instructions for adding Los Angeles as an MGCP voice gateway explicitly tell us NOT to use the the “ccm-manager config server” command. Therefore, we need to manually configure the MGCP information on the router.

losangeles#
!
card type t1 0 1
!
network-clock-participate wic 1
!
isdn switch-type primary-ni
!
!
controller T1 0/1/0
cablelength long 0db
pri-group timeslots 1-3,24 service mgcp
!
!
interface Serial0/1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
!
ccm-manager switchback immediate
ccm-manager redundant-host 10.1.10.20
ccm-manager mgcp
ccm-manager fax protocol cisco
!
mgcp
mgcp call-agent 10.1.10.21 service-type mgcp version 0.1
mgcp fax t38 ecm
mgcp bind control source-interface Vlan22
mgcp bind media source-interface Vlan22
!
mgcp profile default
!
!
!
dial-peer voice 1 pots
service mgcp
incoming called-number .
direct-inward-dial
port 0/1/0:23
!
dial-peer voice 2 pots
service mgcp
destination-pattern 9T
port 0/1/0:23
!


Next, add the router as an MGCP gateway. Again, make sure to modify the significant digits that CUCM receives for inbound calls.







3. Configuring the PSTN and Dial Peers in London is fairly straight forward. Please note, I could not configure my Adtran Atlass 550 to accept the international dial-plan (44-20-7654-3XXX). As a result, I’ve modified the Adtran to accept 20-7654-3XXX. As for the 44 international code for London, I will work around this issue later (TBD).

london#
!
card type t1 0 0
!
network-clock-participate wic 0
!
isdn switch-type primary-ni
!
!
!
controller T1 0/0/0
cablelength short 110
pri-group timeslots 1-3,24
!
!
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
destination-pattern 9T
port 0/0/0:23
!


4. The final gatekeeper configuration requires a little care. First, pay attention to the wording regarding the technology prefix task. Habit may be to add the “#” sign; however the task instructions state only to add a “1” or “2”. Adding the “#” would result in points lost. Also, because the New York VGWY has been added to CUCM with the 10.1.12.1 IP address, you need to use a different IP for gatekeeper.

newyork#
!
gatekeeper
zone local newyork ballplayersllc.com 1.1.1.1
zone local london ballplayersll.com
gw-type-prefix 1* gw ipaddr 10.1.10.21 1720 gw ipaddr 10.1.10.20 1720
gw-type-prefix 2* gw ipaddr 3.3.3.3 1720
no shutdown
!

london#
!
interface Loopback0
ip address 3.3.3.3 255.255.255.0
ip ospf network point-to-point
h323-gateway voip interface
h323-gateway voip id newyork ipaddr 1.1.1.1 1719
h323-gateway voip h323-id london
h323-gateway voip tech-prefix 2
!
gateway
timer receive-rtp 1200
!
Next, add the Gatekeeper and Gatekeeper Controller Trunk to CUCM.







newyork#sh gatekeeper endpoints
GATEKEEPER ENDPOINT REGISTRATION
================================
CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags
--------------- ----- --------------- ----- --------- ---- -----
3.3.3.3 1720 3.3.3.3 63826 newyork VOIP-GW
H323-ID: london
E164-ID: 3001
E164-ID: 3002
E164-ID: 3003
E164-ID: 3004
E164-ID: 3005
E164-ID: 3333
E164-ID: 2076543001
E164-ID: 2076543002
E164-ID: 2076543003
E164-ID: 2076543004
E164-ID: 2076543005
E164-ID: 2076543333
Voice Capacity Max.= Avail.= Current.= 0
10.1.10.20 41390 10.1.10.20 32833 newyork VOIP-GW
H323-ID: trunk_to_newyork_gkpr_1
Voice Capacity Max.= Avail.= Current.= 0
10.1.10.21 36152 10.1.10.21 32821 newyork VOIP-GW
H323-ID: trunk_to_newyork_gkpr_2
Voice Capacity Max.= Avail.= Current.= 0
Total number of active registrations = 3

newyork#sh gatekeeper gw-type-prefix
GATEWAY TYPE PREFIX TABLE
=========================
Prefix: 1*
Statically-configured gateways (not necessarily currently registered):
10.1.10.21:1720
10.1.10.20:1720
Zone newyork master gateway list:
10.1.10.20:41390 trunk_to_newyork_gkpr_1
10.1.10.21:36152 trunk_to_newyork_gkpr_2

Prefix: 2*
Statically-configured gateways (not necessarily currently registered):
3.3.3.3:1720
Zone newyork master gateway list:
3.3.3.3:1720 london

5. Each location should now be able to receive inbound calls from the PSTN. However, since a dial plan has yet to be configured on CUCM, only London can dial out.

Wednesday, October 7, 2009

CCIE Voice Lab 1.4 – CUCME London

Lab 1.4 focuses on setting up Cisco Unified Communications Manager Express for Ballplayers LLC’s London, UK office.

CCIE Voice Lab 1.4 Tasks

1. Configure the CUCME router in London using the four digit extensions in CCIE Voice Lab 1 Scenario Background. The phones should be provisioned as SCCP phones. Enable call waiting on all extensions.

2. Enable support for g.722 wideband codec.

3. Configure extensions 3003 and 3004. On Jerry Maquire’s phone, 3003 and 3004 should ring on the second line appearance. Since David Beckham only has a two-button phone, his primary extension plus 3003 and 3004 should ring his first line appearance. However, his name and primary extension should be displayed next to the line appearance.

4. Configure extension 3005 and assign this to Jerry Maquire. This line should not support call waiting.

5. Since Jerry Maquire is the lead agent and branch manager in London, assign him a 7962.

6. When a call comes into either 3003 or 3004, and a user is on the phone, the incoming call on the busy phone should disable a visible indicator with no ring. Any phone not busy should ring as normal.

7. The layout of the displays on Jerry Maquire’s and David Beckham’s IP Phones should be identical in appearance to the displays for the New York and Los Angeles IP Phones.

8. David Beckham as a nasty habit of accidentally dialing his wife, Posh Spice (Victoria). Therefore, allow dialing on David Beckham’s phone only by selecting the specific line appearance.

9. David Beckham’s published number to the general public is 44-20-7654-3333. When someone from the PSTN dials this number, Jerry Macquire’s phone should ring first, followed by David Beckham’s phone. If no one answers the call for 10 seconds, it is assumed the person is busy and should be switched to DND mode. If neither Jerry nor David answers, the call should be forwarded to DN 3000.

CCIE Voice Lab 1.4 Solutions

1. Since I have previously discussed in detail setting up CUCME in both the CUCME-CUE Labs and Connection-CUCME Labs, I will not revisit the setup in detail. Below is the initial telephony-service configuration.


london#
!
tftp-server flash:ringtones/Analog1.raw alias Analog1.raw
tftp-server flash:ringtones/Analog2.raw alias Analog2.raw
!etc
!
!
telephony-service
em logout 0:0 0:0 0:0
max-ephones 10
max-dn 20
ip source-address 10.1.32.1 port 2000
service phone g722CodecSupport 2
service phone handsetWidebandEnable 1
service phone headsetWidebandEnable 0
service phone handsetWidebandUIControl 0
system message Your current options
load 7942 SCCP42.8-4-2S
load 7962 SCCP42.8-4-2S
dialplan-pattern 1 442076543... extension-length 4
max-conferences 8 gain -6
transfer-system full-consult
secondary-dialtone 9
create cnf-files version-stamp 7960 Oct 06 2009 21:46:31

2. Configuring the ephone DNs is fairly simple. Keep in mind, extension 3001 – 3004 are dual line; extension 3005 is a single line, thereby disabling call waiting.

!
ephone-dn 1 dual-line
number 3001
label Jerry Maquire 3001
description 44-20-7654-3001
name Jerry Maquire
!
!
ephone-dn 2 dual-line
number 3002
label David Beckham 3002
description 44-20-7654-3002
name David Beckham
!
!
ephone-dn 3 dual-line
number 3003
!
!
ephone-dn 4 dual-line
number 3004
!
!
ephone-dn 5
number 3005
!


3. Things get a little more tricky when configuring the IP Phones.

For Jerry Maquire, ephone-dn 1 is assigned to button 1; ephone-dn 3 and ephone-dn 4 are assigned to button 2 as overlays, using the “c” option rather than the “o” option, which enables call-waiting. Extension 3005, ephone-dn 5, is assigned to button 3.

On David Beckham’s phone, ephone-dn’s 2, 3, and 4 are assigned to button 1 as overlays, also using the “c” option rather than the “o” option. In addition, the “auto-line incoming” command is add, forcing David to either pick up his handset or pressing the speaker-phone button, then pressing line appearance button 1, in order to place a call. This should help prevent him from accidentally dialing his wife, “Posh Spice”.

!
ephone 1
device-security-mode none
description Jerry Maquire
mac-address 0024.97AB.1FB5
username "jmaquire" password null
codec g722-64
type 7962
button 1:1 2c3,4 3:5
!
!
!
ephone 2
device-security-mode none
description David Beckham
mac-address 0021.D8BA.23A1
username "dbeckham" password null
codec g722-64
type 7942
auto-line incoming
button 1c2,3,4
!

4. Finally, a sequential hunt-group will route incoming calls to 3333 (or 44-20-7654-3333) to Jerry Maquire first, followed by David Beckham.

!
ephone-hunt 1 sequential
pilot 3333
list 3001, 3002
final 3000
timeout 10, 10
auto logout 1
!

Thursday, October 1, 2009

CCIE Voice Lab 1.3 – Basic CUCM Phone and User Configuration

In lab 1.3, the IP Phones which auto registered in Lab 1.2 will be assigned their correct four digit extensions. Users will also be provisioned on the system. This lab will not cover detailed phone or dial plan configuration.

CCIE Voice Lab 1.3 Tasks

1. Integrate UCM with LDAP / Active Director for user information. (Note, if you do not have AD in your lab, add the users manually.)

2. Assign the proper extension to each phone in New York and Los Angeles based on the information provided in CCIE Voice Lab 1 Scenario Background.

3. New York IP Phones should be SCCP; Los Angeles IP Phones should be SIP.

4. All phones should prefer UCMSUB01 as its preferred CUCM.

5. New York and Los Angeles IP Phones should reflect their appropriate timezones.

6. IP Phones at each location should use the G.722 codec. Calls between locations should use a low bandwidth, high-quality codec.

7. Both Ari and Arliss should be assigned a 7962 IP Phone.

8. Each users’ first name, last name, and four digit extension should be displayed on the line appearance of each phone.


CCIE Voice Lab 1.3 Solutions

1. Active Directory / LDAP integration involves three steps. First, begin with the basic LDAP System Configuration under System > LDAP > LDAP System and select Microsoft Active Directory under the LDAP Server Type and sAMAccountName under LDAP Attribute for User ID.

Next, configure LDAP Directory information under System > LDAP > LDAP Directory. Below is a screen shot.


Finally, provide the necessary credentials for LDAP Authentication under System > LDAP > LDAP Authentication. You can verify that your UCM is synchronizing with Active Directory by going to User Management > End User to verify that the system has been populated with the users.

2. Word of caution on the next steps…. While this is how I configured my phones, this process may not be the most expedient during the actual CCIE Voice Lab. Remember, time management is key. However, for learning purposes, here are the steps I followed for setting up the phones for New York and Los Angeles…

First, I begin be creating a CUCM group, “Ballplayers_Sub_Pub”, with the subscriber server first in priority.

Next, I created two Date/Time Groups, one for New York, and another for Los Angeles, with the appropriate timezone and NTP information.

Two Regions are then created, one for New York and one for Los Angeles, with the appropriate codecs assigned accordingly.
A Device Pool for both New York and Los Angeles is created. For each Device Pool, modify Cisco Unified Communications Manager Group, Date/Time Group, and Region. Below is the NewYorkDevicePool.
Lastly, I go to System > Cisco Unified CM and disable the Auto Registration previously configured in lab 1.2. This will come into play when we modify the Los Angeles phones for SIP.

3. At the conclusion of lab 1.2, the phones for New York and Los Angeles had registered with the Publisher (UCMPUB01) via auto configuration. By going to Device > Phone, the appropriate parameters for each phone can be modified. For New York SCCP phones, the following parameters are changed and/or configured:

Description > a helpful description for reference
Device Pool > select the device poolOwner User ID > select the end user
Then, proceed to configure the line settings:
Configure the Los Angeles SIP phones requires a few extra steps. First, since the phones for Arliss Michaels and Kobe Bryant auto-registered as SCCP, they first must be deleted.. This was why auto-registration was disabled. If the phone were removed while auto-registration still enabled, the phones would simply re-register. Hint, note the MAC address of each phone prior to deletion. Then, manually add each device as a SIP phone. The process is very similar to adding a SCCP phone, except you need to modify some of the Protocol Specific Information, notably the Device Security Profile and SIP Profile. For now, select the defaults available in CUCM.

Upon completion of adding the phones, modify the lines for Arliss and Kobe. At this point, phones should be able to call each other, whether within each location or too/from each location.