In questo documento viene fornita una configurazione di esempio per il profilo vocale della segreteria telefonica di Cisco Unity Express per le reti Internet Mail (VPIM) tra quattro siti. Due dei siti sono Cisco CallManager Express (CME), mentre gli altri due sono controllati da un Cisco CallManager centrale. La rete può essere esclusivamente Cisco CME o Cisco CallManager. Per modellare la rete dopo questa configurazione, fare riferimento alle configurazioni che corrispondono alla distribuzione desiderata. Lo scenario di configurazione consente di attivare la rete di posta vocale tra i quattro siti. La configurazione presenta le seguenti caratteristiche:
Le sezioni seguenti forniscono informazioni importanti per comprendere questo esempio di configurazione. Leggere queste sezioni prima di continuare con l'esempio di configurazione:
Nessun requisito specifico previsto per questo documento.
Le informazioni fornite in questo documento si basano sulle seguenti versioni software e hardware:
Tutti i siti sono Ethernet collegati alla rete IP. Tutti i siti dispongono di due telefoni IP Cisco 7960. Per i siti Cisco CME (siti 2 e 3), i telefoni IP e il dial plan sono sotto il controllo di Cisco CME. Per gli altri due siti (siti 4 e 6), i telefoni IP e il dial plan sono sotto il controllo di un Cisco CallManager centrale e i router sono configurati per il funzionamento di SRST.
Le informazioni discusse in questo documento fanno riferimento a dispositivi usati in uno specifico ambiente di emulazione. Su tutti i dispositivi menzionati nel documento la configurazione è stata ripristinata ai valori predefiniti. Se la rete è operativa, valutare attentamente eventuali conseguenze derivanti dall'uso dei comandi
Questa configurazione può essere utilizzata anche con le seguenti versioni hardware e software:
Se del caso, il presente documento utilizza le convenzioni di cui alla tabella 1 .
Tabella 1. Esempio di configurazione di Cisco Unity Express - Convenzioni del documento
Convenzione |
Descrizione |
testo in grassetto |
Il testo in grassetto viene utilizzato per:
|
< > (parentesi angolari) |
Le parentesi angolari vengono utilizzate attorno ai parametri per i quali specificate un valore. (Esempio: Nella finestra del prompt dei comandi, immettere ping <indirizzo IP>). |
- (trattino) |
I trattini separano i tasti che devono essere premuti contemporaneamente. Ad Esempio, Premete Ctrl-Alt-Canc. |
> (parentesi angolare destra) |
Una parentesi angolare chiusa viene utilizzata per separare le selezioni effettuate:
|
Lettera a utilizzata nell'intervallo di indirizzi dell'ordine superiore per un indirizzo in formato IP V4. Esempio: a .23.10.224 |
Rappresenta una rete o un indirizzo Internet di classe A pubblico. Utilizzato a scopo puramente illustrativo per impedire l'uso di numeri pubblici. |
Lettere x e y utilizzate nei numeri di telefono Esempio: 2 xx . yyy .1234 |
Rappresenta l'indicativo di località e il prefisso di un numero di telefono. Utilizzato a scopo puramente illustrativo per impedire l'uso di numeri pubblici. |
Il documento utilizza anche le seguenti convenzioni generali:
Nota: indica che il lettore prende nota. Le note contengono utili suggerimenti o riferimenti a materiale non trattato nel documento.
Attenzione: il lettore deve prestare attenzione. In questo caso, è possibile intervenire in modo da danneggiare l'apparecchiatura o perdere dati.
Per ulteriori informazioni sulle convenzioni usate, consultare il documento Cisco sulle convenzioni nei suggerimenti tecnici.
In questa sezione vengono presentate le informazioni necessarie per configurare le funzionalità descritte più avanti nel documento.
Nota: per ulteriori informazioni sui comandi menzionati in questo documento, usare lo strumento di ricerca dei comandi (solo utenti registrati).
Nel documento viene usata l'impostazione di rete mostrata nel diagramma qui sotto.
La posizione del sito 2 utilizza un router Cisco 3725 con queste caratteristiche:
La posizione del sito 3 utilizza un router Cisco 2691 con queste caratteristiche:
La posizione del sito 4 utilizza un router Cisco 3725 con queste caratteristiche:
La posizione del sito 6 utilizza un router Cisco 3745 con queste caratteristiche:
Questo documento utilizza le configurazioni mostrate di seguito.
Di seguito sono riportati gli estratti pertinenti della configurazione del router:
cme-3725#
show running-config
Current configuration : 8184 bytes
!
! Last configuration change at 11:01:46 PST Fri Nov 5 2004
! NVRAM config last updated at 08:29:05 PST Fri Nov 5 2004
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cme-3725
!
boot-start-marker
boot system flash:c3725-ipvoice-mz.123-10.3.PI5
boot-end-marker
!
! Allow intersite H.323 calls to reach Cisco Unity Express
!
voice service voip
allow-connections h323 to sip
!
!
! IP address of the router
!
interface FastEthernet0/0
ip address a.3.235.1 255.255.0.0
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
ip address a.1.1.100 255.255.0.0
speed auto
half-duplex
no cdp enable
!
! IP address of Cisco Unity Express
!
interface Service-Engine1/0
ip unnumbered FastEthernet0/0
service-module ip address a.3.235.128 255.255.0.0
service-module ip default-gateway a.3.235.1
hold-queue 60 out
!
ip classless
ip route a.3.235.128 255.255.255.255 Service-Engine1/0
!
! Dial-peer to allow calls to forward from Cisco CME to Cisco Unity Express
!
dial-peer voice 2100 voip
destination-pattern 21..
session protocol sipv2
session target ipv4:a.3.235.128
dtmf-relay sip-notify
codec g711ulaw
no vad
!
! Dial-peers to direct intersite calls
!
dial-peer voice 3000 voip
destination-pattern 3...
session target ipv4:a.3.229.1
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 4000 voip
destination-pattern 4...
session target ipv4:a.3.231.5
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 6000 voip
destination-pattern 6...
session target ipv4:a.3.231.5
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!
telephony-service
load 7960-7940 P00303020214
max-ephones 50
max-dn 120
ip source-address a.1.1.100 port 2000
time-format 24
date-format dd-mm-yy
auto assign 1 to 5
timeouts interdigit 20
timeouts ringing 120
system message CME-3725
create cnf-files version-stamp 7960 Sep 27 2004 12:31:02
voicemail 2105
max-conferences 8
moh music-on-hold.au
web admin system name admin password cisco
web admin customer name custlogin password custpswd
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern 3...
transfer-pattern 2...
directory last-name-first
!
!
! Extension definitions
!
ephone-dn 1 dual-line
number 2001 secondary 2xxyyy2001
label Alice
description Alice Davidson
name Alice Davidson
call-forward max-length 4
call-forward busy 2105
call-forward noan 2105 timeout 10
!
!
ephone-dn 2 dual-line
number 2002 secondary 2xxyyy2002
label Aaron
description Aaron Wilkins
name Aaron Wilkins
call-forward max-length 8
call-forward busy 2105
call-forward noan 2105 timeout 10
!
!
! Dial-peers for MWI
!
ephone-dn 51
number 8000....
mwi on
!
!
ephone-dn 52
number 8001....
mwi off
!
!
!
! IP phone definitions
!
ephone 1
ephone-template 1
username "adavidson"
mac-address 0003.6BAA.D1F8
type 7960
button 1:1
!
!
!
ephone 2
ephone-template 1
username "awilkins"
mac-address 0003.6BAA.D362
type 7960
button 1:2
Di seguito è riportata la configurazione di Cisco Unity Express:
cue-cme3725#
show running-config
Generating configuration:
clock timezone America/Los_Angeles
hostname cue-cme3725
ip domain-name localdomain
ntp server a.3.135.1
software download server url "ftp://127.0.0.1/ftp"
credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
groupname Administrators create
groupname Broadcasters create
groupname Sales create
username adavidson create
username awilkins create
username acoley create
username awyant create
username amcdougal create
username admin create
groupname Sales phonenumberE164 "2xxyyy2050"
groupname Sales phonenumber "2050"
username adavidson phonenumberE164 "2xxyyy2001"
username awilkins phonenumberE164 "2xxyyy2002"
username acoley phonenumberE164 "2xxyyy2003"
username awyant phonenumberE164 "2xxyyy2004"
username amcdougal phonenumberE164 "2xxyyy2005"
username adavidson phonenumber "2001"
username awilkins phonenumber "2002"
username acoley phonenumber "2003"
username awyant phonenumber "2004"
username amcdougal phonenumber "2005"
groupname Administrators member admin
groupname Sales member acoley
groupname Sales member awilkins
groupname Administrators privilege superuser
groupname Administrators privilege ManagePrompts
backup server url "ftp://a.3.231.201/cme3725/"
credentials hidden "1SDP4vScNKcZiym6dHQHfnl4zvlbuAn9Sd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
ccn application autoattendant
description "autoattendant"
enabled
maxsessions 8
script "aa.aef"
parameter "MaxRetry" "3"
parameter "operExtn" "0"
parameter "welcomePrompt" "AAWelcome.wav"
end application
ccn application ciscomwiapplication
description "ciscomwiapplication"
enabled
maxsessions 8
script "setmwi.aef"
parameter "strMWI_OFF_DN" "8001"
parameter "strMWI_ON_DN" "8000"
parameter "CallControlGroupID" "0"
end application
ccn application custom-aa
description "custom-aa"
enabled
maxsessions 8
script "s1_main-officehours.aef"
parameter "MainOperExt" "2001"
end application
ccn application promptmgmt
description "promptmgmt"
enabled
maxsessions 1
script "promptmgmt.aef"
end application
ccn application voicemail
description "voicemail"
enabled
maxsessions 8
script "voicebrowser.aef"
parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
end application
ccn engine
end engine
ccn subsystem jtapi
ccm-manager address
end subsystem
ccn subsystem sip
gateway address "a.3.235.1"
end subsystem
ccn trigger sip phonenumber 2100
application "custom-aa"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 2102
application "autoattendant"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 2105
application "voicemail"
enabled
idletimeout 5000
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 2106
application "promptmgmt"
enabled
idletimeout 5000
locale "en_US"
maxsessions 1
end trigger
! Definitions of the four networking sites
network location id 2
abbreviation "S2"
email domain a.3.235.128
name "site2-cme-3725"
end location
network location id 3
abbreviation "S3"
email domain a.3.229.128
name "site3-cme-2691"
end location
network location id 4
abbreviation "S4"
email domain a.3.231.128
name "site4-ccm-3725"
end location
network location id 6
abbreviation "S6"
email domain a.3.245.128
name "site6-ccm-3745"
end location
! Definition of this site’s location ID
network local location id 2
voicemail default expiration time 30
voicemail default language en_US
voicemail default mailboxsize 5520
voicemail recording time 900
voicemail default messagesize 60
voicemail operator telephone 2001
voicemail capacity time 6000
voicemail mailbox owner "Sales" size 5520
description "Sales mailbox"
zerooutnumber "2100"
end mailbox
voicemail mailbox owner "acoley" size 5520
description "acoley mailbox"
zerooutnumber "2100"
end mailbox
voicemail mailbox owner "adavidson" size 5520
description "adavidson mailbox"
zerooutnumber "2100"
end mailbox
voicemail mailbox owner "amcdougal" size 5520
description "amcdougal mailbox"
zerooutnumber "2100"
end mailbox
voicemail mailbox owner "awilkins" size 5520
description "awilkins mailbox"
zerooutnumber "2100"
end mailbox
voicemail mailbox owner "awyant" size 5520
description "awyant mailbox"
zerooutnumber "2100"
end mailbox
end
Di seguito sono riportati gli estratti pertinenti della configurazione del router:
cme-2691#
show running-config
Building configuration...
Current configuration : 4868 bytes
!
! Last configuration change at 07:35:10 PST Fri Oct 22 2004
! NVRAM config last updated at 12:07:37 PST Fri Oct 22 2004
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cme-2691
!
boot-start-marker
boot system flash:c2691-ipvoice-mz.123-10.3.PI5
boot-end-marker
!
! Allow intersite H.323 calls to reach Cisco Unity Express
!
voice service voip
allow-connections h323 to sip
!
! IP address of the router
!
interface FastEthernet0/0
ip address a.3.229.1 255.255.0.0
no ip mroute-cache
load-interval 30
duplex auto
speed auto
!
interface FastEthernet0/1
ip address a.10.1.100 255.255.0.0
no ip mroute-cache
duplex auto
speed auto
!
! IP address of Cisco Unity Express
!
interface Service-Engine1/0
ip unnumbered FastEthernet0/0
service-module ip address a.3.229.128 255.255.0.0
service-module ip default-gateway a.3.229.1
!
ip classless
ip route a.3.229.128 255.255.255.255 Service-Engine1/0
!
ip http server
ip http path flash:
!
! Dial-peer to allow calls to forward from Cisco CME to Cisco Unity Express
!
dial-peer voice 3100 voip
description VM-AA
destination-pattern 31..
session protocol sipv2
session target ipv4:a.3.229.128
dtmf-relay sip-notify
codec g711ulaw
no vad
!
! Dial-peers to direct intersite calls
!
dial-peer voice 2000 voip
destination-pattern 2...
session target ipv4:a.3.235.1
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 4000 voip
destination-pattern 4...
session target ipv4:a.3.231.5
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 6000 voip
destination-pattern 6...
session target ipv4:a.3.231.5
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!
telephony-service
load 7960-7940 P00303020214
max-ephones 48
max-dn 192
ip source-address a.10.1.100 port 2000
system message CME-2691
create cnf-files version-stamp 7960 Jul 15 2003 13:48:12
voicemail 3105
max-conferences 8
web admin system name admin password cisco
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern 3...
transfer-pattern 2...
!
! Extension definitions
!
ephone-dn 1 dual-line
number 3001
description User1
name User1
call-forward busy 3105
call-forward noan 3105 timeout 10
!
!
ephone-dn 2 dual-line
number 3002
description User2
name User2
call-forward busy 3105
call-forward noan 3105 timeout 10
!
!
! Dial-peers for MWI
!
ephone-dn 51
number 8000....
mwi on
!
!
ephone-dn 52
number 8001....
mwi off
!
! IP phone definitions
!
ephone 1
username "User1" password null
mac-address 0009.B7F7.5793
button 1:1
!
!
!
ephone 2
username "User2" password null
mac-address 0002.FD06.D959
button 1:2
Di seguito è riportata la configurazione di Cisco Unity Express:
cue-nm-2691#
show running-config
Generating configuration:
clock timezone America/Los_Angeles
hostname cue-nm-2691
ip domain-name localdomain
ntp server a.3.229.1
software download server url "ftp://127.0.0.1/ftp"
credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
groupname Administrators create
groupname customer-service create
username admin create
username User1 create
username User2 create
username User3 create
username User4 create
username User5 create
username User6 create
groupname customer-service phonenumberE164 "4xxyyy3050"
groupname customer-service phonenumber "3050"
username User1 phonenumber "3001"
username User2 phonenumber "3002"
username User3 phonenumber "3003"
username User4 phonenumber "3004"
username User5 phonenumber "3005"
username User6 phonenumber "3006"
groupname Administrators member admin
groupname customer-service member User2
groupname customer-service member User3
groupname Administrators privilege superuser
groupname Administrators privilege ManagePrompts
backup server url "ftp://a.3.231.201/cme2691_4nov04/"
credentials hidden "xxOaioWv/uC5WSZLs/L2XY/frZzvmJ2MSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
ccn application autoattendant
description "autoattendant"
enabled
maxsessions 8
script "aa.aef"
parameter "MaxRetry" "3"
parameter "operExtn" "0"
parameter "welcomePrompt" "AAgreeting.wav"
end application
ccn application ciscomwiapplication
description "ciscomwiapplication"
enabled
maxsessions 8
script "setmwi.aef"
parameter "strMWI_OFF_DN" "8001"
parameter "strMWI_ON_DN" "8000"
parameter "CallControlGroupID" "0"
end application
ccn application promptmgmt
description "promptmgmt"
enabled
maxsessions 1
script "promptmgmt.aef"
end application
ccn application voicemail
description "voicemail"
enabled
maxsessions 8
script "voicebrowser.aef"
parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
end application
ccn engine
end engine
ccn subsystem jtapi
ccm-manager address
end subsystem
ccn subsystem sip
gateway address "a.3.229.1"
end subsystem
ccn trigger sip phonenumber 3100
application "autoattendant"
enabled
maxsessions 8
end trigger
ccn trigger sip phonenumber 3105
application "voicemail"
enabled
maxsessions 8
end trigger
ccn trigger sip phonenumber 3106
application "promptmgmt"
enabled
maxsessions 1
end trigger
! Definitions of the four networking sites
network location id 2
abbreviation "S2"
email domain a.3.235.128
name "site2-cme-3725"
end location
network location id 3
abbreviation "S3"
email domain a.3.229.128
name "site3-cme-2691"
end location
network location id 4
abbreviation "S4"
email domain a.3.231.128
name "site4-ccm-3725"
end location
network location id 6
abbreviation "S6"
email domain a.3.245.128
name "site6-ccm-3745"
end location
! Definition of this site’s location ID
network local location id 3
voicemail default expiration time 60
voicemail default language en_US
voicemail default mailboxsize 5520
voicemail recording time 900
voicemail default messagesize 60
voicemail operator telephone 0
voicemail capacity time 6000
voicemail mailbox owner "User1" size 5520
end mailbox
voicemail mailbox owner "User2" size 5520
end mailbox
voicemail mailbox owner "User3" size 5520
end mailbox
voicemail mailbox owner "User4" size 5520
end mailbox
voicemail mailbox owner "User5" size 5520
end mailbox
voicemail mailbox owner "User6" size 5520
end mailbox
voicemail mailbox owner "customer-service" size 5520
description "customer-service mailbox"
zerooutnumber "3101"
end mailbox
end
Di seguito sono riportati gli estratti pertinenti della configurazione del router:
ccm_3725#
show running-config
Building configuration...
Current configuration : 2278 bytes
!
! Last configuration change at 07:11:44 PST Wed Nov 10 2004
! NVRAM config last updated at 07:11:52 PST Wed Nov 10 2004
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ccm_3725
!
boot-start-marker
boot system flash:c3725-ipvoice-mz.123-10.3.PI5
boot-end-marker
!
! Allow intersite H.323 calls to reach Cisco Unity Express during SRST
!
voice service voip
allow-connections h323 to sip
!
! IP address of the router
!
interface FastEthernet0/0
ip address a.3.231.10 255.255.0.0
speed auto
half-duplex
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
! IP address of Cisco Unity Express
!
interface Service-Engine1/0
ip unnumbered FastEthernet0/0
service-module ip address a.3.231.128 255.255.0.0
service-module ip default-gateway a.3.231.10
!
ip classless
ip route a.3.231.128 255.255.255.255 Service-Engine1/0
!
ip http server
ip http path flash:
!
! Dial-peer to allow calls to forward from Cisco SRST to Cisco Unity Express
!
dial-peer voice 4100 voip
destination-pattern 41..
session protocol sipv2
session target ipv4:a.3.231.128
dtmf-relay sip-notify
codec g711ulaw
no vad
!
! SRST definition to ensure Cisco Unity Express and IP Phone operation during Cisco CallManager unavailability
!
call-manager-fallback
max-conferences 8
ip source-address a.3.231.5 port 2000
max-ephones 24
max-dn 48
voicemail 4105
call-forward busy 4105
call-forward noan 4105 timeout 7
Di seguito è riportata la configurazione di Cisco Unity Express:
cue-ccm3725#
show running-config
Generating configuration:
clock timezone America/Adak
hostname cue-ccm3725
ip domain-name localdomain
ntp server a.3.231.10
software download server url "ftp://127.0.0.1/ftp"
credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
groupname Administrators create
username admin create
username Bob create
username anders create
username zacks create
username Bob phonenumber "4002"
username anders phonenumber "4001"
groupname Administrators member admin
groupname Administrators member anders
groupname Administrators privilege superuser
groupname Administrators privilege ManagePrompts
backup server url "ftp://a.3.231.244/ccm3725_8nov/"
credentials hidden "GixGRq8cUmFqrOHVxftjAknfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
ccn application abccorp
description "abccorp"
enabled
maxsessions 8
script "sample_aa.aef"
parameter "prompt_ABCWelcome" "prompt_ABCWelcome.wav"
parameter "extn_Operator" "4002"
parameter "extn_Sales" "4002"
parameter "prompt_Operator" "prompt_Operator.wav"
parameter "extn_UserEntered" "2002"
parameter "prompt_Support" "prompt_support.wav"
parameter "prompt_Hours" "prompt_Hours.wav"
parameter "extn_Support" "918xxyyy2121"
parameter "prompt_Extension" "prompt_Extension.wav"
parameter "prompt_Sales" "prompt_Sales.wav"
end application
ccn application autoattendant
description "autoattendant"
enabled
maxsessions 8
script "aa.aef"
parameter "MaxRetry" "3"
parameter "operExtn" "0"
parameter "welcomePrompt" "AAWelcome.wav"
end application
ccn application ciscomwiapplication
description "ciscomwiapplication"
enabled
maxsessions 8
script "setmwi.aef"
parameter "strMWI_OFF_DN" "8001"
parameter "strMWI_ON_DN" "8000"
parameter "CallControlGroupID" "0"
end application
ccn application promptmgmt
description "promptmgmt"
enabled
maxsessions 1
script "promptmgmt.aef"
end application
ccn application voicemail
description "voicemail"
enabled
maxsessions 8
script "voicebrowser.aef"
parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
end application
ccn engine
end engine
ccn subsystem jtapi
ctiport 4901 4902 4903 4904
ccm-manager address a.3.231.5
ccm-manager
credentials hidden "QiUfMZRFsRBqrOHVxftjAknfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
end subsystem
ccn subsystem sip
gateway address "a.3.231.10"
end subsystem
ccn trigger jtapi phonenumber 4100
application "autoattendant"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger jtapi phonenumber 4101
application "abccorp"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger jtapi phonenumber 4105
application "voicemail"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger jtapi phonenumber 4106
application "promptmgmt"
enabled
locale "en_US"
maxsessions 1
end trigger
ccn trigger sip phonenumber 4100
application "autoattendant"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 4101
application "abccorp"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 4105
application "voicemail"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 4106
application "promptmgmt"
enabled
locale "en_US"
maxsessions 1
end trigger
! Definitions of the four networking sites
network location id 2
abbreviation "S2"
email domain a.3.235.128
name "site2-cme-3725"
end location
network location id 3
abbreviation "S3"
email domain a.3.229.128
name "site3-cme-2691"
end location
network location id 4
abbreviation "S4"
email domain a.3.231.128
name "site4-ccm-3725"
end location
network location id 6
abbreviation "S6"
email domain a.3.245.128
name "site6-ccm-3745"
end location
! Definition of this site’s location ID
network local location id 4
voicemail default expiration time 30
voicemail default language en_US
voicemail default mailboxsize 3000
voicemail recording time 900
voicemail default messagesize 60
voicemail operator telephone 0
voicemail capacity time 6000
voicemail mailbox owner "Bob" size 3000
end mailbox
voicemail mailbox owner "anders" size 3000
end mailbox
voicemail mailbox owner "zacks" size 3000
end mailbox
end
Di seguito sono riportati gli estratti pertinenti della configurazione del router:
ccm_3745#
show running-config
Building configuration...
Current configuration : 3295 bytes
!
! Last configuration change at 02:46:54 UTC Fri Apr 12 2002
! NVRAM config last updated at 17:20:53 UTC Thu Apr 11 2002
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ccm_3745
!
boot-start-marker
boot system flash:c3745-ipvoice-mz.123-10.3.PI5
boot-end-marker
!
!
! Allow intersite H.323 calls to reach Cisco Unity Express during SRST
!
voice service voip
allow-connections h323 to sip
!
! IP address of the router
!
interface FastEthernet0/0
ip address a.3.245.1 255.255.0.0
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 172.19.153.31 255.255.0.0
duplex auto
speed auto
!
! IP address of Cisco Unity Express
!
interface Service-Engine1/0
ip unnumbered FastEthernet0/0
service-module ip address a.3.245.128 255.255.0.0
service-module ip default-gateway a.3.245.1
!
!
ip classless
ip route a.3.245.128 255.255.255.255 Service-Engine1/0
!
ip http server
ip http path flash:
!
!
! Dial-peer to allow calls to forward from Cisco SRST to Cisco Unity Express
!
dial-peer voice 6100 voip
destination-pattern 61..
session protocol sipv2
session target ipv4:a.3.245.128
dtmf-relay sip-notify
codec g711ulaw
no vad
!
! SRST definition to ensure Cisco Unity Express and IP Phone operation during Cisco CallManager unavailability
!
call-manager-fallback
max-conferences 8
ip source-address a.3.231.5 port 2000
max-ephones 24
max-dn 48
voicemail 6105
call-forward busy 6105
Di seguito è riportata la configurazione di Cisco Unity Express:
cue-ccm3745#
show running-config
Generating configuration:
clock timezone America/Los_Angeles
hostname cue-ccm3745
ip domain-name localdomain
ntp server a.3.233.100
software download server url "ftp://127.0.0.1/ftp"
credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
groupname Administrators create
groupname Broadcasters create
username admin create
username Yvon create
username Zack create
username Yvon phonenumber "6001"
username Zack phonenumber "6002"
groupname Administrators member admin
groupname Administrators member Yvon
groupname Administrators privilege superuser
groupname Administrators privilege ManagePrompts
backup server url "ftp://a.3.231.243/ccm3745_5nov/"
credentials hidden "GixGRq8cUmFqrOHVxftjAknfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
ccn application autoattendant
description "autoattendant"
enabled
maxsessions 8
script "aa.aef"
parameter "MaxRetry" "3"
parameter "operExtn" "0"
parameter "welcomePrompt" "AAWelcome.wav"
end application
ccn application ciscomwiapplication
description "ciscomwiapplication"
enabled
maxsessions 8
script "setmwi.aef"
parameter "strMWI_OFF_DN" "8001"
parameter "strMWI_ON_DN" "8000"
parameter "CallControlGroupID" "0"
end application
ccn application promptmgmt
description "promptmgmt"
enabled
maxsessions 1
script "promptmgmt.aef"
end application
ccn application voicemail
description "voicemail"
enabled
maxsessions 8
script "voicebrowser.aef"
parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
end application
ccn engine
end engine
ccn subsystem jtapi
ctiport 6901 6902 6903 6904
ccm-manager address a.3.231.5
ccm-manager
credentials hidden "1anJW38IVSZld67dzhL9pEnfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35jwAAAAA="
end subsystem
ccn subsystem sip
gateway address "a.3.45.1"
end subsystem
ccn trigger jtapi phonenumber 6100
application "autoattendant"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger jtapi phonenumber 6105
application "voicemail"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger jtapi phonenumber 6106
application "promptmgmt"
enabled
locale "en_US"
maxsessions 1
end trigger
ccn trigger sip phonenumber 6100
application "autoattendant"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 6105
application "voicemail"
enabled
locale "en_US"
maxsessions 8
end trigger
ccn trigger sip phonenumber 6106
application "promptmgmt"
enabled
locale "en_US"
maxsessions 1
end trigger
! Definitions of the four networking sites
network location id 2
abbreviation "S2"
email domain a.3.235.128
name "site2-cme-3725"
end location
network location id 3
abbreviation "S3"
email domain a.3.229.128
name "site3-cme-2691"
end location
network location id 4
abbreviation "S4"
email domain a.3.231.128
name "site4-ccm-3725"
end location
network location id 6
abbreviation "S6"
email domain a.3.245.128
name "site6-ccm-3745"
end location
! Definition of this site’s location ID
network local location id 6
voicemail default expiration time 30
voicemail default language en_US
voicemail default mailboxsize 3000
voicemail recording time 900
voicemail default messagesize 60
voicemail operator telephone 0
voicemail capacity time 6000
voicemail mailbox owner "Yvon" size 3000
end mailbox
voicemail mailbox owner "Zack" size 3000
end mailbox
Le informazioni contenute in questa sezione permettono di verificare che la configurazione funzioni correttamente.
Alcuni comandi show sono supportati dallo strumento Output Interpreter (solo utenti registrati); lo strumento permette di visualizzare un'analisi dell'output del comando show.
Per verificare che la configurazione funzioni correttamente, attenersi alla seguente procedura.
In questa sezione vengono fornite informazioni utili per risolvere i problemi di configurazione.
Alcuni comandi show sono supportati dallo strumento Output Interpreter (solo utenti registrati); lo strumento permette di visualizzare un'analisi dell'output del comando show.
Nota: prima di usare i comandi di debug, consultare le informazioni importanti sui comandi di debug.
I seguenti comandi trace possono essere emessi sul sistema Cisco Unity Express di invio o di ricezione per monitorare l'attività SMTP e VPIM tra di essi.
Passaggio 1 |
tracing networking smtp all Esegue il monitoraggio degli eventi SMTP |
Passaggio 2 |
trace networking vpim all Monitoraggio degli eventi VPIM |
Passaggio 3 |
mostra coda buffer di traccia Visualizza sullo schermo il contenuto del buffer di traccia |
Di seguito è riportato un esempio di output per i comandi trace per il sito di invio (sito 2) quando si invia un messaggio dall'estensione sito 2 2001 all'estensione sito 3 3001.
cue-nm-2691# trace networking smtp all cue-nm-2691# trace networking vpim all cue-nm-2691# show trace buffer tail Press <CTRL-C> to exit... 2464 10/22 09:10:05.206 VMSS vmdb 0 Freed connection: 1, inUse: 0, active: 3 2805 10/22 09:25:07.844 netw smtp 2 2805 10/22 09:25:07.869 netw smtp 1 7177 10/22 09:25:07.913 netw smtp 3 a.3.235.128 7177 10/22 09:25:07.918 netw smtp 4 7177 10/22 09:25:17.966 netw smtp 6 220 a.3.235.128 Simple Mail Transfer Service Ready 7177 10/22 09:25:17.966 netw smtp 5 EHLO 7177 10/22 09:25:17.972 netw smtp 6 250-a.3.235.128 (Cisco Unity Express) 7177 10/22 09:25:17.973 netw smtp 6 250-X-VPIM-Wave 7177 10/22 09:25:17.975 netw smtp 6 250-X-Broadcast 7177 10/22 09:25:17.978 netw smtp 6 250-DSN NOTIFY 7177 10/22 09:25:17.981 netw smtp 6 250 SIZE 7177 10/22 09:25:18.478 netw smtp 5 MAIL FROM 3001@a.3.229.128 7177 10/22 09:25:18.488 netw smtp 6 250 ok 7177 10/22 09:25:18.490 netw smtp 5 RCPT TO 2001@a.3.235.128 7177 10/22 09:25:18.495 netw smtp 6 250 ok 7177 10/22 09:25:18.497 netw smtp 5 DATA 7177 10/22 09:25:18.501 netw smtp 6 354 Start mail input; end with <CRLF>.<CRLF> 7177 10/22 09:25:18.509 netw vpim 3 VPIM 7177 10/22 09:25:18.543 netw vpim 3 VPIM: To: <2001@a.3.235.128> 7177 10/22 09:25:18.544 netw vpim 3 VPIM: From: User<3001@a.3.229.128> 7177 10/22 09:25:18.546 netw vpim 3 VPIM: Date: Fri, 22 Oct 2004 09:25:07 -0700 (PDT) 7177 10/22 09:25:18.547 netw vpim 3 VPIM: MIME-Version: 1.0 (Voice 2.0) 7177 10/22 09:25:18.547 netw vpim 3 VPIM: Content-Type: Multipart/Voice-Message; Version=2.0; 7177 10/22 09:25:18.547 netw vpim 3 VPIM: Boundary="==VpimMsg==1098462318504" 7177 10/22 09:25:18.547 netw vpim 3 VPIM: Content-Transfer-Encoding: 7bit 7177 10/22 09:25:18.547 netw vpim 3 VPIM: Message-ID: <1098462307586_0@a.3.229.128> 7177 10/22 09:25:18.548 netw vpim 3 VPIM: 7177 10/22 09:25:18.550 netw vpim 3 VPIM: --==VpimMsg==1098462318504 7177 10/22 09:25:18.550 netw vpim 3 VPIM: Content-Type: text/directory; charset=us-ascii; profile=vCard 7177 10/22 09:25:18.551 netw vpim 3 VPIM: Content-Transfer-Encoding: 7bit 7177 10/22 09:25:18.551 netw vpim 3 VPIM: Content-Disposition: attachment; filename="User.vcf" 7177 10/22 09:25:18.551 netw vpim 3 VPIM: 7177 10/22 09:25:18.551 netw vpim 3 VPIM: BEGIN:vCard 7177 10/22 09:25:18.551 netw vpim 3 VPIM: FN:User 7177 10/22 09:25:18.552 netw vpim 3 VPIM: EMAIL;TYPE=INTERNET;TYPE=VPIM:3001@a.3.229.128 7177 10/22 09:25:18.552 netw vpim 3 VPIM: TEL:3001 7177 10/22 09:25:18.552 netw vpim 3 VPIM: VERSION: 3.0 7177 10/22 09:25:18.552 netw vpim 3 VPIM: END:vCard 7177 10/22 09:25:18.553 netw vpim 3 VPIM: 7177 10/22 09:25:18.597 netw vpim 3 VPIM: --==VpimMsg==1098462318504 7177 10/22 09:25:18.597 netw vpim 3 VPIM: Content-Type: Audio/x-wav 7177 10/22 09:25:18.597 netw vpim 3 VPIM: Content-Transfer-Encoding: Base64 7177 10/22 09:25:18.597 netw vpim 3 VPIM: Content-Disposition: inline; voice=Originator-Spoken-Name 7177 10/22 09:25:18.598 netw vpim 3 VPIM: 7177 10/22 09:25:18.646 netw vpim 3 VPIM: UklGRjI3AABXQVZFZm10IBIAAAAHAAEAQB8AAEAfAAABAAgAAABmYWN0BAAAAAA3AABkYXRhADcA APT6/fr6+/19eXZ4e3l4eXt9/fv9fX37/f/9/f/7/X17eXt5eH37/f34+vv7+Pv/+/v7/339//99 eHh7e3l4fX3//Xt9/33///3///v6+Pb7/fv9//99/317e3t9/319/3l0eHn//3t9ff/9+Pj///r0
Di seguito è riportato un esempio di output per i comandi trace per il sito ricevente (sito 3) quando si invia un messaggio dall'estensione sito 2 2002 all'estensione sito 3 3001.
cue-cme3725# trace networking smtp all cue-cme3725# trace networking vpim all cue-cme3725# show trace buffer tail Press <CTRL-C> to exit... 3220 11/08 08:58:43.359 ACCN HTTS 0 -> LtdSemaph [1297198140] permits: 1 limit: 1 3082 11/08 09:03:23.851 netw smtp 2 3082 11/08 09:03:33.871 netw smtp 3 socket hostName: a.3.229.128, hostAddress: a.3.229.128 3082 11/08 09:03:33.872 netw smtp 3 hostname: a.3.229.128 found in good address cache 3082 11/08 09:03:33.882 netw smtp 1 8850 11/08 09:03:33.888 netw smtp 5 Initial connection message 8850 11/08 09:03:33.893 netw smtp 6 UNKNOWN: EHLO a.3.229.128 8850 11/08 09:03:33.894 netw smtp 5 250-a.3.235.128 8850 11/08 09:03:34.400 netw smtp 6 EHLO : MAIL FROM: <3001@a.3.229.128> 8850 11/08 09:03:34.406 netw smtp 5 250 ok 8850 11/08 09:03:34.411 netw smtp 6 MAIL FROM:: RCPT TO: <2002@a.3.235.128> 8850 11/08 09:03:34.412 netw smtp 5 250 ok 8850 11/08 09:03:34.417 netw smtp 6 RCPT TO:: DATA 8850 11/08 09:03:34.417 netw smtp 5 354 Start data 8850 11/08 09:03:34.483 netw vpim 4 VPIM: To: <2002@a.3.235.128> 8850 11/08 09:03:34.486 netw vpim 4 VPIM: From: User<3001@a.3.229.128> 8850 11/08 09:03:34.489 netw vpim 4 VPIM: Date: Fri, 22 Oct 2004 09:30:06 -0700 (PDT) 8850 11/08 09:03:34.494 netw vpim 4 VPIM: MIME-Version: 1.0 (Voice 2.0) 8850 11/08 09:03:34.497 netw vpim 4 VPIM: Content-Type: Multipart/Voice-Message; Version=2.0;Boundary="==VpimMsg==1098462616955" 8850 11/08 09:03:34.501 netw vpim 4 VPIM: Content-Transfer-Encoding: 7bit 8850 11/08 09:03:34.504 netw vpim 4 VPIM: Message-ID: <1098462606180_0@a.3.229.128> 8850 11/08 09:03:34.507 netw vpim 4 VPIM: 8850 11/08 09:03:34.510 netw vpim 4 VPIM: --==VpimMsg==1098462616955 8850 11/08 09:03:34.523 netw vpim 1 Message 8850 11/08 09:03:34.528 netw vpim 4 VPIM: Content-Type: text/directory; charset=us-ascii; profile=vCard 8850 11/08 09:03:34.532 netw vpim 4 vCard: Content-Transfer-Encoding: 7bit 8850 11/08 09:03:34.535 netw vpim 4 vCard: Content-Disposition: attachment; filename="User.vcf" 8850 11/08 09:03:34.538 netw vpim 4 vCard: 8850 11/08 09:03:34.541 netw vpim 4 vCard: BEGIN:vCard 8850 11/08 09:03:34.544 netw vpim 4 vCard: FN:User 8850 11/08 09:03:34.547 netw vpim 4 vCard: EMAIL;TYPE=INTERNET;TYPE=VPIM:3001@a.3.229.128 8850 11/08 09:03:34.550 netw vpim 4 vCard: TEL:3001 8850 11/08 09:03:34.553 netw vpim 4 vCard: VERSION: 3.0 8850 11/08 09:03:34.556 netw vpim 4 vCard: END:vCard 8850 11/08 09:03:34.559 netw vpim 4 vCard: 8850 11/08 09:03:34.564 netw vpim 4 vCard: --==VpimMsg==1098462616955 8850 11/08 09:03:34.570 netw vpim 4 VPIM: Content-Type: Audio/x-wav 8850 11/08 09:03:34.573 netw vpim 4 VPIM: Content-Transfer-Encoding: Base64 8850 11/08 09:03:34.577 netw vpim 4 VPIM: Content-Disposition: inline; voice=Originator-Spoken-Name 8850 11/08 09:03:34.585 netw vpim 5 17477 8850 11/08 09:03:34.588 netw vpim 4 VPIM audio: UklGRjI3AABXQVZFZm10IBIAAAAHAAEAQB8AAEAfAAABAAgAAABmYWN0BAAAAAA3AABkYXRhADcA 8850 11/08 09:03:34.589 netw vpim 4 VPIM audio: APT6/fr6+/19eXZ4e3l4eXt9/fv9fX37/f/9/f/7/X17eXt5eH37/f34+vv7+Pv/+/v7/339//99 8850 11/08 09:03:34.591 netw vpim 4 VPIM audio: eHh7e3l4fX3//Xt9/33///3///v6+Pb7/fv9//99/317e3t9/319/3l0eHn//3t9ff/9+Pj///r0 8850 11/08 09:03:34.593 netw vpim 4 VPIM audio: 9vb2+/99/319/Xl2/319///9//99e//9fX19ffv/ffv//fv69vj6+vv/ff99fX12dnh5fXt9+//9 8850 11/08 09:03:34.594 netw vpim 4 VPIM audio: +33//f//eXh7+/39+v/9+vr6+/v9ff99//r///v9/fr7+/v/e3h5e3h2eHh5/f17//v///97//j6 8850 11/08 09:03:34.596 netw vpim 4 VPIM audio:
Revisione | Data di pubblicazione | Commenti |
---|---|---|
1.0 |
26-Jun-2005 |
Versione iniziale |