Wednesday, December 15, 2010

CME - CUE Integration

CUE-CME Configuration:
!
----------------------------
Part 1 : Service Module
---------------------------
!
Br2-RTR# interface service-engine 0/0
Br2-RTR# no shut                           ! Don't forget this. Saves time.
Br2-RTR# ip unnumbered vlan400   ! Any L3 Interface you wanna bind ur Ser-Eng to.
Br2-RTR# service-module ip address 10.10.202.2 255.255.255.0
Br2-RTR# service-module ip default-gateway 10.10.202.1
!
Br2-RTR# ip route 10.10.202.2 255.255.255.255 service-engine 0/0
!
! Optional Commands
!
Br2-RTR# service-module service-engine 0/0 reset ! Do only if you cannot ping the module.
Br2-RTR# service-module service-engine 0/0 session ! Module reboots-takes time 10 Min.
Br2-RTR# service-module service-engine 0/0 session clear ! if connection refused
!
Now we go to the CUE Module & see if the License File is proper or not.
!
CUE# sh software license
!
! Now if the License needs to be downloaded, it has to be FTP only. Command for the same is:
!
CUE# software install clean url ftp://10.10.210.5/license_file_name.pkg username cisco password cisco
CUE# offline
CUE# restore factory default
CUE# reload   ! wait for 10 Minutes (Ctrl-Shift-6-X --> to go back to RTR)
!
------------------------------------
Part 2 : SCCP CA Configuration
------------------------------------
!
Br2-RTR# telephony-service
Br2-RTR# vociemail 3600
Br2-RTR# web admin system name admin password cisco
Br2-RTR# call-forward pattern .T ! Required for only IP-IP Calls.
Br2-RTR# transfer-pattern .T ! Required for only IP-IP Calls.
!
Now we conf the HTTP Servers
!
Br2-RTR# ip http server
Br2-RTR# ip http path flash:/GUI
!
Now we define the Dial-Peer
!
Br2-RTR# dial-peer voice 3600 voip
Br2-RTR# session protocol sipv2
Br2-RTR# destination-pattern 3[126]00
Br2-RTR# session-target ipv4:10.10.202.2 ! IP of the Ser Module
Br2-RTR# codec g711ulaw
Br2-RTR# no vad
Br2-RTR# dtmf-relay sip-notify
!
! MWI Config. This is the SIP Outcalling Method
!
Br2-RTR# ephone-dn 3
Br2-RTR# number 3999....
Br2-RTR# mwi on
!
Br2-RTR# ephone-dn 4
Br2-RTR# number 3998....
Br2-RTR# mwi off
!
Br2-RTR# ephone 2
Br2-RTR# username br2phn2 password 12345  ! Assign username to Ephone Before CUE Configuration.
!
----------------------
Part 3 : SIP Phones
----------------------
!
Sip devices can have their MWI relayed in 2 methods:
1. Subscribe-Notify
2. Unsolicited NOtify
!
Subscribe Notify:
!
Br2-RTR# sip-ua
Br2-RTR# mwi-server ipv4:10.10.202.2
!
Br2-RTR# voice register dn 2
Br2-RTR# mwi
!
Br2-RTR# voice register global
Br2-RTR# voicemail 3600
!
Br2-RTR# voice register dn 2
Br2-RTR# call-forward b2bua noan 3600 time 12
Br2-RTR# call-forward b2bua busy 3600 time 12
Br2-RTR# call-forward b2bua mailbox 3006
!
Br2-RTR# voice register pool 2
Br2-RTR# dtmf-relay rtp-nte ! SIP Phones don't support SIP-Notify as DTMF, so we'll need RTP-NTE
!
Now reset the phones & create profile under voice register global.
!
-------------------------
Part 4 : CUE Wizard
-------------------------

Here you put basic settings like DNS(If Reqd), NTP etc. Most imp you assign a Username & Passwd for Web Login.
CUE Will auto receive info for the Ephones & Tel-Service & creates VM For the same. But for SIP Phones you will need to create them.
This Completes the CLI Initialization of the CUE Module. Now we go to the Web for the Complete Configuration.

Links to Important Docs for CCIE Voice ( Work in Progress)...

Documentation Roadmap: These are the best links in the Doc Page for the following topics.
---------------------------------------------------------------------------------
1. SCCP DSP Farm for UCM Configuration : IOS -- 12.4T -- Config Guides -- Voice Config Library -- Interoperabillity Guide
2. Gatekeeper : USM SRND
3. CUBE Examples: USM SRND
4. FR QOS : IOS >> 12.4 >> QOS/WAN for (VATS)
5. CUE Integration : CUE Configuration Guides & Tech Notes
6. CME Features : Admin Guide
7. Presence Integration : NONE
8. Gatekeeper matching algo SRND page number : 519
9. Dial-Peer Examples : CME Admin Guide
10. Transaltion Rules : CME Admin Guide
11. COR Lists : USM SRND & CME Admin Guide ( Call Blocking )
12. CME SIP Configs : CME -- Config
13. LLDP-MED : Doc Page -- Products -- Switches -- Access -- 3750 --
Config Guides -- 12.4 (ur IOS Version No.) This is good for also QOS.
14. MOH from Flash : SCCP SRST Config Guide
15. CUE-CUC Networking
16. IP Phone Agent Service URL : CUCM >> Troubleshootin Tech Notes >> One BUtton Login
17. IPPM URL:
18. EM URL: Features Guide >> Search Pattern "DEVICENAME" OR UCM Tech notes.
19. VM URL or SQL Insert: UCM Release Notes
20. MVA Service URL: Features Guide
21. Background Image Doc : CCM >> Config Eg & Tech Notes >> Search ''Image''.
22. BACD : CUCME >> Configuration Guides
23. CUE-CME SCCP Integratiion : CUCME Config Guides & Tech Notes .
24. SIP CME Configs :- CME >> CFG Guides & Tech Notes >> SIP Implementation Guide ***COOL***
25. Upgrade IP Phone Firmware with CCME : CME >> CFG Guides & Tech Notes.
26. CUE - CCM : CUE Config Guides & Tech Notes >> CallManager for Cisco Unity
Express Configuration Example. This Doc even has the CTI (2748) ACL Example.
27. COR List Eg : 1. CME Admin Guide >> Call Blocking
2. CCM SRND With SRST ( Ch 10 Page 50) ***** COOL ******
28. MMOH from SRST Router ( Or MMOH from Flash)
SCCP SRST Guide >>

Multicast MOH from Flash

Here is the config with my notes:

sh flash | i music-on
ccm-manager music-on-hold
call-manager fallback
moh music-on-hold.au
multicast moh 239.1.1.1 port 16384 route 10.10.201.1 10.10.110.2

! 239.1.1.1 port 16384 will be applicable for the First MOH Server. If you use SUB,
! it will be 239.2.1.1 port 16384. This is incrementing on IP add. Also beware that
! if you're using different CODEC, then this will be 239.1.1.3. So 3 Golden Rules by Vik:
! 1. Have only 1 MOH Server for BR1 site
! 2. Use only audio source 1 file system wide
! 3. Put this MOH Server in G711 DP

debug ephone moh
debug ccm-manager music event
sh ccm-man music

! The best way to block the multicast now coming from HQ is to remove PIM config from the
! HW RTR PVC.
! When you get Tone-ON-Hold -- CCM Has Issues
! When Dead Air -- Infra has issue
! You cannot XCode Uni/Multi MOH Stream. Multicast MOH Stream is exempt from Location CAC Deduction