Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Integration
Ryan Bennett
Overview
x1000
Corporate
Network
CUCM 6.1.2 x1002
10.88.192.207
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
4
High-Level Components and Protocols
SCCP/SIP
IP Phone
Cisco Unified
Communications Manager
JTAPI
IP of CUCM Server
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
6
CTI ports that you
created in CUCM server
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
7
We are only concerned
About VM mailboxes
1000, 1001, 1002, 2000
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
8
Configure > Users
Click on a user, then
Go to groups tab
Then Subscribe as
member button,
Then do a search
For the DN of the
Hunt pilot/mailbox
Number (in this
Case its 2000)
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
9
Inside CUCM server:
CM Administration >
User Management >
Application User >
Add New > Type
The same information
In for User ID/PW as
You do in the CUE Call
Manager setup. This is
Your JTAPI User.
In CUCM 5.x/6.x you will see Permissions Information down at the bottom of
That page. You must have Standard CTI Enabled in both the Groups and
Roles boxes.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
10
Adding CTI Port:
CM Administration >
Devices > Phones >
Add New/Find > CTI Port
These ports are like
Phones, the will show
Registered
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
11
Inside the Device/Phone
Configuration page of
The CTI Port.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
12
This is the DN of the
CTI Port. This
DN only relates to this
Port. It does not in any
Way need to be
Associated with anything
Else (other than inside
CUE config). So be sure
That it only has one
Association.
Everything below what you see is left at the default settings. So Call Forward, MLPP,
And everything else are just blank.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
13
Device > CTI Route Point
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
14
This is the configuration For the
CTI Route Point. Look down at
The bottom and youll see 5500
For the DN.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
15
You will for sure need to
Remember this page!!
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
16
The AXL service for sure
Needs to be activated. I
Just activated all services
Just to make sure there
Was nothing else crazy I
Needed to add.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
17
As everyone knows about
Phones in CUCM, Im skipping
That and going straight to
Making voicemail work in CUE.
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
18
Here is my Line Group
For my hunt.
Hunt Setup:
The MWI light will not light up for General Delivery Mailboxes, only
for individual mail. I found this out the hard way
2007 Cisco Systems, Inc. All rights reserved. Cisco Confidential ryabenne@cisco.com
19
Router Configuration: CUE Configuration:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.08.28 23:47:28 =~=~=~=~=~=~=~=~=~=~ =~=
sho run
Building configuration...
Current configuration : 8175 bytes
!
! Last configuration change at 20:41:55 UTC Wed Aug 27 2008
! NVRAM config last updated at 04:32:06 UTC Wed Aug 27 2008
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5-3845
!
boot-start-marker
boot system flash:c3845-adventerprisek9_ivs- mz.124-15.XZ .bin
boot-end-marker
!
card type t1 2 1
logging message-counter syslog
enable secret 5 $1$aS9K$5KbmR9fQF J.0j kB4ZanrX/
Part 1
enable password cisco
!
no aaa new-model
--More-- memory-size iomem 10
no network-clock-partici pate slot 2
!
dot11 syslog
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.08.28 23:48:32 =~=~=~=~=~=~=~=~=~=~ =~=
ip cef [0m3845CUE E# # [0K
! [0;1m3845CUE# [0m[0K
! [0m3845CUE E# # [0K
Part 1
! [0;1m3845CUE# [0m[0K
! [0m3845CUE E# # [0K
no ip domain lookup [0;1m3845CUE# [0m[0K
no ipv6 cef [0;1m3845CUE E# # [0ms[0K[4hho run
! [0m[4l3845CUE E# # sho run[0K
multilink bundle-name authenticated Generating configuration:
! clock timezone America/Chicago
! hostname 3845CUE
! system language preferred "en_US"
signaling-class cas TEST software download server url "ftp://10.89.21.80/" credentials hidden "HG99ZSgwgwJX7H+T3/QBdknfGWTYHfmPSd8ZZNgd+Y9J3xl k2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xl k2B35j 0nfGWTYHfmPSd8Z ZNgd+Y9J3xl k2B35j 0nfGWTYHfmP"
profile incoming S< log trace local enable
isdn switch-type primary-ni groupname Administrators create
! groupname Broadcasters create
voice-card 0 groupname Sales create
--More-- no dspfarm groupname TechSales create
! groupname Finance create
voice-card 2 username admin create
dspfarm username wjennings create
dsp services dspfarm username jimmcgee create
! username crymcgee create
! username catmcgee create
! username tinmcgee create
voice service pots groupname Sales phonenumber "2000"
! groupname TechSales phonenumber "5513"
voice service voip groupname Finance phonenumber "5524"
allow-connections sip to sip username wjennings phonenumberE164 "5003"
h323 username wjennings phonenumber "5004"
h225 start-h245 on-connect username jimmcgee phonenumber "1000"
call start slow username crymcgee phonenumber "1001"
sip username catmcgee phonenumber "1002"
Part 2
min-se 90 username tinmcgee phonenumber "1003"
registrar server expires max 1200 min 300 groupname TechSales owner tinmcgee
! groupname Administrators member admin
! groupname Administrators member wjennings
! groupname Administrators member tinmcgee
! groupname Sales member jimmcgee
! groupname Sales member catmcgee
--More-- voice class h323 1 groupname TechSales member tinmcgee
h225 timeout setup 3 groupname Administrators privilege ManagePrompts
! groupname Administrators privilege broadcast
! groupname Administrators privilege local-broadcast
! groupname Administrators privilege ManagePublicList
! groupname Administrators privilege ViewPrivateList
! groupname Administrators privilege vm-imap
voice class custom-cptone conference groupname Administrators privilege ViewHistoricalReports
! groupname Administrators privilege ViewRealTimeReports
! groupname Administrators privilege superuser
! groupname Broadcasters privilege broadcast
! groupname Sales privilege superuser
voice class called number inbound 1 groupname Sales privilege ManagePrompts
index 1 4321 groupname Sales privilege local-broadcast
index 2 9876 groupname Sales privilege broadcast
index 3 8765 groupname Sales privilege vm-imap
! groupname Sales privilege ManagePublicList
! groupname Sales privilege ViewPrivateList
voice class called number outbound 1 groupname Sales privilege ViewHistoricalReports
index 1 4321 no mgcp package-capability fxr-package groupname Sales privilege ViewRealTimeReports
index 2 9876 no mgcp timer receive-rtcp groupname TechSales privilege ManagePrompts
index 3 8765 mgcp sdp simple groupname Finance privilege ManagePrompts
! mgcp rtp payload-type g726r16 static restriction msg-notification create
--More-- ! ! restriction msg-notification min-digits 1
! mgcp profile default restriction msg-notification max-digits 30
! ! restriction msg-notification dial-string preference 1 pattern * allowed
voice translation-rule 1 sccp local Loopback1 backup server url "ftp://64.101.175.0/CUEbkupdata/C UEbkupdata" credentials hidden "GixGRq8cUmFqrOHVxftjAknfGWTYHfmPSd8ZZNgd+Y9J 3xl k2B35j0nfGWTYH fmPSd8ZZNgd+Y9J 3xl k2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xl k2B35j0nfGWTYHfmP"
rule 1 /\(...\)/ /099188\1/ sccp ccm 10.88.230.70 identifier 1 version 4.1 calendar biz-schedule systemschedule
! sccp closed day 1 from 00:00 to 24:00
voice translation-rule 2 ! open day 2 from 00:00 to 24:00
rule 1 /^099188\(.*\)/ /\1/ sccp ccm group 1 open day 3 from 00:00 to 24:00
! associate ccm 1 priority 1 open day 4 from 00:00 to 24:00
voice translation-rule 3 associate profile 2 register confer2 open day 5 from 00:00 to 24:00
rule 1 /5001/ /1014/ associate profile 1 register transcode open day 6 from 00:00 to 24:00
! ! open day 7 from 00:00 to 24:00
voice translation-rule 5 dspfarm profile 1 transcode end schedule
rule 1 /\(.*\)/ /4\1/ codec g711ulaw ccn application aa_simple aa
! codec g711alaw description "aa_simple"
! --More-- codec g729ar8 enabled
voice translation-profile prepend4 codec g729abr8 maxsessions 16
translate called 1 maximum sessions 5 script "aasimple.aef"
! associate application SCCP parameter "BusinessClosedPrompt" "AABusinessClosed.wav"
voice translation-profile prependzero ! parameter "BusinessOpenPrompt" "AABusinessOpen.wav"
translate called 1 dspfarm profile 2 conference parameter "allowExternalTransfers" "false"
! codec g711ulaw parameter "MaxRetry" "3"
voice translation-profile redirect codec g711alaw parameter "BusinessSchedule" "systemschedule"
--More-- translate called 3 maximum sessions 12 parameter "HolidayPrompt" "AAHolidayPrompt.wav "
! associate application SCCP parameter "WelcomePrompt" "AAWelcome.wav"
voice hpi capture destination tftp:// shutdown parameter "PlayExtensionsPrompt" "AASPlayExtens ions.w av"
! ! parameter "ExtensionLength" "1"
! ! end application
application dial-peer voice 7000 voip ccn application autoattendant aa
service alternate default description ***VoIP Dial-Peer to R3745*** description "autoattendant"
! destination-pattern 700. enabled
global session target ipv4:10.88.230.66 maxsessions 16
service alternate default incoming called-number 700. script "aa.aef"
! ! parameter "busClosedPrompt" "AABusinessClosed.wav"
! dial-peer voice 5501 pots parameter "holidayPrompt" "AAHolidayPrompt.wav"
! description ***Dial Peer to R3845*** parameter "welcomePrompt" "friday.wav"
! service mgcpapp parameter "disconnectAfterMenu" "false"
! destination-pattern 55.. parameter "dialByFirstName" "false"
! --More-- incoming called-number 55.. parameter "allowExternalTransfers" "false"
username user1 password 0 cisco direct-inward-dial parameter "MaxRetry" "3"
username user2 password 0 cisco port 2/0:23 parameter "dialByExtnAnyti me" "false"
username jimmcgee password 0 cisco forward-digits all parameter "busOpenPrompt" "greeting.wav"
archive ! parameter "businessSchedule" "systemschedule"
log config dial-peer voice 5500 voip parameter "dialByExtnAnyti meInputLength" "4"
hidekeys mailbox-selection orig-called-num parameter "operExtn" "0"
! description ***VoIP Dial-Peer for CUE*** end application
--More-- ! destination-pattern 5500 ccn application ciscomwiapplication aa
! session protocol sipv2 description "ciscomwiapplication"
! session target ipv4:10.88.230.71 enabled
! incoming called-number 5500 maxsessions 16
controller T1 2/0 dtmf-relay sip-notify script "setmwi.aef"
framing esf codec g711ulaw parameter "CallControlGroupID" "0"
linecode b8zs no vad parameter "strMWI_OFF_DN" "8001"
pri-group timeslots 1-24 ! parameter "strMWI_ON_DN" "8000"
! dial-peer voice 5600 voip end application
controller T1 2/1 description ***VoIP Dial-Peer for CUE*** ccn application msgnotification aa
shutdown destination-pattern 560. description "msgnotification"
framing esf session protocol sipv2 enabled
linecode b8zs session target ipv4:10.88.230.71 maxsessions 16
ds0-group 1 timeslots 1-24 type e&m-fgd incoming called-number 5600 script "msgnotify.aef"
Part 1 in notepad,
ip nat inside retry invite 3 end engine
ip virtual-reassembly mwi-server ipv4:10.88.230.71 expires 3600 port 5060 transport udp ccn reporting historical
duplex auto ! database local
speed auto ! description "r5-3845-nm-cue-ec"
media-type rj45 ! end reporting
no keepalive gatekeeper ccn subsystem jtapi
! --More-- shutdown ctiport 1100 1101 1102 1103
interface Serial2/0:23 ! ccm-manager address 10.88.192.207
no ip address ! ccm-manager credentials hidden "c9yem6kD 1vJqrOHVxftj AknfGWTYHfmPSd8ZZNgd+Y9J3xl k2B35j 0nfGWTYHfmPSd8Z ZNgd+Y9J3xl k2B35j 0nfGWTYHfmPSd8Z ZNgd+Y9J3xl k2B35j0nfGWTYHfmP"
encapsulation hdlc telephony-service end subsystem
isdn switch-type primary-ni load 7960-7940 SCCP41 ccn subsystem sip
isdn map address .* plan unknown type unknown load 7941 SCCP41.8-3-3S gateway address "10.88.230.70"
isdn integrate calltype all load 7961 SCCP41.8-3-3S mwi sip sub-notify
no cdp enable max-ephones 100 end subsystem
--More-- ! max-dn 50 ccn trigger http urlname msgnotifytrg
Part 1 in notepad,
interface Service-Engine4/0 ip source-address 10.88.230.70 port 2000 application "msgnotification"
ip unnumbered GigabitEthernet0/0 url services http://10.88.230.71/voiceview/com mon/login.do enabled
service-module ip address 10.88.230.71 255.255.255.0 url authentication http://10.88.230.71/voiceview/authentication/authenticate.do maxsessions 2
Is size 1
! --More-- ! enabled
! ! maxsessions 1
! ephone-dn 6 dual-line end trigger
voice-port 2/0/0 number 5503 security password lockout policy temp-lock
timing hookflash-out 50 description Cathey McGee security pin lockout policy temp-lock
! name Cathey McGee service voiceview
voice-port 2/0/1 call-forward busy 5500 enable
cptone SA call-forward noan 5500 timeout 10 end voiceview
! mwi sip voicemail notification enable
--More-- voice-port 2/0/2 ! voicemail default language en_US
timing hookflash-out 50 ! voicemail default mailboxsize 1000
! ephone 1 voicemail broadcast recording time 300
voice-port 2/0/3 device-security-mode none voicemail default messagesize 240
echo-cancel coverage 32 mac-address 001E.F729.C5B7 voicemail notification restriction msg-notification
timing hookflash-out 50 username "tinmcgee" password null voicemail operator telephone 5001
! button 1:1 voicemail mailbox owner "Finance" size 2000
voice-port 2/0:23 ! description "Financial Voicemail Box"
! ! end mailbox
voice-port 2/1:1 ! voicemail mailbox owner "Sales" size 2500
timing dialout-delay 300 ephone 2 description "Sales mailbox"
! device-security-mode none end mailbox
ccm-manager redundant-host 10.88.230.123 ! voicemail mailbox owner "TechSales" size 2000
ccm-manager mgcp ! description "TechSales Voicemail Box"
ccm-manager music-on-hold --More-- ! end mailbox
ccm-manager config server 10.88.230.123 ephone 3 voicemail mailbox owner "catmcgee" size 1800
ccm-manager config device-security-mode none description "Cathey McGee's Mailbox"
! ! end mailbox
mgcp ! voicemail mailbox owner "crymcgee" size 1800
mgcp call-agent 10.88.230.124 2427 service-type mgcp version 0.1 ! description "Crystal's Mailbox"
mgcp dtmf-relay voip codec all mode out-of-band ephone 4 end mailbox
mgcp rtp unreachable timeout 1000 action notify device-security-mode none voicemail mailbox owner "jimmcgee" size 1800
mgcp modem passthrough voip mode nse mac-address 001B.D52C.51D1 description "Jimmie's Mailbox"
--More-- mgcp package-capability rtp-package username "jimmcgee" password null end mailbox
mgcp package-capability sst-package button 1:4 voicemail mailbox owner "tinmcgee" size 1800
mgcp package-capability pre-package ! description "Tina's Mailbox"
no mgcp package-capability res-package ! end mailbox
! voicemail mailbox owner "wjennings" size 2500
ephone 5 description "wjennings mailbox"
device-security-mode none zerooutnumber "5001"
mac-address 001B.D584.AD6B end mailbox
username "crymcgee" password null voicemail notification owner Finance enable
button 1:5 voicemail notification owner Sales enable
! voicemail notification owner TechSales enable
! voicemail notification owner catmcgee enable
! voicemail notification owner crymcgee enable
ephone 6 voicemail notification owner jimmcgee enable
--More-- device-security-mode none voicemail notification owner tinmcgee enable
mac-address 000A.41F9.74D9 voicemail notification owner wjennings enable
username "catmcgee" password null end
button 1:6 [0;1m3845CUE# [0m[0K
! [0m3845CUE E# # [0K
! [0;1m3845CUE# [0m[0K
ephone-hunt 55 sequential [0m3845CUE E# # [0K
pilot 5513 [0;1m3845CUE# [0m[0K
list 5501, 5503 [0m3845CUE E# # [0K
final 5500 [0;1m3845CUE# [0m[0K
timeout 3, 3
!
!
!
!
ephone-hunt 56 sequential
pilot 5524
list 5502, 5504
final 5500
timeout 10, 10
!
!
!
--More-- !
!
line con 0
exec-timeout 0 0
password cisco
login
line aux 0
line 258
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
login
!
scheduler allocate 20000 1000
ntp master
ntp server 64.101.128.26
ntp server 10.88.230.70
ntp server 10.89.254.206
--More-- end
R5-3845#
R5-3845#
R5-3845#
R5-3845#
R5-3845#
R5-3845#
Phone DNs
http://www.cisco.com/en/US/docs/voice_ip_comm/unity_exp/compatibil
ity/cuecomp.htm
--- Get inside the CUE module and issue a show software version
The Global version is the exact version of CUE they are running.
Example 3: Your CUE cant login to the CUCM account via JTAPI/Web Admin
Resolution - Make sure that you can ping the CUCM server from the CUE
module, make sure that your JTAPI username/pw is the exact same as on the
CUCM server.