Sie sind auf Seite 1von 157

CME 4.0.1/CUE 2.

3 First Look Lab Topology

2005 Cisco Systems, Inc. All rights reserved.

POD Layout
Shared Equipment
SIP Proxy 1.1.33.222

Gatekeeper
1.1.33.222

Proctor CME
1.1.33.111

EZ-VPN
1.1.33.111

1.1.33.x (Public WAN)

POD Equipment

POD CME/CUE
2.2.2.2 (Private VLAN)

7970 CVTA (1x01)

7961 (1x02)

7941 (1x03)

CIPC (1x03)

2005 Cisco Systems, Inc. All rights reserved.

CME router physical setup


Connection to WAN (1.1.33.0/24)

FastEthernet 0/0 (1.1.33.x) FXO 0/1/1

Loopback0 (1.1.x.0) CME 1.1.x.1 CUE 1.1.x.2

FXS 0/0/1 FXS 0/0/0

Analog phone

NAT

VLAN1 (2.2.2.2)

Connection to LAN (2.2.2.0/24)

2005 Cisco Systems, Inc. All rights reserved.

General Info: IP Addresses


Item
Proctor CME EZ-VPN server SIP Proxy Gatekeeper CME/CUE GUI URL (POD x)

IP Address
1.1.33.111 1.1.33.111 1.1.33.222 1.1.33.222 1.1.x.1

Other Info
-

http://1.1.x.2/

2005 Cisco Systems, Inc. All rights reserved.

Logins and Passwords


Router CLI:
Password: cisco

CUE and CME GUI:


Username: admin Password: cisco

CUE end users:


Usernames: userone (1x01), usertwo (1x02) Passwords: cisco

CUE VMail:
PIN: 1234
2005 Cisco Systems, Inc. All rights reserved.

CME Video Telephony CME4.0/CUE2.3 First Look

CME Video Lab


Purpose:
1. 2. 3. 4. 5. 6. Set up and verify CVTA on 7970 Register Video enabled ephone to GK Verify CME to CME video call over H.323 Verify that video is preserved for call flows that support video Verify video to audio fallback for audio-only call flows Set up and verify video calls forwarded to CUE

Highlights:
CME 4.0 adds CVTA support on 7940/60/41/61/70/71 IP phones CME 4.0 supports video calls over H.323 trunk with GK call routing CME 4.0 supports video preservation for call forward and transfers between video capable endpoints CME 4.0 supports audio fallback for call forward and transfers to audio-only endpoints, such as CIPC and CUE. CME 4.0 supports audio fallback for 3-way conference CME 4.0 supports video calls over H.323 trunk to CCM video endpoints CME 4.0 supports audio fallback for call transfer/forward to CCM endpoints

Setup:
For all procedures below, X is your POD number, Y is the partner POD number. We recommend that you copy the configs in this doc to text editor and replace X with your pod number, and then copy the edited configs to your router console. The variables that need to be modified with your pod# are in red. If you get stuck on any portion of the lab, please refer to the sample solution for the recommended configuration Cisco VTA 1.0.2 does not support CIPC. Make sure CIPC on your laptop is shutdown before proceeding with the lab

Instructions:
I. Provision CME Video 1. Connect your Laptop to the cable connected to the switch port on the 7970 2. If you have installed the Cisco VTA software already, plug in the VTA and proceed to step 5 3. If you have not already done so, install VT advantage onto your laptop. Please use the files provided by your lab instructor.
For reference, the latest version, cvta-Admin-fmr.1-0-2.zip can be downloaded below http://www.cisco.com/cgi-bin/tablebuild.pl/cvta

Extract and execute cvta-1-0-2.exe follow the installation and plugin the VTA when the software prompts you to add the VTA.

4. Plug VT Advantage into USB port of your laptop only when prompted by the installation phase to do so 5. Telnet to your router. 6. Set maximum bit rate to 384 kbps telephony-service video maximum bit-rate 384 exit 7. Make video service on available on the phones. This command is case sensitive IOS will not provide a warning if command is entered incorrectly.Copy and paste to be certain.

telephony-service service phone videoCapability 1 no create cnf create cnf


8. Enable video on the phone, and reset. ephone 1 video reset 9. After your phone has registered, verify that your phone shows the video icon on lower right hand corner of its display. 10. Open the VT Advantage Client on your laptop. Verify that the connectivity between your IP phone and VTA client has been established. Successful connection would appear as below:

11. If connectivity is not established between phone and VTA after 2 minutes, please follow the troubleshooting steps below: Disable your wireless network card Disable Windows firewall or any other firewall software on your laptop Disable and re-enable your wired network card Make a couple of test calls to local CME phones

12. Verify the video capability of your IP phone from CME CLI: pod33#show ephone registered ephone-1 Mac:0015.6269.7929 TCP socket:[5] activeLine:0 REGISTERED in SCCP ver 6 + Video and Server in ver 5 mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:7 IP:10.10.33.101 49445 7971 keepalive 3 max_line 8 button 1: dn 1 number 13301 CH1 IDLE CH2 IDLE Username: user1 Password: user1 CME 4.0 supports CVTA 1.0.2 on 7940/60/41/61/70/71 IP phones II. Making video calls over GK routed H.323 network In the next section, you will need to partner with the pod next to you 1. Configure dialplan-pattern to register 10 digit E.164 number to GK telephony-service dialplan-pattern 1 408555.... extension-length 4 2. Disable GK registration for all other ephone-dn on your CME telephony-service max-dn 50 no-reg CME 4.0 adds the ability to disable GK registration globally 3. Register CME to GK interface Loopback0 h323-gateway voip interface h323-gateway voip id podX ipaddr 1.1.33.222 1719 h323-gateway voip h323-id gwX h323-gateway voip tech-prefix 1# h323-gateway voip bind srcaddr 1.1.X.1 exit gateway exit 4. Configure translation-rule for modifying called/calling number to 10 digit E.164 format voice translation-rule 1

rule 1 /^9/ // ! Exit voice translation-rule 2 rule 1 /^1/ /4085551/ exit ! ! voice translation-profile call-out translate calling 2 translate called 1 exit 5. Create voice-class for H.323 slow-start voice class h323 1 call start slow CME 4.0 requires slow-start for video calls over H.323. 6. Configure dial-peer to route H.323 calls to GK, replacing XX with pod number dial-peer voice 10 voip translation-profile outgoing call-out destination-pattern 9408555.... incoming called 4085551X.. voice-class h323 1 session target ras dtmf-relay h245-alphanumeric codec g711ulaw no vad exit ! dial-peer voice 11 voip destination-pattern 408555.... voice-class h323 1 session target ras dtmf-relay h245-alphanumeric codec g711ulaw no vad ! Note that the translation-profile and voice-class configured in the previous steps are applied to the H.323 dial-peer 7. Enter command below to enable H450.12: voice service voip supplementary-service h450.12 advertise-only H450 is required for preserving video when call is transfered/forwarded over H.323 trunk. H450.12 capabilities exchange will allow CME to

automatically detect if remote party supports H.450 call transfer/forward 8. Call the VTA phones in your partner pod by dialing 94085551Y01. If you are in pod1, call pod2, and so forth. Verify that you can see video from your partner on the VTA client. Example: if are in POD1, you will call POD2 by dialing 94085551201 9. While the video call between you and your partner pod is active, verify the call state from CME console pod00# show call active video ......... VIDEO: VideoCap_Codec=H263 VideoCap_Format=CIF VideoUsedBandwidth=7680 Telephony call-legs: 1 SIP call-legs: 0 H323 call-legs: 1 Call agent controlled call-legs: 0 SCCP call-legs: 0 Multicast call-legs: 0 Total call-legs: 2...... pod33#sho call active video compact <callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp> Total call-legs: 2 521 ANS T658 g711ulaw VOIP P4080010201 10.10.100.2:16546 522 ORG T658 g711ulaw TELE-VIDEO P4080013301 III. Audio fallback 1. Call the VTA phones in your partner pod by dialing 94085551Y01. Verify that you can see your partner on the VTA client. 2. From the 7970, transfer the video call to CME 7961. Verify that the call falls back to audio. Hang up. Video calls that are transferred to non-video endpoints will fallback to audio. 3. Call the VTA phones in your partner pod by dialing 94085551Y01. Verify that you can see your partner on the VTA client. 4. From the 7970, initiate 3 way conference with 7961. Verify that the call falls back to audio. CME 4.0 is NOT a MCU. All conference calls will fallback to audio. 5. Enter following commands to allow H.323 calls to forward to CUE using SIP voice service voip

allow-connections h323 to sip 6. Create voice-class for H.323 fast-start voice class h323 2 call start fast 7. Apply voice-class to CUE dial-peer dial-peer voice 1 voip voice-class h323 2 dial-peer voice 2 voip voice-class h323 2 Prior to 2.3, CUE does not support SIP Delayed Media. Prior to CUE 2.3, in order to have video and CUE co-exist, you need to enable H.323 fast-start on the CUE dial-peer and H.323 slow-start for the H.323 dial-peer. 8. Call the VTA phones in your partner pod by dialing 94085551Y01. Verify that you can see your partner on the VTA client. 9. From the 7970, initiate transfer to CME 7960. When 7960 begins to ring, press transfer on 7970 to execute transfer on ringing. Do not answer the call on 7960. 10. Verify that the call is forwarded to CUE successfully. Verify the call falls back to audio. IV. Video preservation (optional) 1. Call the VTA phone in your partner pod by dialing 94085551YY01. Verify that you can see your partner on the VTA client. 2. Press transfer and call to proctor CME phone by dialing 94085552001. Verify that you now see video from proctor pod. 3. Execute the transfer to proctor CME phone by pressing Transfer. Verify that after the transfer is executed, your partner can see video from proctor pod. Video calls that are transferred using H.450.2 will be preserved if transfer destination supports video.

Sample Configuration
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname pod1 ! boot-start-marker boot-end-marker ! logging buffered 51200 warnings enable password cisco ! no aaa new-model ! resource policy ! ! ! ip cef no ip dhcp use vrf connected ip dhcp excluded-address 2.2.2.1 2.2.2.100 ! ip dhcp pool lan network 2.2.2.0 255.255.255.0 option 150 ip 1.1.1.1 default-router 2.2.2.2 ! ! no ip domain lookup ip domain name cisco.com ! ! ! voice-card 0 no dspfarm ! ! ! voice service voip allow-connections h323 to sip supplementary-service h450.12 advertise-only ! ! ! ! voice class h323 1 call start slow call preserve ! !

! ! voice class h323 2 call start fast call preserve ! ! ! ! voice translation-rule 1 rule 1 /^9/ // ! voice translation-rule 2 rule 1 /^1/ /4085551/ ! voice translation-rule 3 rule 1 /^4085551/ /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 Loopback0 description CME/CUE/VoIP source interface ip address 1.1.1.1 255.255.255.252 h323-gateway voip interface h323-gateway voip id pod1 ipaddr 1.1.33.222 1719 h323-gateway voip h323-id gw1 h323-gateway voip tech-prefix 1# h323-gateway voip bind srcaddr 1.1.1.1 ! interface FastEthernet0/0 description WAN ip address 1.1.33.1 255.255.255.0 ip nat outside ip virtual-reassembly duplex auto

speed auto ! interface Service-Engine0/0 description AIM-CUE ip unnumbered Loopback0 service-module ip address 1.1.1.2 255.255.255.252 service-module ip default-gateway 1.1.1.1 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface FastEthernet0/3/0 ! interface FastEthernet0/3/1 ! interface FastEthernet0/3/2 ! interface FastEthernet0/3/3 ! interface FastEthernet0/3/4 ! interface FastEthernet0/3/5 ! interface FastEthernet0/3/6 ! interface FastEthernet0/3/7 ! interface FastEthernet0/3/8 ! interface Vlan1 description LAN ip address 2.2.2.2 255.255.255.0 ip nat inside ip virtual-reassembly ! router eigrp 1 redistribute static network 1.0.0.0 auto-summary ! ip route 1.1.1.2 255.255.255.255 Service-Engine0/0 ! ! ip http server ip http authentication local no ip http secure-server ip nat inside source list 100 interface FastEthernet0/0 overload ! access-list 100 permit ip 2.2.2.0 0.0.0.255 any !

10

! ! ! ! tftp-server flash:TERM70.7-0-3-0S.loads tftp-server flash:CVM70.2-0-2-26.sbn tftp-server flash:cnu70.2-7-6-26.sbn tftp-server flash:Jar70.2-9-2-26.sbn tftp-server flash:TERM41.7-0-3-0S.loads tftp-server flash:CVM41.2-0-2-26.sbn tftp-server flash:cnu41.2-7-6-26.sbn tftp-server flash:Jar41.2-9-2-26.sbn ! control-plane ! ! ! voice-port 0/0/0 description *** PSTN-Phone *** station-id name PSTN-Caller station-id number 4085551100 ! voice-port 0/0/1 cptone JP timeouts initial 120 timeouts interdigit 120 description *** Simulated-PSTN *** ! voice-port 0/1/0 ! voice-port 0/1/1 description *** FXO-Trunk *** ! ! ! ! ! dial-peer voice 1 voip description ** to CUE ** translation-profile outgoing call-cue destination-pattern 119. session protocol sipv2 session target ipv4:1.1.1.2 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 2 voip description ** E164 to CUE ** translation-profile outgoing call-cue destination-pattern 4085551199 voice-class h323 2 session protocol sipv2

11

session target ipv4:1.1.1.2 incoming called-number 4085551199 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 1000 pots description *** to Analog Phone *** destination-pattern 4085551100 port 0/0/0 ! dial-peer voice 10 voip translation-profile outgoing call-out destination-pattern 9408555.... voice-class h323 1 session target ras incoming called-number 40855511... dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 11 voip destination-pattern 408555.... voice-class h323 1 session target ras dtmf-relay h245-alphanumeric codec g711ulaw no vad ! ! gateway ! ! ! ! gatekeeper shutdown ! ! telephony-service no auto-reg-ephone load 7941 TERM41.7-0-3-0S load 7961 TERM41.7-0-3-0S load 7970 TERM70.7-0-3-0S max-ephones 10 max-dn 50 no-reg primary ip source-address 1.1.1.1 port 2000 service phone videoCapability 1 system message Pod1 dialplan-pattern 1 408555.... extension-length 4 voicemail 1019 max-conferences 8 gain -6 call-forward pattern .T

12

moh en_bacd_music_on_hold.au web admin system name admin password cisco dn-webedit time-webedit transfer-system full-consult transfer-pattern 9.......... transfer-pattern .... secondary-dialtone 9 create cnf-files version-stamp 7960 May 04 2006 17:23:42 ! ! ephone-dn 1 dual-line number 1101 no-reg primary name Pod1-User1 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 2 dual-line number 1102 no-reg primary name Pod1-User2 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 3 dual-line number 1103 no-reg primary name Pod1-User3 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 4 number 10104 no-reg primary name Pod01-CIPC ! ! ephone-dn 40 number 8000.... no-reg primary name MWI-on mwi on ! ! ephone-dn 41 number 8001.... no-reg primary name MWI-off mwi off ! ! ephone 1 device-security-mode none description 7970 video

13

username "userone" password null mac-address 0017.0E01.0F56 type 7970 button 1:1 ! ! ! ephone 2 device-security-mode none description 7961 username "usertwo" password null mac-address 0017.59E9.6914 type 7961 button 1:2 ! ! ! ephone 3 device-security-mode none description 7941 username "userthree" password null mac-address 0017.5A85.0A3B type 7941 button 1:3 ! ! ! ephone 4 device-security-mode none description Teleworker mac-address 0005.9A3C.7800 codec g729r8 mtp button 1:4 ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line 194 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh line vty 0 4 exec-timeout 0 0 privilege level 15 logging synchronous no login transport input telnet ssh

14

line vty 5 15 exec-timeout 0 0 privilege level 15 logging synchronous no login transport input telnet ssh line vty 16 988 exec-timeout 0 0 logging synchronous no login ! scheduler allocate 20000 1000 ntp clock-period 17179664 ntp server 1.1.33.111 ! webvpn context Default_context ssl authenticate verify all ! no inservice ! ! end

15

CME Remote Teleworker CME4.0/CUE2.3 First Look

CME Remote Teleworker Lab


Purpose:
1. Set up and verify VPN between main site and laptop at home-office. 2. Set up and verify CIPC registers and can call other phones.

Highlights:
CME 4.0.1 adds support for remote phones this lab details the procedure to setup a remote phone for Teleworker support along with the required phone parameters. It also gives you a flavor of how easy it is to configure a VPN tunnel with SDM.

Setup:
For all procedures below, you will work with the central ISR as the HQ and your router as a CME. In other setups, it could be an 870 series router to which an IP phone or laptop with IP Communicator are attached. The connection between CME and remote site has to be a business class DSL/cable link so that some QoS is provided by the service-provider. A minimum of 64k is needed per phone that is connected to the remote-site. Connect your laptop to the cable directly connected to the switch (labeled Remote PC) and not through a phone switch for this lab. The setup in this lab is done for a VPN client on laptop along with IP Communicator. It can be done with the 870 series terminating the EzVPN connection and phones connected to the 870 series router.

Instructions:
I. Install Cisco IP Communicator on your laptop Run installer on CiscoIPCommunicatorSetup.exe to install CIPC version 2.0(1a) on your laptop. If you have an older instance of CIPC on your laptop, please uninstall it before installing this new version. II. Configuring your VPN Client 1. Run installer on vpnclient-win-msi-4.8.01.0300-k9.exe to install Cisco VPN client on your laptop. 2. After software installs, configure your VPN client to access the EZ-VPN server. In the screen below, the Name parameter is very important. This should match the group settings on EasyVPN server setup..

For the purposes of this lab, add a new connection with the following parameters: Host: 1.1.33.111 Group Authentication: Selected Name: remotephone Password: cisco Now, connect the yellow cable directly from etherswitch HWIC to your laptop. You should get an IP address on the 2.2.2.0 network. Disable your wireless connection as it may cause routes to be defaulted to itself. Youll connect to the VPN in a later step. III.

Configure an ephone to be a remote-phone and use G.729 codec Configure the following for each remote phone on your CME Pod router: On your PC: Get a command prompt (Start >> run >> cmd) C:\>ipconfig /all <snip> Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel Gigabit Ethernet Adapter Physical Address. . . . . . . . . : 00-01-6C-3C-78-9E Dhcp Enabled. . . . . . . . . . . : Yes IP Address. . . . . . . . . . . . : 2.2.2.101 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 2.2.2.2 On your CME Pod, configure the following: ephone-dn 4 number 1x04 (where x is pod number) name Podx-CIPC ! ephone 4 mac-address <mac of Ethernet adapter> (from above output 0001.6c3c.789e ) mtp codec g729r8 button 1:4 description Teleworker IV. Configuring your CIPC Start Cisco IP Communicator and under Preferences >> Network, use the Cisco Systems VPN Client Adapter. For TFTP Server, use the IP address of your Pod CME. This will register your CIPC with the pod CME and you should be able to use it to make all phone calls.

Now, double-click on the new VPN connection that you created. It should ask you for a username and password use the following: Username: podXX ( where xx is your pod number. example: pod1) Password: cisco This should give you an address on the 3.3.3.0 network.

Make the following test calls and verify the codec used by double-clicking the ? button. 1. For calls to another IP phone on the same CME, the codec should be G.729. 2. For calls to CUE, the codec will revert to G.711ulaw because transcoding is not configured and CUE requires G.711 for audio. G.729 would be supported for this call flow if trancoding were enabled. 3. Have another IP phone on the same CME conference in CIPC with another IP phone. Verify that the codec reverts to G.711ulaw because transcoding is not configured and CME 3-part conferencing requires G.711. G.729 would be supported for this call flow if trancoding were enabled.

If you receive two-way audio for all your test calls, your lab setup is fine and complete.

References:

Teleworker Remote Phones URL: http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_configur ation_guide_chapter09186a00805b21ba.html#wp1056386 Transcoding support URL: http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_configur ation_guide_chapter09186a00805b21bd.html Configuration: VPN Setup between hub/HQ and spoke/remote-site Important Note: You do NOT have to do this step as the central VPN server ISR is already setup for you. Instructions in this step are for reference only. If you want to enable access to your local SDM, configure an admin account on your CME: username admin privilege 15 password sdm Launch SDM GUI by using Internet Explorer and doing an http session to the router. http://1.1.x.1 username: admin password: sdm All new routers are pre-loaded with SDM so this would not take any special efforts to install. If you need to install SDM, download the latest zip file from CCO and put the following files on router flash: common.tar, sdm.tar, home.tar, home.shtml and sdmconfig-<platform>.cfg. You will also need to point to the location for http with ip http path flash:. As soon as you launch a browser session to the ISR, you are taken through two initialization screens and then this SDM GUI. For this to work right, you have to enable popups (at least for the CME routers URL).

On this GUI, click on Configure and then on Easy VPN Server. This opens up the following screen:

If AAA is disabled, you need to enable it with the link OR say Yes when you hit the Launch Easy VPN Server Wizard.

Click on Next and then choose the interface that is connected to the WAN side of the network (through which clients/remote-offices connect).

Parameters in the screen above and the following screens can be changed if needed the defaults work fine for most applications.

10

11

12

13

14

In the screen below, the Name of This Group parameter is very important. This should match the group settings on VPN Client. When adding the pool of IP Addresses, use a pool that is not the same network(s) as the device preferably a separate VPN address space. Also put this address space in your routing tables as needed.

15

16

17

Sample Configuration
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname pod10 ! boot-start-marker boot-end-marker ! logging buffered 51200 warnings enable password cisco ! no aaa new-model ! resource policy ! ! ! ip cef no ip dhcp use vrf connected ip dhcp excluded-address 2.2.2.1 2.2.2.100 ! ip dhcp pool lan network 2.2.2.0 255.255.255.0 option 150 ip 1.1.10.1 default-router 2.2.2.2 ! ! no ip domain lookup ip domain name cisco.com ! ! ! voice-card 0 no dspfarm ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

18

voice translation-rule 1 rule 1 /^9/ // ! voice translation-rule 2 rule 1 /^1/ /4085551/ ! voice translation-rule 3 rule 1 /^4085551/ /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 Loopback0 description CME/CUE/VoIP source interface ip address 1.1.10.1 255.255.255.252 ! interface FastEthernet0/0 description WAN ip address 1.1.33.10 255.255.255.0 ip nat outside ip virtual-reassembly duplex auto speed auto ! interface Service-Engine0/0 description AIM-CUE ip unnumbered Loopback0 service-module ip address 1.1.10.2 255.255.255.252 service-module ip default-gateway 1.1.10.1 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto !

19

interface FastEthernet0/3/0 ! interface FastEthernet0/3/1 ! interface FastEthernet0/3/2 ! interface FastEthernet0/3/3 ! interface FastEthernet0/3/4 ! interface FastEthernet0/3/5 ! interface FastEthernet0/3/6 ! interface FastEthernet0/3/7 ! interface FastEthernet0/3/8 ! interface Vlan1 description LAN ip address 2.2.2.2 255.255.255.0 ip nat inside ip virtual-reassembly ! router eigrp 1 redistribute static network 1.0.0.0 auto-summary ! ip route 1.1.10.2 255.255.255.255 Service-Engine0/0 ! ! ip http server ip http authentication local no ip http secure-server ip nat inside source list 100 interface FastEthernet0/0 overload ! access-list 100 permit ip 2.2.2.0 0.0.0.255 any ! ! ! ! ! tftp-server flash:TERM70.7-0-3-0S.loads tftp-server flash:CVM70.2-0-2-26.sbn tftp-server flash:cnu70.2-7-6-26.sbn tftp-server flash:Jar70.2-9-2-26.sbn tftp-server flash:TERM41.7-0-3-0S.loads tftp-server flash:CVM41.2-0-2-26.sbn tftp-server flash:cnu41.2-7-6-26.sbn tftp-server flash:Jar41.2-9-2-26.sbn ! control-plane

20

! ! ! voice-port 0/0/0 description *** PSTN-Phone *** station-id name PSTN-Caller station-id number 4085551000 ! voice-port 0/0/1 cptone JP timeouts initial 120 timeouts interdigit 120 description *** Simulated-PSTN *** ! voice-port 0/1/0 ! voice-port 0/1/1 description *** FXO-Trunk *** ! ! ! ! ! dial-peer voice 1 voip description ** to CUE ** translation-profile outgoing call-cue destination-pattern 109. session protocol sipv2 session target ipv4:1.1.10.2 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 2 voip description ** E164 to CUE ** translation-profile outgoing call-cue destination-pattern 4085551099 session protocol sipv2 session target ipv4:1.1.10.2 incoming called-number 4085551099 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 1000 pots description *** to Analog Phone *** destination-pattern 4085551000 port 0/0/0 ! ! ! ! !

21

gatekeeper shutdown ! ! telephony-service no auto-reg-ephone load 7941 TERM41.7-0-3-0S load 7961 TERM41.7-0-3-0S load 7970 TERM70.7-0-3-0S max-ephones 10 max-dn 50 ip source-address 1.1.10.1 port 2000 dialplan-pattern 1 408555.... extension-length 4 voicemail 1099 max-conferences 8 gain -6 call-forward pattern .T moh en_bacd_music_on_hold.au web admin system name admin password cisco dn-webedit time-webedit transfer-system full-consult transfer-pattern 9.......... transfer-pattern .... secondary-dialtone 9 create cnf-files version-stamp 7960 May 05 2006 00:09:51 ! ! ephone-dn 1 dual-line number 1001 name Pod10-User1 call-forward busy 1099 call-forward noan 1099 timeout 8 ! ! ephone-dn 2 dual-line number 1002 name Pod10-User2 call-forward busy 1099 call-forward noan 1099 timeout 8 ! ! ephone-dn 3 dual-line number 1003 name Pod10-User3 call-forward busy 1099 call-forward noan 1099 timeout 8 ! ! ephone-dn 4 dual-line number 1004 name Pod10-CIPC call-forward busy 1099 call-forward noan 1099 timeout 8

22

! ! ephone-dn 40 number 8000.... no-reg primary name MWI-on mwi on ! ! ephone-dn 41 number 8001.... no-reg primary name MWI-off mwi off ! ! ephone 1 device-security-mode none description 7970 username "userone" password null mac-address 0017.0E01.14E6 type 7970 button 1:1 ! ! ! ephone 2 device-security-mode none description 7961 username "usertwo" password null mac-address 0017.59E9.6A67 type 7961 button 1:2 ! ! ! ephone 3 device-security-mode none description 7941 username "userthree" password null mac-address 0017.5ADF.7FFD type 7941 button 1:3 ! ! ! ephone 4 device-security-mode none mac-address 0005.9A3C.7800 codec g729r8 mtp button 1:4 ! ! !

23

line con 0 exec-timeout 0 0 logging synchronous line aux 0 line 194 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh line vty 0 4 exec-timeout 0 0 privilege level 15 logging synchronous no login transport input telnet ssh line vty 5 15 exec-timeout 0 0 privilege level 15 logging synchronous no login transport input telnet ssh line vty 16 988 exec-timeout 0 0 logging synchronous no login ! scheduler allocate 20000 1000 ntp clock-period 17179890 ntp server 1.1.33.222 ! webvpn context Default_context ssl authenticate verify all ! no inservice ! ! end pod10#

24

CME FXO trunk CME4.0/CUE2.3 First Look

CME FXO Trunk Lab


Purpose:
1. Set up and verify FXO trunk monitor 2. Set up and verify B-ACD in regular and drop-through mode for inbound calls to CO trunk 3. Verify Trunk monitor button optimization 4. Set up and verify CO trunk transfer recall 5. Set up and verify CO trunk auto-line answer 6. Set up and verify Night-service ring

Highlights:
CME 4.0.1 adds the ability monitor the state of a FXO or T1 CAS port that is trunked to an ephone-dn CME 4.0.1 adds the ability monitor to have inbound calls to FXO answered by B-ACD in regular and drop-through mode CME 4.0.1 adds the ability transfer calls from FXO trunk to internal extension. When transfer is committed, call will shift to trunked ephone-dn (button optimization.) CME 4.0.1 adds the ability to directly pick-up an ephone-dn configured for auto-line by going offhook CME 4.0.1 adds the ability to over-ride silent ringing on an ephone-dn during night-service mode

Setup:
For all procedures below, X is your POD number, and Y is the partner POD number. We recommend that you copy the configs in this doc to text editor and replace X with your pod number, and then copy the edited configs to your router console. The variables that need to be modified with your pod# are in red. If you get stuck on any portion of the lab, please refer to the sample solution for the recommended configuration

Instructions:
I. CO trunk Monitor 1. Logon to CME router. Configure ephone-dn 11 and ephone-dn 12 as trunk lines

ephone-dn 11 dual-line number 1X11 name CO trunk1 label Trunk1X11 trunk 1X22 monitor-port 0/1/1

The ability to configure dual-line ephone-dn as trunk line was added with CME 4.0.1 2. Configure dial-peer to trunk to FXO port dial-peer voice 200 pots

destination-pattern 1X22
port 0/1/1 3. Assign ephone-dn 11 to 2nd button of 7970 and 7961. ephone button ! ephone button 1 1:1 2:11 2 1:2 2:11

4. Restart both phones. Verify that the trunk line appears on all phones. Note: Assigning trunk ephone-dn disables onhook redial. You will need to offhook to be able to redial. ephone 1 restart ! ephone 2 restart 5. On 7961, press button labeled CO Trunk1. Verify that you receive dialtone from CO. The LED on 2nd button of 7970 will turn red to indicate line is in use. Press EndCall softkey to disconnect trunk. 6. On 7970, press button labeled CO Trunk1. Verify that you receive dialtone from CO. The LED on 2nd button of 7961 will turn red to indicate line is in use. Press EndCall softkey to disconnect trunk. Prior to CME 4.0.1, a trunked ephone-dn could not tell the status of the FXO port if the port was being used by another ephone-dn or dialpeer. monitor-port x/x/x will show busy state on a trunk ephone-dn if the monitored port FXO or T1 CAS port is in use. This allows users to see the port availability state from the phone For the purposes of the lab, the CO is a loopback cable from FXO port 0/1/1 to a FXS port 0/0/0 on the same CME router. The FXS port is configured for Japanese (JP) dial-tone so you can tell when the CO is being accessed. II.

B-ACD on CO trunk 1. Extract contents of b-acd tar file into flash: pod1# archive tar /x flash:cme-b-acd-2.1.0.0.tar flash: 2. Configure hunt-group: ephone-hunt 1 longest-idle pilot 1X31 list 1X01, 1X02 timeout 5, 5 3. Configure B-ACD queue script. Ignore the Warning: parameter ___ has not been registered under acd namespace messages. application service acd flash:app-b-acd-2.1.0.0.tcl param aa-hunt1 1X31 param aa-hunt2 1X11 param queue-manager-debugs 1 param number-of-hunt-grps 2 param queue-len 30 The call application voice that were used to configure B-ACD commands with 12.3(11)T (CME 3.2) will automatically by IOS and applied to the configuration in the new param format.

4. Configure B-ACD AA script application service main-aa flash:app-b-acd-aa-2.1.0.0.tcl paramspace english index 1 param service-name acd paramspace english language en param second-greeting-time 30 param max-time-vm-retry 2 param max-time-call-retry 60 param voice-mail 1X99 param aa-pilot 1X30 paramspace english location flash: param number-of-hunt-grps 2 param handoff-string main-aa param dial-by-extension-option 3 param call-retry-timer 10 5. Apply the B-ACD AA to the CO trunk dial-peer you created in step1, CO trunk monitor section. dial-peer voice 200 pots service main-aa port 0/1/1 6. Create a dial-peer point to FXS port to route calls into FXO port dial-peer voice 210 pots destination-pattern 8X1 port 0/0/1 7. Write the configuration to memory and reload the router pod1# write 8. Reload the router and wait until phones re-register pod1# reload From analog phone, call 8X1 to simulate an incoming call from CO to FXO. You should hear the B-ACD menu prompt. Note that the CO trunk buttons on 7970 and 7961 turn red to indicate line is in use. Press 1 to reach sales. Verify that 7961 and 7970 handset lamps blinks on and off while call is in queue and number of calls in queue are displayed on their screens. The call to 8X1 is routed to FXS port 0/0/1 and looped back into the FXO port 0/1/1, which triggers the B-ACD AA script Calls in queue indication is a CME 3.2.4 Retail feature that was ported to CME 4.0. 9. Modify the B-ACD AA script to go into drop through mode. application service main-aa param number-of-hunt-grps 1

param drop-through-option 2 param drop-through-prompt en_bacd_welcome.au 10. Reset the B-ACD AA script. pod00#call application voice load main-aa Any changes to the B-ACD parameters require a reset to take effect 11. From analog phone, call 8X1. After the B-ACD welcome greeting, the call bypasses the menu and rings CO Trunk1 directly. CO trunk monitor button optimization 1. From analog phone, call 8x1. the call will ring CO Trunk1. 2. Answer the call on the 7961. Press transfer button and enter 1X01 to place consult call to 7970. 3. Answer the call on the 7970. Verify that the call is on the 1st button. Monitor the display on the 7970 carefully for steps 4-5 4. On the 7961, press the transfer button to execute the transfer. 5. On the 7970, verify that the call shifted from 1x01 to CO Trunk1. When a call is transferred from a shared trunk line to a private extension (intercom in key system terminology) the transferred call will always shift to the button with the shared trunk line. This is called button optimization. This frees the private extension to handle additional calls. Auto-line 1. On the 7961, configure auto-line for the 2nd button ephone 2 auto-line 2 2. On the 7961, lift the handset. Verify the 2nd button is selected by default. Also push the speaker button. Again, verify the 2nd button is selected. 3. From the 7970, call 1X11. Try to answer the call on the 7961 by lifting handset or pressing speaker button. You cannot. The only way to answer the call is to press the 2nd button. Prior to CME 4.0.1, configuring auto-line meant that you could not automatically answer incoming calls.

In this example, the 7961 user must press 2nd button to answer incoming call. Auto-line answer-incoming in CME 4.0.1 resolves this issue. 4. On the 7961, configure auto-line answer-incoming for the 2nd button ephone 2 auto-line 2 answer-incoming 5. From the 7961, call 1X11. Verify that you can now answer the call on the 7961 by lifting handset or pressing speaker button. Auto-line answer-incoming allows you to answer incoming calls to button configured for auto-line. 6. From the 7970, call 1X02. Try to answer the call on the 7961 by lifting handset or pressing speaker button. Instead, line 2 picks up and you receive dial-tone from the CO. The only way to answer the call is to press the 1st button. Auto-line answer-incoming does NOT allow you to answer incoming calls to any button not configured for auto-line. You can select one button only for auto-line. 7. Reset line 1 to be your automatically selected line on your 7961 ephone 2 auto-line 1 answer-incoming III. Night-service ring 1. Set the night service code to *1234 telephony-service night-service code *1234 You do not need to specify night-service hours to enable night service. As long as ephone-dn and ephone has night-service bell configured, you can turn night-service on/off by entering night-service code from an ephone which has an ephone-dn configured for night-service assigned to one of its buttons. 2. Enable night-service on trunk ephone-dn

ephone-dn 11 dual-line night-service bell


4. On 7941, configure trunk ephone-dn for silent ringing and restart the phone

ephone 3 button 2s11

night-service bell restart


5. From the 7970, call 1X11. Verify that the 7941 rings silently. 6. From the 7970 enter *1234 to enable night-service. Night Service Active should appear on your phones to indicate night-service is enabled. 7. From the 7970, call 1X11. Verify that the 7941 rings audibly. Buttons set for silent ring have audible ring during night service mode

Sample Configuration
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname pod1 ! boot-start-marker boot-end-marker ! logging buffered 51200 warnings enable password cisco ! no aaa new-model ! resource policy ! ! ! ip cef no ip dhcp use vrf connected ip dhcp excluded-address 2.2.2.1 2.2.2.100 ! ip dhcp pool lan network 2.2.2.0 255.255.255.0 option 150 ip 1.1.1.1 default-router 2.2.2.2 ! ! 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/ /4085551/ ! voice translation-rule 3 rule 1 /^4085551/ /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 ! ! ! application service acd flash:app-b-acd-2.1.0.0.tcl param aa-hunt1 1131 param aa-hunt2 1111 param queue-manager-debugs 1 param number-of-hunt-grps 2 param queue-len 30 ! service main-aa flash:app-b-acd-aa-2.1.0.0.tcl paramspace english index 1 param service-name acd param drop-through-option 2 param drop-through-prompt _bacd_welcome.au paramspace english language en param second-greeting-time 30 param max-time-vm-retry 2 param max-time-call-retry 60 param voice-mail 1199 param aa-pilot 1130 paramspace english location flash: param number-of-hunt-grps 1 param dial-by-extension-option 3 param handoff-string main-aa param call-retry-timer 10 ! ! ! ! ! ! ! !

10

! ! ! interface Loopback0 description CME/CUE/VoIP source interface ip address 1.1.1.1 255.255.255.252 ! interface FastEthernet0/0 description WAN ip address 1.1.33.1 255.255.255.0 ip nat outside ip virtual-reassembly duplex auto speed auto ! interface Service-Engine0/0 description AIM-CUE ip unnumbered Loopback0 service-module ip address 1.1.1.2 255.255.255.252 service-module ip default-gateway 1.1.1.1 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface FastEthernet0/3/0 ! interface FastEthernet0/3/1 ! interface FastEthernet0/3/2 ! interface FastEthernet0/3/3 ! interface FastEthernet0/3/4 ! interface FastEthernet0/3/5 ! interface FastEthernet0/3/6 ! interface FastEthernet0/3/7 ! interface FastEthernet0/3/8 ! interface Vlan1 description LAN ip address 2.2.2.2 255.255.255.0 ip nat inside ip virtual-reassembly ! router eigrp 1 redistribute static

11

network 1.0.0.0 auto-summary ! ip route 1.1.1.2 255.255.255.255 Service-Engine0/0 ! ! ip http server ip http authentication local no ip http secure-server ip nat inside source list 100 interface FastEthernet0/0 overload ! access-list 100 permit ip 2.2.2.0 0.0.0.255 any ! ! ! ! ! tftp-server flash:TERM70.7-0-3-0S.loads tftp-server flash:CVM70.2-0-2-26.sbn tftp-server flash:cnu70.2-7-6-26.sbn tftp-server flash:Jar70.2-9-2-26.sbn tftp-server flash:TERM41.7-0-3-0S.loads tftp-server flash:CVM41.2-0-2-26.sbn tftp-server flash:cnu41.2-7-6-26.sbn tftp-server flash:Jar41.2-9-2-26.sbn ! control-plane ! ! ! voice-port 0/0/0 description *** PSTN-Phone *** station-id name PSTN-Caller station-id number 4085551100 ! voice-port 0/0/1 cptone JP timeouts initial 120 timeouts interdigit 120 description *** Simulated-PSTN *** ! voice-port 0/1/0 ! voice-port 0/1/1 description *** FXO-Trunk *** ! ! ! ! ! dial-peer voice 1 voip description ** to CUE ** translation-profile outgoing call-cue

12

destination-pattern 119. session protocol sipv2 session target ipv4:1.1.1.2 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 2 voip description ** E164 to CUE ** translation-profile outgoing call-cue destination-pattern 4085551199 session protocol sipv2 session target ipv4:1.1.1.2 incoming called-number 4085551199 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 1000 pots description *** to Analog Phone *** destination-pattern 4085551100 port 0/0/0 ! dial-peer voice 200 pots service main-aa destination-pattern 1122 port 0/1/1 ! dial-peer voice 210 pots destination-pattern 811 port 0/0/1 ! ! ! ! ! gatekeeper shutdown ! ! telephony-service no auto-reg-ephone load 7941 TERM41.7-0-3-0S load 7961 TERM41.7-0-3-0S load 7970 TERM70.7-0-3-0S max-ephones 10 max-dn 50 ip source-address 1.1.1.1 port 2000 system message Pod1 dialplan-pattern 1 408555.... extension-length 4 voicemail 1019 max-conferences 8 gain -6 call-forward pattern .T

13

moh en_bacd_music_on_hold.au web admin system name admin password cisco dn-webedit time-webedit transfer-system full-consult transfer-pattern 9.......... transfer-pattern .... secondary-dialtone 9 night-service code *1234 create cnf-files version-stamp 7960 May 05 2006 00:09:51 ! ! ephone-dn 1 dual-line number 1101 name Pod1-User1 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 2 dual-line number 1102 name Pod1-User2 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 3 dual-line number 1103 name Pod1-User3 call-forward busy 1199 call-forward noan 1199 timeout 8 ! ! ephone-dn 11 dual-line number 1111 label CO Trunk1 name CO Trunk1 night-service bell trunk 1122 monitor-port 0/1/1 ! ! ephone-dn 40 number 8000.... no-reg primary name MWI-on mwi on ! ! ephone-dn 41 number 8001.... no-reg primary name MWI-off mwi off ! !

14

ephone 1 device-security-mode none description 7970 username "userone" password null mac-address 0017.0E01.0F56 type 7970 button 1:1 2:11 ! ! ! ephone 2 device-security-mode none description 7961 username "usertwo" password null mac-address 0017.59E9.6914 type 7961 auto-line 1 answer-incoming button 1:2 2:11 ! ! ! ephone 3 device-security-mode none description 7941 username "userthree" password null mac-address 0017.5A85.0A3B type 7941 button 1:3 2s11 night-service bell ! ! ephone-hunt 1 longest-idle pilot 1131 list 1101, 1102 timeout 5, 5 ! ! ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line 194 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh line vty 0 4 exec-timeout 0 0 privilege level 15 logging synchronous no login

15

transport input telnet ssh line vty 5 15 exec-timeout 0 0 privilege level 15 logging synchronous no login transport input telnet ssh line vty 16 988 exec-timeout 0 0 logging synchronous no login ! scheduler allocate 20000 1000 ntp clock-period 17179805 ntp server 1.1.33.111 ! webvpn context Default_context ssl authenticate verify all ! no inservice ! ! end

16

CME Feature Enhancements CME4.0/CUE2.3 First Look

CME Feature Enhancements Lab


Purpose:
1. 2. 3. 4. 5. 6. Set Set Set Set Set Set up up up up up up and verify Hlog softkey and verify local MoH and verify call park monitored line pickup and verify no-forward local custom ringtones 7970 background images

Highlights:
CME 4.0 adds the ability hlog softkey CME 4.0 adds the ability monitoring the park slot CME 4.0 adds the ability CME 4.0 adds the ability for hunt-group agents to set availability state using to pickup parked calls by pressing the button that is to support local MoH to block call-forwarding for calls from local IP phones

Setup:
For all procedures below, XX is your POD number, and YY is the partner POD number. We recommend that you copy the configs in this doc to text editor and replace XX with your pod number, and then copy the edited configs to your router console. The variables that need to be modified with your pod# are in red. If you get stuck on any portion of the lab, please refer to the sample solution for the recommended configuration

Instructions:
I. Huntgroup Enhancements 1. Logon to CME router. Modify the B-ACD AA script to go into menu mode. application service main-aa param number-of-hunt-grps 3 2. Reset the B-ACD AA script. pod00#call application voice load main-aa

3. Configure hunt-group 1X31. ephone-hunt 1 longest-idle pilot 1X31 list 1X01, 1X02 timeout 5, 5 From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring huntgroup 1X31. 4. Go offhook on 7970. From 7941, call 8X1. After the B-ACD menu prompt, Press 1 to ring hunt-group 1X31. Notice that call still hunts to 7970, even when handset is off-hook. 5. Configure hunt-group 1X31 so that phones that are offhook do not receive hunt-group calls. ephone-hunt 1 present onhook-phone 6. Go off-hook on 7970. From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring hunt-group 1X31. Verify that the call only hunts to the 7961 this time. Present onhook-phone prevents calls from hunting to phones that are offhook. This is for customers who do not want to have agents being disturbed by an incoming hunt-group call while they are in the processing of dialing another number 7. On 7970, press DnD softkey. From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring hunt-group 1X31. Verify that the call only hunts to the 7961. 8. From 7961, call 1X01. Note that with DnD enabled, the 7970 will ring silently for normal calls. Prior to CME 4.0, using DnD to log agent out of hunt-group meant that you also get silent ring for normal calls. In this example, with DnD enabled 7970 does not receive hunt-group calls, but also gets silent ring for all other calls. Hlog softkey in CME 4.0 resolves this issue. 9. While DnD is still enabled on 7970, attempt to configure Hlog softkey pod00# telephony-service pod00(config-telephony)#hunt-group logout hlog Cannot change logout option with logged out agent. All ephone-hunt members must have DnD disabled in order to activate Hlog softkey

10. Disable DnD on 7970. Configure Hlog softkey and restart all phones telephony-service hunt-group logout HLog restart all 11. Verify that Hlog softkey appears on both 7961 and 7970. You will need to press the more button to see the softkey in its default location Hlog softkey is supported on 7940/41/60/61/70/71 12. Apply ephone-templates to make Hlog softkey more accessible and restart the phones ephone-template 1 softkeys idle Redial HLog Cfwdall Dnd Pickup softkeys connected Park HLog Trnsfer Confrn Endcall ! ephone 1 ephone-template 1 restart ephone 2 ephone-template 1 restart 13. Verify that Hlog softkey appears on top screen for both 7970 and 7961. 14. On the 7970, press HLog softkey. Verify that Logged out of Hunt Group appears on display. 15. From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring huntgroup 1X31. Verify that the call only hunts to the 7961. 16. From 7941, call 1X01. Note that 7970 will rings normally. CME 4.0 Hlog softkey allows agent to logout of hunt-group but still receive direct calls normally. 17. Modify hunt-group to customize logout message. ephone-hunt 1 display-logout HASTA LA PASTA 18. Activate Hlog on both 7961 and 7970. 19. Verify that HASTA LA PASTA appears on display of both 7961 and 7970. The logout message will appear when all phones have logged out of a hunt-group. Logout display is a CME 3.2.4 Retail feature that was ported to CME 4.0. It works with Hlog.

20. Deactivate Hlog on 7961. From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring hunt-group 1X31. Verify that the call only hunts to the 7961. 21. While the 7961 is in the idle state, attempt to logout by pressing Hlog softkey. The 7961 will not be allowed to go into idle state If there is at least 1 call in queue, the last agent in a hunt-group will not be allowed to logout. 22. Modify hunt-group to auto logout agents if no one picks up call ephone-hunt 1 auto logout 23. From 7941, call 8x1. After the B-ACD menu prompt, Press 1 to ring huntgroup 1X31. Verify that the call only hunts to the 7961. 24. After the 1st attempt to reach 7961 fails, the 7961 automatically logs out of hunt-group. The call to B-ACD will now forward to VM. The last agent in a hunt-group automatically logout, even if a call is in queue if auto-logout is enabled. II. No Forward Local 1. Configure no-forward local on ephone-dn 1, the DN assigned to the 7970. Also verify that call-forward no-answer to 1X99 is configured on ephone-dn 1. ephone-dn 1 dual-line number 1X01 call-forward noan 1X99 timeout 8 no forward local-calls 2. From 7961 call 7970. Do not pickup call on 7970. Verify that call on 7970 continues to ring indefinitely. 3. From 7961, call 8x1. After the B-ACD menu prompt, Press 3 dial-byextension. Enter 1X01 to call 7970. Verify that this time, call is forwarded to CUE. CME 4.0 can block local calls being forwarded. External POTS or VoIP calls will be forwarded according to call-forward settings. In this example, call from B-ACD is forwarded because the incoming call is routed through the FXO port and is therefore considered a non-local call. III. Call Park pickup on monitored line 1. Configure park slot ephone-dn ephone-dn 31

number 7X01 park-slot timeout 10 limit 3 recall label Park7X01 2. Configure the 7970 to monitor the park slot on its 4th button and restart the phone. ephone 1 button 4m31 restart 3. From 7941, call 7961. Answer call on 7961 and press park softkey 4. Verify 4th button on 7970 turns red, indicating call is parked on monitored park slot. 5. On 7970, press the 4th button. Verify that the call is picked up on 7970 CME 4.0 supports parked call pickup on monitored button. This allows single button press for picking up a parked call on an multibutton endpoint like the 7970 or 7914. IV.

Change background image and Ring types (1) Change background image 1. Verify if the following required PNG images and List.xml files are stored on the flash of the router by entering show flash: TN-CampusNight.png CampusNight.png TN-CiscoFountain.png CiscoFountain.png TN-Fountain.png Fountain.png TN-MorroRock.png MorroRock.png TN-NantucketFlowers.png NantucketFlowers.png List.xml The sample List.xml on the flash contains the following: <CiscoIPPhoneImageList> <ImageItem Image="TFTP:Desktops/320x212x12/TN-Fountain.png" URL="TFTP:Desktops/320x212x12/Fountain.png" /> <ImageItem Image="TFTP:Desktops/320x212x12/TN-FullMoon.png" URL="TFTP:Desktops/320x212x12/FullMoon.png" /> </CiscoIPPhoneImageList> 2. Serve the background image files and List.xml from the flash Go to routers config mode conf t, and enter the following commands to serve the sample image files from the flash: tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server flash:TN-CampusNight.png flash:CampusNight.png flash:TN-CiscoFountain.png flash:CiscoFountain.png flash:TN-Fountain.png flash:Fountain.png flash:TN-MorroRock.png flash:MorroRock.png flash:TN-NantucketFlowers.png flash:NantucketFlowers.png flash:List.xml alias Desktops/320x212x12/List.xml

3. Reset the 7970/ ephone 1 Reset Or from the phone, press Settings + * * # * * 4. From the phone, go to Settings > User Preferences > Background Images on the phone, and then select the file you like to use, Preview, and then Save 5. On CME CLI, enter debug tftp event to verify if needed files (List.xml) could be found and open from the flash

Cisco CME is implemented to support custom ring sounds that are implemented in software as pulse code modulation (PCM) files You may record your own PCM files, or use some sample ring tone files can be used for this lab session. RingList.xml and DistinctiveRingList describe the ring list option available at your site. (2) Change Ring type Before doing this lab, please be sure you have lowered your phones volume to a comfortable level to not to disturb your neighbor 1. Verify if the sameple Ringlist.xml/DistinctiveRingList.xml and all the following ring files .raw are store on routers flash by entering show flash: Analog1.raw Bass.raw Jamaica.raw Chime.raw Pop.raw Ringlist.xml DistinctiveRingList.xml Here is the content of the sample RingList.xml file: <CiscoIPPhoneRingList> <Ring> <DisplayName>Analog Synth 1</DisplayName> <FileName>Analog1.raw</FileName> </Ring> <Ring> <DisplayName>Bass</DisplayName> <FileName>Bass.raw</FileName> </Ring> <Ring> <DisplayName>Chime</DisplayName> <FileName>Chime.raw</FileName> </Ring> <Ring> <DisplayName>Jamaica</DisplayName> <FileName>Jamaica.raw</FileName> </Ring> <Ring> <DisplayName>Pop</DisplayName> <FileName>Pop.raw</FileName> </Ring> </CiscoIPPhoneRingList>

2. Serve/share the following ring files from routers flash: tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server tftp-server flash:Ringlist.xml flash:DistinctiveRingList.xml flash:Analog1.raw flash:Bass.raw flash:Jamaica.raw flash:Chime.raw flash:Pop.raw

3. Reset the 7970 ephone 1 Reset Or from the phone, press Settings + * * # * * 4. Choose the ring option from phones LCD

7970: go to Settings > User Preferences > Rings > 1(1x01) on the phone, and then select the ring type, Play, and then Save Turn on debug tftp events to verify that the phone can download RingList.xml, DisctinctiveRingList.xml and needed .raw files. V. Local Music-on-hold(optional) 1. From 7961 call 7970. From 7970, place call on hold. 2. Verify 7961 hears tone-on-hold. 3. Enable multicast MoH on CME telephony-service multicast moh 239.1.X.1 port 2000 4. From 7961 call 7970. From 7970, place call on hold. 5. Verify 7961 hears music-on-hold. CME 4.0 supports local MoH using multicast. Note that if your IP phones are on a network that does not support multicast, you still get tone-on-hold.

Reference

(1) 7970 Background image format requirements Each background image requires two PNG files: Full size imageVersion that appears on the phone.

Thumbnail imageVersion that appears on the Background Images screen from which users can select an image. Must be 25% of the size of the full size image. The PNG files for background images must meet the following requirements for proper display on the Cisco IP Phone: Full size image320 pixels (width) X 212 pixels (height). Thumbnail image80 pixels (width) X 53 pixels (height).

Color paletteIncludes up to 12-bit color (4096 colors). You can use more than 12-bit color, but the phone will reduce the color palette to12-bit before displaying the image. For best results, reduce the color palette of an image to 12-bit when you create a PNG file. Youll need to copy both Full size and Thumbnail images on to routers flash. (2) Ring tone PCM file format requirements The PCM files for the rings must meet the following requirements for proper playback on Cisco IP Phones: Raw PCM (no header) 8000 samples per second 8 bits per sample uLaw compression Maximum ring size 16080 samples Minimum ring size 240 samples Number of samples in the ring must be evenly divisible by 240 Ring should start and end at the zero crossing

You can use any standard audio editing packages that support these file format requirements to create PCM files for custom phone rings.

10

Sample Configuration
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 ! ! ! ! ! ! ! ! ! !

11

! ! ! ! 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 ! ! ! application service acd flash:app-b-acd-2.1.0.0.tcl param aa-hunt1 12131 param number-of-hunt-grps 2 param queue-manager-debugs 1 param aa-hunt2 12111 param queue-len 30 ! service main-aa flash:app-b-acd-aa-2.1.0.0.tcl paramspace english index 1 param service-name acd paramspace english language en param second-greeting-time 30 param max-time-vm-retry 2 param max-time-call-retry 60 param voice-mail 12199 param aa-pilot 12130 paramspace english location flash: param number-of-hunt-grps 2 param handoff-string main-aa param dial-by-extension-option 3 param call-retry-timer 10 ! ! ! ! ! !

12

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

13

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 ! dial-peer voice 10 voip translation-profile outgoing call-out destination-pattern 9408001.... session target ras incoming called-number 408001.... dtmf-relay h245-alphanumeric codec g711ulaw no vad ! dial-peer voice 200 pots destination-pattern 12122 port 0/0/1 ! dial-peer voice 33 voip destination-pattern B21 ! dial-peer voice 210 pots destination-pattern 821 port 0/1/0 ! ! ! gatekeeper

14

shutdown ! ! telephony-service no auto-reg-ephone load 7910 P00405000700 load 7961-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 hunt-group logout HLog moh en_bacd_music_on_hold.au multicast moh 239.1.21.1 port 2000 web admin system name admin password cisco transfer-system full-consult transfer-pattern .T night-service code *1234 create cnf-files version-stamp 7961 Apr 24 2006 07:16:43 ! ! ephone-template 1 softkeys idle Redial HLog Cfwdall Dnd Pickup softkeys connected Park HLog Trnsfer Confrn Endcall ! ! ephone-dn 1 dual-line number 12101 no-reg primary call-forward busy 12199 call-forward noan 12199 timeout 8 no forward local-calls ! ! ephone-dn 2 dual-line number 12102 no-reg primary call-forward busy 12199 call-forward noan 12199 timeout 8 ! ! ephone-dn 5 number 12105 ! ! ephone-dn 11 dual-line number 12111 label Trunk12111

15

name FXO trunk1 night-service bell trunk 12122 monitor-port 0/0/0 ! ! ephone-dn 12 dual-line number 12112 label Trunk12112 name FXO trunk2 trunk 12122 monitor-port 0/0/0 ! ! ephone-dn 31 number 72101 park-slot timeout 10 limit 3 recall label Park72101 ! ! ephone-dn 33 number A21 no-reg primary moh out-call B21 ! ! 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 ephone-template 1 username "userone" password none mac-address 0013.1A10.6FF1 type 7970 auto-line 2 answer-incoming button 1:1 2s11 3:12 4m31 night-service bell ! ! ! ephone 2 description 7961 on pod21 ephone-template 1 username "usertwo" password none mac-address 000E.38FB.F1C5 type 7961 button 1:2 2:11 !

16

! ! ephone 5 description Teleworker mac-address 0005.9A3C.7800 codec g729r8 mtp button 1:5 ! ! ephone-hunt 1 longest-idle pilot 12131 list 12101, 12102 timeout 5, 5 auto logout 1 display-logout HASTA LA PASTA present-call onhook-phone ! ! ! 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#

17

CUE Integrated Messaging CME4.0/CUE2.3 First Look

CUE Integrated Messaging Lab


Objectives:
1. 2. 3. 4. Set up the Integrated Messaging feature on CUE. Set up profile or account on email client to accept voice messages from CUE. Observe the interaction between CUE and email client. Examine troubleshooting commands.

Highlights:

The Integrated Message feature is available in CUE 2.3 or later release. For Integrated Messaging, both CUE and the IMAP client need to be set up properly.

Activities:
I. Initialize CUE Mailboxes through TUI 1. The CUE mailboxes may not have gone through initial set up. On userones phone (1x01), press the Messages button. Go through the TUI initialization process. For the PIN enter 1234. 2. Repeat the same initialization steps for usertwos mailbox (1x02).

II. Set up Integrated Messaging at CUE (http://1.1.X.2) 1. The steps to enable Integrated Messaging on CUE are: adding an Integrating Messaging group, adding users to the group, and turning on the Integrating Messaging feature. 2. To add a new group, in CUE GUI, go to Configure > Groups. Click on Add. 3. In the new pop-up window, enter the Group ID of this new group as vmimap. Check only the Integrated Messaging box for this group and leave other fields blank. Be sure to click Add to add this group. The CLI equivalent commands for this operation are: # group vmimap create # config term (config)# group vmimap privilege vm-imap To show this groups set up in CLI: # show group detail groupname vmimap 4. Next is to add users to the Integrated Messaging group. In GUI click on the group vmimap which has been just added. In the new pop-up window, click on the Owners/Members tab. Then click on Subscribe Member.

5. Another new window pops up. In this window, click on Find to show all the users on this system. Click on the users to be added. For this lab click on userone and usertwo, then click Select Rows. 6. In the Group Profile vmimap window, the members belonged to this group are shown. Note that only users who belong to a group which has Integrated Messaging turned on can use the Integrated Messaging feature. The CLI equivalent commands for this operation are: # user <user> group vmimap where <user> are userone and usertwo for this lab. To show the members of this group in CLI: # show group detail groupname vmimap 7. The last step is to enable Integrated Messaging on CUE. Go to Voicemail > Integrated Messaging. Check the Enable Integrated Messaging box. This is to enable Integrated Messaging on the whole system. Keep other parameters at default. Click Apply to save configuration.

III. Set up IMAP Email Client 1. The IMAP client can be any IMAP supported email applications such as MS Outlook, MS Outlook Express, or Lotus Note. 2. Generally speaking, though each IMAP mail client is different, the key is to add a new account for the CUE subscriber and get messages from CUE, which serves as an email server. Note that the login and password of the new account must match those set up in CUE. 3. CUE is an IMAP mailer server. So in the mail client, select IMAP. The IP address of the mailer server is CUEs IP address, eg. 1.1.x.2. 4. Below are examples to set up MS Outlook and MS Outlook Express . Adding a new profile on MS Outlook: Note: This profile will not change your existing corporate Mail profile. It simply allows you to demo CUE in the future without showing customers your corporate inbox. a. If your Outlook is running on your laptop, close Outlook. b. On your laptop, go to Start > Settings > Control Panel > Mail. A new window pops up. c. In this new window, press Show Profiles

d. Another window called Mail comes up. Click on the Add button to add a new profile. Name this profile cueimap.

e. The Email Accounts wizard window pops up. In the window, click on Add a new email account. Click Next. f. For Server Type, select IMAP. Click Next.

g. In the next window of E-mail Accounts, enter the user name (any name is fine). h. For email address, enter the CUE user login and CUEs IP address. (eg userone@1.1.x.2, where xx is your pod number). i. For Logon Information, the name and password should match those set up in CUE. (For this lab the login is userone and the password is cisco) j. For Server Information, for Incoming mail server (IMAP), enter CUEs IP address (ie. 1.1.x.2). k. For Outgoing mail server, since no SMTP server is set up for this lab, enter a dummy address (eg. 10.10.10.10). If an SMTP server is available, the domain name of the SMTP server should be entered. l. Click Next and Finish to complete the set up of the Wizard. m. Now go back to the Mail window. It should show the profile (ie. cueimap) that you have just added. Select Prompt for a profile to be used and click OK. Now invoke Outlook. n. When Outlook comes up, it asks for the profile. Select the cueimap profile.

o. If Outlook asks Another account is detected with Outlook Express. Do you want to import it? Say No. Outlook is now ready to receive messages from CUE. Adding a new account on MS Outlook Express: Some laptops may have MS Outlook Express installed. You can use the MS Outlook Express also. a. Invoke MS Outlook Express. (Outlook Express may be hidden in your laptop. Select Start menu > Run and type msimn and click OK to launch MS Outlook Express) b. In Outlook Express, in the Folders column, highlight Local Folder. Then on the Tool bar at the top of the window, go to Tools > Accounts. c. In the new Internet Accounts pop-up window, click Add > Mail. d. For Display name, enter the CUE user login (userone). Click Next. e. For email address, enter the CUE user login and CUEs IP address. (eg userone@1.1.x.2). Click Next. (If DNS and SMTP servers have been set up, domain name can be used instead of IP address.)

f. In the next window, for My Incoming Mail Server, select IMAP. g. For Incoming Mail (IMAP) server, enter CUEs IP address (eg. 1.1.x.2.) h. For Outgoing mail server, since the SMTP server is not set up for this lab, enter a dummy address (eg. 1.1.x.2).here. Click Next. (If an SMTP server is available, the domain name of the SMTP server can be used.)

i.

In the next window, for Account name, enter the user login in CUE (ie. userone). For password, enter the CUE GUI password for this user (the GUI password is cisco). Click Next and Finish.

IV. Examine Messages on IMAP Email Client Note: When a CME phone receives an incoming call, you can press DnD softkey to forward the call to voicemail immediately. 1. From usertwos phone leave several messages in userones mailbox. Mark some of these messages as normal and some urgent. Then on userones phone listen to some of the messages and save a couple of the messages. 2. In the mail client, click on the new account just created. Click on Send/Receive (or similar button) to activate the mail retrieve function of the mail client. 3. The new voice messages in CUE should show up in the mail client. The actual voice message is attached with each email.

4. Listen to all the messages. Once all messages are read, note that the MWI light on the phone is off. 5. Mark one message in the mail client as Unread. Note that the MWI light on the phone is back on. This shows the interaction between CUE and the email client. 6. Note that messages deleted in Outlook are also deleted from CUE V. Troubleshooting 1. The CLI commands to show IMAP configuration is: show group detail groupname vmimap 2. Enter clear trace to clean up old traces. 3. Use the following commands to troubleshoot Integrated Messaging issues: trace imap command request trace imap command response In CUE CLI, enter no trace all to remove the default trace setting. Then enter the two trace commands above. 4. Conduct an IMAP session and use show trace buffer on CUE to view the traces. 5. There are more imap traces available:
cue> trace imap ? all Every entity and activity clienthandler Entity command Entity io Entity

net protocol server util

Entity Entity Entity Entity

Sample trace output of trace imap command response:


cue> sh trace buffer Press <CTRL-C> to exit... 4176 04/17 12:42:31.878 IMP CMD 17 (Sent 10.21.120.247) * OK CUE IMAP4 Server re ady 4176 04/17 12:42:31.926 IMP CMD 17 (Recv 10.21.120.247) 7z71 CAPABILITY 4176 04/17 12:42:31.926 IMP CMD 17 (Sent 10.21.120.247) * CAPABILITY IMAP4rev1 L ITERAL+ 7z71 OK completed 4176 04/17 12:42:31.986 IMP CMD 17 (Recv 10.21.120.247) 9c89 LOGIN Cary 4176 04/17 12:42:32.021 IMP CMD 17 (Sent 10.21.120.247) 9c89 OK completed 4176 04/17 12:42:32.075 IMP CMD 17 (Recv 10.21.120.247) qyjb STATUS INBOX (MESSA GES UNSEEN) 4176 04/17 12:42:32.154 IMP CMD 17 (Sent 10.21.120.247) * STATUS INBOX (MESSAGES 0 UNSEEN 0) qyjb OK completed 4176 04/17 12:42:32.214 IMP CMD 17 (Recv 10.21.120.247) ZZZZ LOGOUT 4176 04/17 12:42:32.221 IMP CMD 17 (Sent 10.21.120.247) * BYE Server logging out ZZZZ OK completed 4172 04/17 12:42:32.286 IMP CMD 15 (Sent 10.21.120.247) * OK CUE IMAP4 Server re ady 4172 04/17 12:42:32.338 IMP CMD 15 (Recv 10.21.120.247) mu0g CAPABILITY 4172 04/17 12:42:32.338 IMP CMD 15 (Sent 10.21.120.247) * CAPABILITY IMAP4rev1 L ITERAL+ mu0g OK completed 4172 04/17 12:42:32.393 IMP CMD 15 (Recv 10.21.120.247) 2ils LOGIN Cary 4172 04/17 12:42:32.429 IMP CMD 15 (Sent 10.21.120.247) 2ils OK completed 4172 04/17 12:42:32.475 IMP CMD 15 (Recv 10.21.120.247) rbq9 SELECT INBOX 4172 04/17 12:42:32.549 IMP CMD 15 (Sent 10.21.120.247) * FLAGS (\Answered \Dele ted \Flagged \Recent \Seen) * 0 EXISTS * 0 RECENT * OK [PERMANENTFLAGS (\Answered \Deleted \Flagged \Seen)] * OK [UIDNEXT 2] * OK [UIDVALIDITY 19087469] rbq9 OK [READ-WRITE] completed 4172 04/17 12:42:32.613 IMP CMD 15 (Recv 10.21.120.247) i7id NOOP 4172 04/17 12:42:32.613 IMP CMD 15 (Sent 10.21.120.247) i7id OK completed 4172 04/17 12:42:32.661 IMP CMD 15 (Recv 10.21.120.247) ZZZZ LOGOUT 4172 04/17 12:42:32.665 IMP CMD 15 (Sent 10.21.120.247) * BYE Server logging out ZZZZ OK completed

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 ! ! ! gatekeeper shutdown ! ! telephony-service 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 username username username username username username admin create userone create usertwo create userone phonenumberE164 "4080012101" usertwo phonenumberE164 "4080012102" userone phonenumber "12101" usertwo phonenumber "12102" Administrators member admin Administrators member userone Administrators member usertwo Administrators member test vmimap member userone vmimap member usertwo Administrators privilege superuser Administrators privilege ManagePrompts Administrators privilege broadcast Administrators privilege local-broadcast Administrators privilege ManagePublicList Administrators privilege ViewPrivateList Administrators privilege vm-imap Broadcasters privilege broadcast

groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname

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

open day 2 from open day 3 from open day 4 from open day 5 from open day 6 from open day 7 from end schedule

00:00 00:00 00:00 00:00 00:00 00:00

to to to to to to

24:00 24:00 24:00 24:00 24:00 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#

CUE Message Notification CME4.0/CUE2.3 First Look

CUE Message Notification Lab


Objectives:
1. 2. 3. 4. Set up and enable Message Notification on CUE. Select the devices and time of notification. Observe the Message Notification in action. 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 userones 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 userones 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 userones 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 datasource seqstream lostream vmstream (Traces for voicemail backend) Datasource for email notification Sequence Input Stream for email notification 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 ! ! ! gatekeeper shutdown ! ! telephony-service 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

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 ! ! ! gatekeeper shutdown ! ! telephony-service 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 username username username username username username admin create userone create usertwo create userone phonenumberE164 "4080012101" usertwo phonenumberE164 "4080012102" userone phonenumber "12101" usertwo phonenumber "12102" Administrators member admin Administrators member userone Administrators member usertwo Administrators member test vmimap member userone vmimap member usertwo Administrators privilege superuser Administrators privilege ManagePrompts Administrators privilege broadcast Administrators privilege local-broadcast Administrators privilege ManagePublicList

groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname

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 open day 2 from 00:00 to 24:00 open day 3 from 00:00 to 24:00 open day 4 from 00:00 to 24:00 open day 5 from 00:00 to 24:00 open day 6 from 00:00 to 24:00 open day 7 from 00:00 to 24:00 end schedule 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#

CUE VoiceView Express CME4.0/CUE2.3 First Look

CUE VoiceView Express Lab


Objectives:
1. Configure and enable VVE. 2. Observe VVE in action. 3. Troubleshoot VVE problems.

Highlights:

The VoiceView Express feature is available in CUE 2.3 or later release. VoiceView Express is a system-wide capability. Once enabled, all mailboxes have this function.

. Activities:
I. Set up VVE on CME and CUE 1. To set up VoiceView Express, it requires set up on both CME and CUE. 2. In CME, add the following IOS commands under telephony-service.
url services http://1.1.x.2/voiceview/common/login.do url authentication http://1.1.x.2/voiceview/authentication/authenticate.do

where x is your pod number 3. Under telephony-service, enter the following to delete and re-create the XML configuration files. When the CME IP phones download these files, they will provision their URL settings based on the configuration you entered in step 2. no create cnf create cnf 4. After the two commands have been added, using the following IOS commands to reset the two CME IP phones.
#conf term (config)# ephone 1 (config)# reset (config)# ephone 2 (config)# reset

5. Access CUE GUI (browser to url http://1.1.x.2. The login/password is admin/cisco), where x is your pod number. 6. In CUE GUI, go to Voicemail > Voiceview Express and ensure that VoiceView Express has been enabled. VoiceView Express is enabled by default. If it is not enabled, check the box to enable this feature while keeping all other parameters the same.

7. To see the voiceview configuration in CUEs CLI, issue show voiceview configuration to see the configuration. Itll look as follows: Cue# show voiceview configuration Phone service URL: http://<cue-hostname>/voiceview/common/login.do Enabled: Yes Idle Timeout (minutes): 5 II. Observe VVE Features in Action Note: When a CME phone receives an incoming call, you can press DnD softkey to forward the call to voicemail immediately. 1. From usertwo call userone and leave multiple voice messages in userones mailbox. Mark some of the messages Urgent. 2. At userones phone, press the Services button to access VVE. The Mailbox ID should already be in place. If not, enter the extension of userone. The PIN is same as the mailboxs PIN. (It is 1234 for this lab). Log in and check the Inbox.

3. Examine the Inbox and listen to the messages. Save some of the messages. Use VoiceView to reply to a message. 4. Use VoiceView Express to compose a message and send it to usertwo. 5. Examine the Inbox to see the number of New messages and Saved messages. 6. Explore other functions available on VVE such as My Options. Maintain the VoiceView session on userones phone and dont log out. 7. Access VoiceView on usertwos phone. Verify that the messages from userone are displayed. 8. While the VoiceView is in session on both phones, go to CUE GUI and go to Voicemail > VoiceView Express > Sessions to observe the active sessions. This can also be seen with the CLI command show voiceview session. The RTP stream indicates that a message is being played. 9. Clear these sessions from CLI (service voiceview session terminate mailbox <extension>). Check in CLI as well as GUI on the status of the sessions. There should be no more active sessions. 10. Try to change your PIN using VVE. 11. Try to change you greeting through VVE. 12. Reply & Forward a message through VVE. 13. Put the system offline by entering offline from CUE CLI. Try accessing VVE. You should see The system is temporarily unavailable message. 14. When finished, enter continue from CUE CLI to return CUE to operation. 15. You can also explore the different message types in the mailbox: new message, new Urgent Message, private message, private Urgent message, broadcast message, Saved Message, Saved Private Message, Deleted Message, Deleted Private Message, message from External Caller. Sort & list these messages through VVE. III. Troubleshoot VVE Problems 1. The most common problem is that after everything has been set up and the Service button on the phone is pressed, but the VoiceView session does not show up. When this happens, it is useful to use the CUE traces to see what is going on. 2. In CUE CLI, clear all other traces with no trace all. Then enter trace voiceview all. This will show all voiceview related activities. Explore other trace voiceview features. 3. Use trace voiceview-ccn all to see only RTP and is related to the VVEs CRA subsystem.

4. In CUE CLI, enter clear trace to clear all previous traces. Then invoke a VoiceView session on the phone. Enter show trace buffer or show trace buffer tail to show the collected traces.

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 ! ! ! gatekeeper shutdown ! ! telephony-service 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 url services http://10.10.100.121/voiceview/common/login.do url authentication http://10.10.100.121/voiceview/authentication/authenticate.do 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 06:44:53 ! ! 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 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 username username username username username username admin create userone create usertwo create userone phonenumberE164 "4080012101" usertwo phonenumberE164 "4080012102" userone phonenumber "12101" usertwo phonenumber "12102" Administrators member admin Administrators member userone Administrators member usertwo vmimap member userone vmimap member usertwo Administrators privilege superuser Administrators privilege ManagePrompts Administrators privilege broadcast Administrators privilege local-broadcast Administrators privilege ManagePublicList Administrators privilege ViewPrivateList Administrators privilege vm-imap Broadcasters privilege broadcast

groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname

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

open day 2 from open day 3 from open day 4 from open day 5 from open day 6 from open day 7 from end schedule

00:00 00:00 00:00 00:00 00:00 00:00

to to to to to to

24:00 24:00 24:00 24:00 24:00 24:00

ccn application autoattendant description "autoattendant" enabled maxsessions 6 script "aa.aef" parameter "busOpenPrompt" "AABusinessOpen.wav" parameter "operExtn" "12101" 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 homestation description "homestation" enabled maxsessions 6 script "homestation23_new.aef" 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 12191 application "homestation" 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 4080012198 application "promptmgmt" enabled maxsessions 1 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 allow-login voicemail default language en_US voicemail default mailboxsize 775 voicemail broadcast recording time 300 voicemail mailbox owner "userone" size 775 end mailbox

voicemail mailbox owner "usertwo" size 775 end mailbox voicemail notification owner usertwo enable voicemail notification owner userone enable end pod21cue>

CUE Auto Attendant CME4.0/CUE2.3 First Look

CUE Auto Attendant Lab


Objectives:

1. Examine AA script debugging 2. Re-record AA prompts

Highlights:

The new Rel 2.3 CUE Editor supports on-line script debugging. This feature is ported from the CRS Editor. Re-record prompts without the need to delete and re-add.

Activities:
I. Load AA Script Run CUEEditor2.3.1.exe to install the 2.3.1 CUE Editor on your laptop. You will also need to extract the contents of lab9-cue-AAhomestation.zip to a folder on your laptop. The zip file contains the following 5 files: HomeStation23.aef HS_Depts.wav HS_Direction.wav HS_StoreHours.wav HS_Welcome.wav 1. Access CUE GUI (browser to url http://1.1.x.2. The login/password is admin/cisco), where XX is your pod number. 2. To load the AA script files, in CUE GUI, go to Voicemail > Scripts. On this page, press the Upload icon. A new window pops up. In the new window, click on the Browse button. Then navigate to the directory where you put the HomeStation23.aef script file. Select the HomeStation23.aef. Once selected, HomeStation23.aef should show up in the Source Fille Name field. Press Upload to load this file to CUE.

3. In CUEs script window, you should see HomeStation23.aef is included in the script list. 4. To load the AA voice prompt files, in CUE GUI, go to Voicemail > Prompts. On this page, press the Upload icon. A new window pops up. 5. In the new window, click on the Browse button. Then navigate to the directory where you put the CUE AA prompt files. Select HS_Depts.wav and click Upload.

6. In CUEs prompt page, HS_Depts.wav file should show up in the prompt list.

7. Repeat Steps 7 and 8 until the other three prompt files are loaded (HS_Direction.wav, HS_StoreHours.wav, HS_Welcome.wav.) Note: The script and prompt files can only be loaded one at a time. 8. When done, all four prompt files should show up in the Prompt list. 9. To create the Auto Attendant, in CUE GUI, go to VoiceMail > Auto Attendant. Click on Add. In the new pop-up window, for Select Automated Attendant Script , select HomeStation23.aef. For Application name, add homestation. Then click Next to go to the next window.

10. Click Next again to reach the Call Handling window. For the Call-in Number, enter 1X91, where X is your pod number. Click Finish.

II. AA Script Debugging 1. Install the new 2.3.1 AA Editor on your laptop if you have not already done so. 2. Invoke the AA Editor on your laptop. In the CUE Editor, click on Tool > Option. In the pop up Options window, for Hostname, enter the CUEs IP address, 1.1.x.2, where X is your pod number 3. Click on Debug > Reactive Script. The CUE Editor will go to the CUE module to see what scripts are available. Select the homestation23.aef script. It may take the CUE Editor a minute to find the file. Nothing will come up on the CUE Editor until you call the AA pilot number.

4. On userones phone, dial the pilot number (1x91) for the homestation AA. 5. The script will now come up in the CUE Editor. As shown in the following screen capture, click on the Start arrow to execute the script debugger. The AA script will not start until you press the Start arrow.

start the script

NOTE: If you abort the AA process on the phone, you need to click on Debug > Reactive Script and select the script file again, in order to continue the process. 6. On the phone you can hear that the AA responds and simultaneously in the CUE Editor the steps are shown running through the script. The present step is playing the HS_Welcome prompt, which is highlighted as shown in the screen capture below.

7.

On the IP phone, the script is playing the Welcome message and asking to select the option: Press 1 Store Hours, 2 for Direction, 3 for a particular Department. Select Option 1 for Store Hours. Watch the script going through the steps. The script returns to the MainMenu step and plays the Welcome message again. This time on the phone select Option 3 for Department. In the script the step is at: Menu (contact: --Triggering Contact--, prompt: HS_Depts) On the phone, select 2 for Hardware. The system attempts to ring a phone but returns with Im sorry. We are currently experiencing system problem Note in the script the Auto Attendant Ends at the Invalid step under Hardware. This indicates a problem around this area. (shown as box 1 in the screen capture below)

8. 9.

10. 11. 12.

2 1

13.

The only variable in this step is extension:extension. This is the culprit of where the problem can be. (as shown in box 2 above) All the variables are located at the lower left corner of the CUE Editor. Examine the value for the name extension (as shown above in box 3). What does it show? Is the value for extension a valid extension for this CME/CUE system? Right click on extension variable (in box 3). A few selections show up. Select Modify Variable. In the pop-up Edit Variable window, change the value in the Value field to 1x02, where x is your pod number. Remember to enclose the number with a double quote. On the CUE Editor, save this modified file as homestation23_new.aef.

14.

15. 16.

17.

III. Run the Modified AA Script 1. The modified script has to be uploaded from your laptop to CUE. Use CUE GUI to upload the homestation23_new.aef file. When done, go to Voicemail > Scripts to verify that the new script is loaded in CUE. Go to Voicemail > Auto Attendant. In the list click on homestation. In the new pop up window, at Select Automated Attendant Script, select the homestation23_new.aef file for Homestation. Click Next and then click Finish.

2. 3.

4. 5. 6. 7.

In the CUE Editor, go to Debug > Reactive Script and select the homestation23_new.aef file. On userones phone dial 1x91 to access the Homestation AA script. When AA responds, select Option 3 for Departments and then Option 2 for Hardware. This time it should function properly and ring the 1x02 phone. Note that in the script you can also set up breakpoint such that the script will stop when it hits a breakpoint. This greatly facilitates script debugging.

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 ! ! ! gatekeeper shutdown ! ! telephony-service 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 username username username username username username admin create userone create usertwo create userone phonenumberE164 "4080012101" usertwo phonenumberE164 "4080012102" userone phonenumber "12101" usertwo phonenumber "12102" Administrators member admin Administrators member userone Administrators member usertwo vmimap member userone vmimap member usertwo Administrators privilege superuser Administrators privilege ManagePrompts Administrators privilege broadcast Administrators privilege local-broadcast Administrators privilege ManagePublicList Administrators privilege ViewPrivateList Administrators privilege vm-imap Broadcasters privilege broadcast

groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname groupname

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 calendar biz-schedule systemschedule open day 1 from 00:00 to 24:00 open day 2 from 00:00 to 24:00 open day 3 from 00:00 to 24:00 open day 4 from 00:00 to 24:00 open day 5 from 00:00 to 24:00 open day 6 from 00:00 to 24:00 open day 7 from 00:00 to 24:00 end schedule

ccn application autoattendant description "autoattendant" enabled maxsessions 6 script "aa.aef" parameter "busOpenPrompt" "AABusinessOpen.wav" parameter "operExtn" "12101" 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 homestation description "homestation" enabled maxsessions 6 script "homestation23_new.aef" 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 12191 application "homestation" 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 allow-login voicemail default language en_US voicemail default mailboxsize 775 voicemail broadcast recording time 300 voicemail mailbox owner "userone" size 775 end mailbox voicemail mailbox owner "usertwo" size 775 end mailbox voicemail notification owner usertwo enable voicemail notification owner userone enable end

CME SIP Trunk

CME4.0/CUE2.3 First Look

page 1

Lab setup overview: Remote VTA: DHCP TFTP Server: 1.1.33.222 CME IP Address: 1.1.X.1 SIP trunk proxy: 1.1.33.222 DID numbers: 408-555-1X01 to 408-555-1X03 Note: For all exercises X represents the POD number Exercise 1 SIP Trunking (CME-to-SIP AS)
Cisco.com

As you start this exercise, CME and CUE should already be configured on the router. This exercise will add SIP trunk configuration for PSTN access such as in SIP trunk service provider scenario. 1) Check to make sure all the phones are registered to CME
PodX#show ephone registered

You should see something like the following for all three phones:
ephone-1 Mac:0008.218C.05D8 TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 5 mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 IP:2.2.2.101 49970 Telecaster 7960 keepalive 13 max_line 6 button 1: dn 1 number 1001 CH1 IDLE CH2 IDLE

2) Well obtain four digits extension, 1XXX off of the E.164 number. Check to make sure the configuration is already there. If not, add the following.
! telephony-service calling-number initiator dialplan-pattern 1 408555.... extension-length 4 !

3) Disable registration of extension number and register only the E.164 DID number. Check to make sure the configuration is already there. If not, add the following.
! ephone-dn 1 dual-line number 1X01 no-reg primary ! ephone-dn 2 dual-line number 1X02 no-reg primary !

page 2

4) Enable SIP user agent on the CME. Got to conf t and configure the following:
! Voice service voip allow-connections sip to sip sip header-passing registrar server expires max 1800 min 1800 !

5) Register the CME phones to SIP proxy. Got to conf t and configure the following:
! Sip-ua authentication username podx password podX registrar ipv4:1.1.33.222 expires 1800 sip-server ipv4:1.1.33.222 no remote-party-id retry invite 2 retry register 10 timers connect 100 !

6) Enter show sip-ua register status to verify all phones have registered successfully to the registrar.
PodX#show sip-ua register status Line peer expires(sec) ============ ============= ============ 4085551X01 40002 379 4085551X02 40003 379 4085551X03 40003 379 registered =========== yes yes yes

7) You will use 9 prefix to call other pods. Configure translation rule to strip 9 prefix for outbound calls. Also configure the translation-rule to convert incoming called number to extension number. Got to conf t and configure the following:
! voice translation-rule 1 rule 1 /^911$/ /911/ rule 2 /^9\(.*\)/ /\1/ ! voice translation-profile PSTN_Outgoing translate called 1 ! voice translation-rule 2 rule 1 /^4085551/ /1/ ! voice translation-profile Incoming_Call translate called 2 translate redirect-called 2

page 3

8) Configure dial-peer to route SIP calls to proxy. Got to conf t and configure the following:
! dial-peer voice 100 voip description ** dial peer for inter-pod call ** translation-profile outgoing PSTN_Outgoing destination-pattern 9408555.... session protocol sipv2 session target sip-server dtmf-relay rtp-nte ip qos dscp cs5 media ip qos dscp cs4 signaling codec g711ulaw no vad ! dial-peer voice 101 voip description ** Incoming call from SIP trunk ** translation-profile incoming Incoming_Call session protocol sipv2 session target sip-server incoming called-number .% dtmf-relay rtp-nte ip qos dscp cs5 media ip qos dscp cs4 signaling codec g711ulaw no vad !

9) Configure the dial-peer to route call to CUE voicemail. Got to conf t and configure the following:
! dial-peer voice 1 voip destination-pattern 1X99 b2bua session protocol sipv2 session target ipv4:1.1.X.2 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 2 voip translation-profile outgoing Incoming_Call destination-pattern 4085551X99 b2bua session protocol sipv2 session target ipv4:1.1.X.2 dtmf-relay sip-notify codec g711ulaw no vad !

10) Call the SCCP phones in your partner pod by dialing 9-408-555-1YZZ. If you are in pod1, call pod2, and so forth. Y is the partner POD and ZZ is 01, 02 or 03 for SCCP. Example: if you are in POD1, and are calling the SCCP phone with extension 1201 in POD2 you will dial 9-408-555-1202. page 4

Verify the following: podx#show call active voice | include SIP


SIP call-legs: 1 SIP call-legs: 1

podx#show call active voice compact


<callID> A/O FAX T<sec> Codec Total call-legs: 2 19 ANS T352 g711ulaw 20 ORG T352 g711ulaw type TELE VOIP

Peer Address P4085551302 P4085551102

IP R<ip>:<udp> 1.1.33.222:18188

11) Verify the following call flow: 1. Basic call - Dial 9-408-555-1Y02 from 1X01 extension - 1Y02 answers the call - Verify bi-directional voice path 2. Transfer call - Dial 9-408-555-1Y02 from 1X01 extension - 1Y02 answers the call - 1Y02 press Transfer to initiate a transfer to 1Y01 - When 1Y01 hears ringback tone, press Transfer to transfer the call - Verify bi-directional voice path 3. 3-Way conference - Dial 9-408-555-1Y02 from 1X01 extension - 1Y02 answers the call - 1Y02 press Conference to initiate a conference to 1Y01 - When 1Y02 answers the call, press Conference again - Verify all parties can hear each other 12) Enable Show and Debugs command to verify and debug SIP trunk related issues. 1) Debug SIP messages PodX# debug ccsip message a. REGISTER
Apr 17 14:48:27.675: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Sent: REGISTER sip:1.1.33.33:5060 SIP/2.0

page 5

Via: SIP/2.0/UDP 1.1.33.4:5060;branch=z9hG4bKC1BA2 From: <sip:4085550401@1.1.33.33>;tag=962B8-864 To: <sip:4085550401@1.1.33.33> Date: Mon, 17 Apr 2006 14:48:27 GMT Call-ID: 1064F63D-CD5811DA-8008B986-5965CD0C User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 70 Timestamp: 1145285307 CSeq: 2 REGISTER Contact: <sip:4085550401@1.1.33.4:5060> Expires: 3600 Content-Length: 0

b. AUTHENTICATION
Apr 17 14:48:27.679: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Received: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 1.1.33.4:5060;branch=z9hG4bKC1BA2 From: <sip:4085550401@1.1.33.33>;tag=962B8-864 To: <sip:4085550401@1.1.33.33>;tag=E6DE44-759 Date: Mon, 17 Apr 2006 22:16:09 GMT Call-ID: 1064F63D-CD5811DA-8008B986-5965CD0C Server: Cisco-SIPGateway/IOS-12.x Timestamp: 1145285307 CSeq: 2 REGISTER WWW-Authenticate: Digest realm="cisco.com",nonce="7644F2330017163A",algorithm=MD 5,qop=auth Content-Length: 0 Apr 17 14:48:27.683: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Sent: REGISTER sip:1.1.33.33:5060 SIP/2.0 Via: SIP/2.0/UDP 1.1.33.4:5060;branch=z9hG4bKD529 From: <sip:4085550401@1.1.33.33>;tag=962B8-864 To: <sip:4085550401@1.1.33.33> Date: Mon, 17 Apr 2006 14:48:27 GMT Call-ID: 1064F63D-CD5811DA-8008B986-5965CD0C User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 70 Timestamp: 1145285307 CSeq: 3 REGISTER Contact: <sip:4085550401@1.1.33.4:5060> Authorization: Digest username="pod04",realm="cisco.com",uri="sip:1.1.33.33:5 060",response="cb7da0ae37a6d341defcd225541aa0e7",nonce="7644F2330017163 A",cnonce ="49D6229D",qop=auth,algorithm=MD5,nc=00000001 Expires: 3600 Content-Length: 0

c. INVITE
Apr 17 14:53:02.095: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Received: INVITE sip:4085550401@1.1.33.4:5060 SIP/2.0 Via: SIP/2.0/UDP 1.1.33.33:5060;branch=z9hG4bKE11E0 Remote-Party-ID: <sip:4085550102@1.1.33.33>;party=calling;screen=no;privacy=o ff

page 6

From: <sip:4085550102@1.1.33.33>;tag=EB0E3C-120C To: <sip:4085550401@1.1.33.4> Date: Mon, 17 Apr 2006 22:20:43 GMT Call-ID: 3EAFB426-CD9711DA-913DF5BC-6BBCC379@1.1.33.33 Supported: 100rel,timer,resource-priority,replaces Min-SE: 1800 Cisco-Guid: 2940951976-3449164250-2247220882-3399926223 User-Agent: Cisco-SIPGateway/IOS-12.x Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF Y, INFO, REGISTER CSeq: 101 INVITE Timestamp: 1145312443 Contact: <sip:4085550102@1.1.33.33:5060> Expires: 180 Allow-Events: telephone-event Max-Forwards: 69 Content-Type: application/sdp Content-Disposition: session;handling=required Content-Length: 271 v=0 o=CiscoSystemsSIP-GW-UserAgent 3845 2872 IN IP4 1.1.33.33 s=SIP Call c=IN IP4 1.1.33.33 t=0 0 m=audio 16974 RTP/AVP 0 101 19 c=IN IP4 1.1.33.33 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:19 CN/8000 a=ptime:20

d. REDIRECT
Apr 17 14:54:06.055: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Sent: SIP/2.0 302 Moved Temporarily Via: SIP/2.0/UDP 1.1.33.33:5060;branch=z9hG4bKE38FE From: <sip:4085550102@1.1.33.33>;tag=EBE0F4-15F To: <sip:4085550401@1.1.33.4>;tag=E6564-1D8A Date: Mon, 17 Apr 2006 14:53:56 GMT Call-ID: 5ED6E72D-CD9711DA-9149F5BC-6BBCC379@1.1.33.33 Timestamp: 1145312497 Server: Cisco-SIPGateway/IOS-12.x CSeq: 101 INVITE Allow-Events: telephone-event Diversion: <sip:4085550401@1.1.33.4:5060>;reason=no-answer Contact: <sip:4085550499@1.1.33.4> Content-Length: 0 . . . Apr 17 14:54:06.087: //-1/XXXXXX/SIP/Msg/ccsipDisplayMsg: Received: INVITE sip:4085550499@1.1.33.4:5060 SIP/2.0 Via: SIP/2.0/UDP 1.1.33.33:5060;branch=z9hG4bKE5EEA Remote-Party-ID: <sip:4085550102@1.1.33.33>;party=calling;screen=no;privacy=o ff From: <sip:4085550102@1.1.33.33>;tag=EC0838-2304 To: <sip:4085550499@1.1.33.4>

page 7

Date: Mon, 17 Apr 2006 22:21:47 GMT Call-ID: 64D4B765-CD9711DA-914DF5BC-6BBCC379@1.1.33.33 Supported: 100rel,timer,resource-priority,replaces Min-SE: 1800 Cisco-Guid: 3480392007-3449164250-2248072850-3399926223 User-Agent: Cisco-SIPGateway/IOS-12.x Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIF Y, INFO, REGISTER CSeq: 101 INVITE Timestamp: 1145312507 Contact: <sip:4085550102@1.1.33.33:5060> Diversion: <sip:4085550401@1.1.33.33>;privacy=off;reason=noanswer;screen=no Expires: 180 Allow-Events: telephone-event Max-Forwards: 69 Content-Type: application/sdp Content-Disposition: session;handling=required Content-Length: 247 v=0 o=CiscoSystemsSIP-GW-UserAgent 3368 8534 IN IP4 1.1.33.33 s=SIP Call c=IN IP4 1.1.33.33 t=0 0 m=audio 19274 RTP/AVP 0 101 c=IN IP4 1.1.33.33 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20

2) To show whether phones have registered with the SIP registrar, use the following command:
PodX#show sip-ua register status Line peer expires(sec) ============ ============= ============ 4085551X01 40002 379 4085551X02 40003 379 4085551X03 40004 379 registered =========== yes yes yes

3) To force re-registration with the Registrar, use the following commands: a. PodX(config)#sip-ua PodX(config-sip-ua)#no registrar PodX(config-sip-ua)#do show sip-ua register status
Line ============ peer ============= expires(sec) ============

registered ===========

PodX(config-sip-ua)#registrar ipv4:1.1.33.222 PodX(config-sip-ua)#do show sip-ua register status


Line ============ peer ============= expires(sec) ============ registered ===========

page 8

4085551X01 4085551X02 4085551X03

40002 40003 40004

379 379 379

yes yes yes

PodX(config-sip-ua)#end

page 9

Quick Configuration Tool(QCT) CME4.0/CUE2.3 FirstLook

Management QCT - Lab


Pre-setup Go to next Setup section of lab if you have already extracted contents of zip file to your laptop. 1. Create c:\qct folder on your laptop. 2. Open the qct-v203.zip file using Winzip. Click Extract contents of zip into c:\qct folder. NOTE: You must extract files using All files/folder in archive option. If you do not do this QCT will fail. Also, the path (c:\qct above) should be a short path as some versions of Windows do not work well with a long path under large number of sub-directories. Setup 1. Double click C:\qct\NetCommOCX\Setup.exe to install console port application. 2. After installation is complete, reset PC. If you have done this for prior installations of QCT, this step is not required.

Note: This lab will not configure a real router but will walk you through the process of doing so and also introduce new features.

Run QCT 1. Right-click C:\qct\QCT.htm and open it with Internet Explorer (if IE is your default browser, you may double-click on this file). 2. License Agreement page opens. Click Accept. 3. Internet Explorer may generate ActiveX control warning. Click Yes to bypass warning. 4. System Parameters Window opens. Enter General System Information as follows. On top of this window, there is a way to reset router to factory defaults if the hostname and password are provided and the Reset Router button is clicked, the tool does a write-erase on the router and resets CUE to factory defaults. All configs and data is lost on router and CUE please use this cautiously.

For this lab, fill out details as follows: Company Name: Cisco Systems Routers hostname: podX, where X is the pod number How many IP phones going to be deployed: 5 Administrator User ID: admin Administrator Password: cisco Time Zone: GMT -8 (Pacific) Daylight Saving: Checked
Save Generated Configuration to the Start-Up config on the router: Checked

5. For a real deployment, clicking the Auto Detect Hardware Configuration would detect the router type, modules installed and CUE details. For purposes of this lab, fill out the following: 6. Manually enter location of CUE from drop-down menu. Unity Express location must be selected to continue with configuration.

7. Select System Type Configuration as follows:


How will the system be configured? Configure as a PBX How will the system be configured? Custom Configuration on

8. Enter network parameters as follows. All subnet masks are 255.255.255.0


DHCP Network IP address Subnet Mask DHCP Exclude address CME IP Address Subnet Mask NTP server 1 IP address PODX 2.2.2.0 255.255.255.0 2.2.2.1 to 2.2.2.100 1.1.X.1 255.255.255.0 1.1.X.1

9. Check the box that says Will Cisco Voicemail be used and enter voicemail Parameters:
Voice MailSystemType CUE Feature License CUE IP Address Auto Attendant Pilot Number Voicemail access number PODX Cisco Unity Express 12 Mailboxes 1.1.X.2 1X97 1X99

Leave rest of content as default Part 1: 10. Click Go To Phone Parameters. At IP Phone Parameters Screen, enter extensions as follows. Enter MAC addresses manually.
Phone Type, Extension, UserID Password Call Forward Busy/No-answer Ringing Timeout POD1 7970, 2001, user1 7970, 2002, user2 7970, 2003, user3 1234 1500 10

11. After entering phone parameters, click Generate Configuration. Configuration will be generated in new window. When prompted to push configuration into router, click Cancel. If you were connecting to real routers, clicking the OK button would push configuration to the router. 12. Verify that the configuration generated is what was expected (from your knowledge of CME). This tool has been tested and verified to work right but this step gives you practice in reading CME configs. Part 2: 1. Browse to c:\qct\data on your computer and open the file called qct-bat.csv 2. Edit this file to fill in 5 rows with names of your team mates and parameters as in Part 1 of this lab. Save this file as qct-lab-part-2.csv (say ok when Excel says formatting would be lost). 3. The window that is open during step 10 (Phone parameters) is used for this step. On this window, click the button Load Bat File. 4. Click on the Browse button and browse to c:\qct\data and select the file you created in step 2 above called qct-lab-part-2.csv 5. Click on the Load Bat button 6. This populates the fields with the information from BAT file. 7. Repeat steps 11 and 12 from Part 1 of this lab.

Das könnte Ihnen auch gefallen