LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -

LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -

LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -

LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -

LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -
LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2 -
(028) 35124257 - 0933 427 079

LAB VOICE MAIL AIM TRÊN CME (VOICE MAIL CUE) - Phần 2

13-07-2020

Kiểm tra “license” voicemail trên AIM.

se-10-1-10-253# show software licenses

Installed license files:

 - voicemail_lic.sig : 50 MAILBOX LICENSE

 

Core:

 - Application mode: CCME

 - Total usable system ports: 6

 

Voicemail/Auto Attendant:

 - Max system mailbox capacity time: 840

 - Default # of general delivery mailboxes: 15

 - Default # of personal mailboxes: 50

 

 - Max # of configurable mailboxes: 65

 

Interactive Voice Response:

 - Max # of IVR sessions: Not Available

 

Languages:

 - Max installed languages: 2

 - Max enabled languages: 2

se-10-1-10-253#

Kích hoạt ứng dụng voicemail trên AIM. Số lượng “maxsession 6” quan sát tại phần “Total usable system ports: 6” trong nội dung hiển thị của câu lệnh “show software licenses”.

se-10-1-10-253# configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

se-10-1-10-253(config)#    ccn application voicemail

Modifying existing application

se-10-1-10-253(config-application)#      description "Cisco Voicemail"

se-10-1-10-253(config-application)#      maxsessions 6

se-10-1-10-253(config-application)#      exit

se-10-1-10-253(config)#

hoặc

configure terminal

  ccn application voicemail

  description "Cisco Voicemail"

  maxsessions 6

  exit

Khai báo thông tin địa chỉ IP mà CUE sử dụng để tương tác với CME.

se-10-1-10-253(config)# ccn subsystem sip

se-10-1-10-253(config-sip)#    gateway address "10.1.10.254"

se-10-1-10-253(config-sip)#    end subsystem

hoặc

ccn subsystem sip

  gateway address "10.1.10.254"

  end subsystem

Cấu hình SIP Trigger cho ứng dụng voicemail. Giá trị number value 2000 phải khớp với pattern được cấu hình trong destination-pattern của SIP dial peer trên CME trỏ tới CUE. Khai báo số lượng caller tối đa mà ứng dụng có thể tiếp nhận một cách đồng thời bằng câu lệnh command “maxsessions number”.

se-10-1-10-253(config)#    ccn trigger sip phonenumber 2000

Adding new trigger

se-10-1-10-253(config-trigger)#       application voicemail

se-10-1-10-253(config-trigger)#       enabled

se-10-1-10-253(config-trigger)#       maxsessions 6

se-10-1-10-253(config-trigger)#       end trigger

se-10-1-10-253(config)#

hoặc

ccn trigger sip phonenumber 2000

  application voicemail

  enabled

  maxsessions 6

  end trigger

Tạo tài khoản voicemail cho các user. Câu lệnh “voicemail mailbox owner "user1" size 180” thiết lập dung lượng mailbox cho user1 là 180 giây.

se-10-1-10-253#   username user1 create

se-10-1-10-253#   username user1 pin "1001"

se-10-1-10-253#   configure terminal

se-10-1-10-253(config)#   username user1 phonenumber 1001

se-10-1-10-253(config)# voicemail mailbox owner "user1" size 180

se-10-1-10-253(config-mailbox)# enable

se-10-1-10-253(config-mailbox)# greeting standard

se-10-1-10-253(config-mailbox)# exit

se-10-1-10-253(config)#

 

se-10-1-10-253(config)#  username user2 create

se-10-1-10-253(config)#   username user2 pin "1002"

se-10-1-10-253#   configure terminal

se-10-1-10-253(config)#  username user2 phonenumber 1002

se-10-1-10-253(config)#  voicemail mailbox owner "user2" size 180

se-10-1-10-253(config-mailbox)#  enable

se-10-1-10-253(config-mailbox)#  greeting standard

se-10-1-10-253(config-mailbox)# exit

se-10-1-10-253(config)#

hoặc

username user1 create

username user1 pin "1001"

configure terminal

username user1 phonenumber 1001

voicemail mailbox owner "user1" size 240

  enable

  greeting standard

  exit

 

username user2 create

username user2 pin "1002"

configure terminal

username user2 phonenumber 1002

voicemail mailbox owner "user2" size 240

  enable

  greeting standard

  exit

Xóa tài khoản voicemail các user bằng câu lệnh sau.

se-10-1-10-253# username ?

  cueadmin                    cueadmin

  user1                           user1

  user2                           user2

  USER              Specify the user by the short system name

se-10-1-10-253# username user1 delete

Xem thống kê thông tin các Mailbox.

se-10-1-10-253# show voicemail mailboxes

OWNER               MSGS NEW SAVE DEL           BCST FUTR FAX MSGTIME          MBXSIZE         USED

"user2"                          1    1       0             0             0             0      0                    7              240                3 %

"user1"                          3    3       0             0             0             0      0                    24           240                10 %

se-10-1-10-253#

 

se-10-1-10-253# show voicemail usage

personal mailboxes:                                    2

general delivery mailboxes:                       0

orphaned mailboxes:                                  0

capacity of voicemail (minutes):                840

allocated capacity (minutes):                     8.0

total message time used (seconds):            30

total message count:                                   4

average message length (seconds):            7.5

broadcast message count:                           0

future message count:                                 0

networking message count:                        0

greeting time used (seconds):                     0

greeting count:                                            0

average greeting length (seconds):            0.0

total time used (seconds):                           30

total time used (minutes):                           0.5

percentage used time (%):                          1

messages left since boot:                            0

messages played since boot:                      0

messages deleted since boot:                      0

se-10-1-10-253#

 

se-10-1-10-253# show voicemail limits

Default Mailbox Size (seconds):                775

Default Caller Message Size (seconds):    240

Maximum Recording Size (seconds):       900

Default Message Age (days):                     30

System Capacity (minutes):                       840

Default Prompt Language:                         systemDefault

Operator Telephone:

Maximum Broadcast Size (seconds):       300

Broadcast Message Age (days):                 30

Broadcast Message MWI:                          disabled

Play Caller Id:                                             disabled

Mandatory Message Expiry:                      disabled

Mailbox Selection:                                     last-redirect

se-10-1-10-253#

Kiểm tra thông tin mailbox của các user.

se-10-1-10-253# show voicemail detail mailbox user1

Owner:                                          /sw/local/users/user1

Type:                                            Personal

Description:

Busy state:                                    idle

Enabled:                                       true

Allow login without pin:             no

Mailbox Size (seconds):              180

Message Size (seconds):             180

Play Tutorial:                               true

Fax Enabled:                                true

Space Used (seconds):                   0

Total Message Count:                 0

New Message Count:                  0

Saved Message Count:               0

Future Message Count:               0

Deleted Message Count:             0

Fax Message Count:                    0

Expiration (days):                        30

Greeting:                               standard

Zero Out Number:

Created/Last Accessed:                  Apr 21 2015 04:35:04 ICT

 

se-10-1-10-253#

Kiểm tra ứng dụng voicemail.

se-10-1-10-253# show ccn application

 

Name:                                                          ciscomwiapplication

Description:                                                ciscomwiapplication

Application type:                                        aa

Script:                                                          setmwi.aef

ID number:                                                  0

Enabled:                                                      yes

Maximum number of sessions:                  6

CallControlGroupID:                                 0

strMWI_OFF_DN:                                     8001

strMWI_ON_DN:                                       8000

 

Name:                                                          msgnotification

Description:                                                msgnotification

Application type:                                        aa

Script:                                                          msgnotify.aef

ID number:                                                  1

Enabled:                                                      yes

Maximum number of sessions:                  6

DelayBeforeSendDTMF:                           1

logoutUri:                                                    http://localhost/voicemail/vxmlscripts/mbxLogout.jsp

 

Name:                                                          voicemail

Description:                                                Cisco Voicemail.

Application type:                                        aa

Script:                                                          voicebrowser.aef

ID number:                                                  2

Enabled:                                                      yes

Maximum number of sessions:                  4

logoutUri:                                                    http://localhost/voicemail/vxmlscripts/mbxLogout.jsp

uri:                                                               http://localhost/voicemail/vxmlscripts/login.vxml

 

Name:                                                          autoattendant

Description:                                                autoattendant

Application type:                                        aa

Script:                                                          aa.aef

ID number:                                                  3

Enabled:                                                      yes

Maximum number of sessions:                  6

allowExternalTransfers:                             false

busClosedPrompt:                                      AABusinessClosed.wav

businessSchedule:                                       systemschedule

busOpenPrompt:                                         AABusinessOpen.wav

dialByExtnAnytime:                                   false

dialByExtnAnytimeInputLength:              4

dialByFirstName:                                       false

disconnectAfterMenu:                                false

holidayPrompt:                                           AAHolidayPrompt.wav

MaxRetry:                                                   3

operExtn:                                                    0

welcomePrompt:                                         AAWelcome.wav

 

Name:                                                          promptmgmt

Description:                                                promptmgmt

Application type:                                        aa

Script:                                                          promptmgmt.aef

ID number:                                                  4

Enabled:                                                      yes

Maximum number of sessions:                  1

se-10-1-10-253#

Bước 5: Check Voicemail

Khi có voicemail thì đèn đỏ sẽ sáng và biểu tượng lá thư sẽ nhấp nháy như hình dưới đây:

Để kiểm tra voicemail, ta thực hiện các bước sau:

  1. Nhấc ống nghe lên hoặc nhấn vào nút Speaker (sử dụng loa ngoài), rồi nhấn vào nút Message (hình lá thư).
  2. Nhập password khi được yêu cầu. Password mặc định chính là số extension của mình. Ví dụ: Ext là 1001 thì password là 1001.
  3. Sau đó nhấn các phím như được hướng dẫn để thực hiện các chức năng của Voicemail
    1. Nhấn phím 1 để nghe tin nhắn mới
    2. Nhấn phím 3 để nghe tin nhắn đã lưu, sau đó:
      1. Nhấn phím 1 để nghe tin nhắn đã lưu
      2. Nhấn phím 2 để xóa tin nhắn đã lưu
  4. Trong lúc nghe tin nhắn, ta có thể nhấn các phím để thực hiện các chức năng sau:
    1. Phím 1: nghe lại tin nhắn
    2. Phím 2: lưu tin nhắn
    3. Phím 3: xóa tin nhắn
    4. Phím 4: trả lời tin nhắn
    5. Phím 5: chuyển tiếp tin nhắn
    6. Phím 6: lưu tin nhắn như 1 tin mới
  5. Tham khảo thêm tài liệu “Cisco Unity Express 8.6 Voice-Mail System” trên trang chủ của www.cisco.com để biết thêm thông tin về cách sử dụng voicemail.

4. Cấu hình đầy đủ của các thiết bị

se-10-1-10-253# show running-config

Generating configuration:

 

 

clock timezone Asia/Saigon

 

hostname se-10-1-10-253

 

ip domain-name cisco.com

 

line console

  exit

 

system language preferred "en_US"

software download server url "ftp://127.0.0.1/ftp" credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmP"

site name local

 end site

 

privilege broadcast create

privilege vm-imap create

privilege manage-passwords create

privilege ViewRealTimeReports create

privilege ManagePublicList create

privilege ViewPrivateList create

privilege ManagePrompts create

privilege local-broadcast create

privilege ViewHistoricalReports create

privilege manage-users create

 

groupname Broadcasters create

 

username user2 create

username user1 create

username cueadmin create

 

privilege broadcast description "Privilege to send local or remote broadcast messages"

privilege vm-imap description "Privilege to manage personal voicemail via IMAP client"

privilege manage-passwords description "Privilege to reset user passwords"

privilege ViewRealTimeReports description "Privilege to view realtime reports"

privilege ManagePublicList description "Privilege to manage public lists"

privilege ViewPrivateList description "Privilege to view private list"

privilege ManagePrompts description "Privilege to create, modify, or delete system prompts"

privilege local-broadcast description "Privilege to send local broadcast messages"

privilege ViewHistoricalReports description "Privilege to view historical reports"

privilege manage-users description "Privilege to create, modify, and delete users and groups"

privilege broadcast operation broadcast.local

privilege broadcast operation system.debug

privilege broadcast operation broadcast.remote

privilege vm-imap operation voicemail.imap.user

privilege manage-passwords operation user.password

privilege manage-passwords operation user.pin

privilege manage-passwords operation system.debug

privilege ViewRealTimeReports operation report.realtime

privilege ManagePublicList operation voicemail.lists.public

privilege ManagePublicList operation system.debug

privilege ViewPrivateList operation voicemail.lists.private.view

privilege ManagePrompts operation system.debug

privilege ManagePrompts operation prompt.modify

privilege local-broadcast operation broadcast.local

privilege local-broadcast operation system.debug

privilege ViewHistoricalReports operation report.historical.view

privilege manage-users operation user.remote

privilege manage-users operation user.configuration

privilege manage-users operation user.notification

privilege manage-users operation user.password

privilege manage-users operation user.mailbox

privilege manage-users operation user.pin

privilege manage-users operation system.debug

privilege manage-users operation group.configuration

 

groupname Administrators member cueadmin

groupname Broadcasters privilege broadcast

 

username user2 phonenumber "1002"

username user1 phonenumber "1001"

 

restriction msg-notification create

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://127.0.0.1/ftp" credentials hidden "EWlTygcMhYmjazXhE/VNXHCkplVV4KjescbDaLa4fl4WLSPFvv1rWUnfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+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 aa

 description "autoattendant"

 enabled

 maxsessions 6

 script "aa.aef"

 parameter "busClosedPrompt" "AABusinessClosed.wav"

 parameter "holidayPrompt" "AAHolidayPrompt.wav"

 parameter "welcomePrompt" "AAWelcome.wav"

 parameter "disconnectAfterMenu" "false"

 parameter "dialByFirstName" "false"

 parameter "allowExternalTransfers" "false"

 parameter "MaxRetry" "3"

 parameter "dialByExtnAnytime" "false"

 parameter "busOpenPrompt" "AABusinessOpen.wav"

 parameter "businessSchedule" "systemschedule"

 parameter "dialByExtnAnytimeInputLength" "4"

 parameter "operExtn" "0"

 end application

 

ccn application ciscomwiapplication aa

 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 aa

 description "msgnotification"

 enabled

 maxsessions 6

 script "msgnotify.aef"

 parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"

 parameter "DelayBeforeSendDTMF" "1"

 end application

 

ccn application promptmgmt aa

 description "promptmgmt"

 enabled

 maxsessions 1

 script "promptmgmt.aef"

 end application

 

ccn application voicemail aa

 description "Cisco Voicemail."

 enabled

 maxsessions 4

 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 reporting historical

 database local

 description "se-10-1-10-253"

 end reporting

 

ccn subsystem sip

 gateway address "10.1.10.254"

 end subsystem

 

ccn trigger http urlname msgnotifytrg

 application "msgnotification"

 enabled

 maxsessions 2

 end trigger

 

ccn trigger http urlname mwiapp

 application "ciscomwiapplication"

 enabled

 maxsessions 1

 end trigger

 

ccn trigger sip phonenumber 2000

 application "voicemail"

 enabled

 maxsessions 4

 end trigger

 

service phone-authentication

 end phone-authentication

 

service voiceview

 enable

 end voiceview

 

voicemail broadcast recording time 300

voicemail default messagesize 240

voicemail notification restriction msg-notification

voicemail mailbox owner "user1" size 180

 messagesize 180

 end mailbox

 

voicemail mailbox owner "user2" size 180

 messagesize 180

 end mailbox

 

end

se-10-1-10-253#

 

 

 

CME#show running-config

Building configuration...

 

Current configuration : 2966 bytes

!

! Last configuration change at 07:27:02 UTC Wed May 13 2015

version 15.1

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname CME

!

!

! card type command needed for slot/vwic-slot 0/2

!

ip cef

!

ip dhcp excluded-address 10.1.10.254

ip dhcp excluded-address 10.1.20.254

!

ip dhcp pool Voice

 network 10.1.10.0 255.255.255.0

 default-router 10.1.10.254

 option 150 ip 10.1.10.254

!

ip dhcp pool Data

 network 10.1.20.0 255.255.255.0

 default-router 10.1.20.254

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

voice-card 0

!

crypto pki token default removal timeout 0

!

license udi pid CISCO2811 sn FTX0940A3K9

!

redundancy

!

interface FastEthernet0/0

 description Ket noi toi switch PoE

 no ip address

 duplex auto

 speed auto

!

interface FastEthernet0/0.1

 description Ket noi toi Management VLAN

 encapsulation dot1Q 1 native

 ip address 10.1.1.254 255.255.255.0

!

interface FastEthernet0/0.10

 description Ket noi toi Voice VLAN

 encapsulation dot1Q 10

 ip address 10.1.10.254 255.255.255.0

!

interface FastEthernet0/0.20

 description Ket noi toi Data VLAN

 encapsulation dot1Q 20

 ip address 10.1.20.254 255.255.255.0

!

interface Service-Engine0/1

 ip unnumbered FastEthernet0/0.10

 service-module ip address 10.1.10.253 255.255.255.0

 service-module ip default-gateway 10.1.10.254

!

interface FastEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

ip route 10.1.10.253 255.255.255.255 Service-Engine0/1

!

dial-peer voice 2 voip

 destination-pattern 2...

 session protocol sipv2

 session target ipv4:10.1.10.253

 dtmf-relay sip-notify

 codec g711ulaw

 no vad

!

telephony-service

 no auto-reg-ephone

 max-ephones 42

 max-dn 144

 ip source-address 10.1.10.254 port 2000

 voicemail 2000

 max-conferences 8 gain -6

 transfer-system full-consult

!

ephone-dn  1  dual-line

 number 1001

 name user1

 call-forward busy 2000

 call-forward noan 2000 timeout 6

!

ephone-dn  2  dual-line

 number 1002

 name user2

 call-forward busy 2000

 call-forward noan 2000 timeout 6

!

ephone-dn  11

 number 8000....

 mwi on

!

ephone-dn  12

 number 8001....

 mwi off

!

ephone  1

 device-security-mode none

 mac-address B000.B4D8.8E95

 username "user1"

 type 7965

 button  1:1

!

ephone  2

 device-security-mode none

 mac-address B000.B4D9.A3B1

 username "user2"

 type 7965

 button  1:2

!

line con 0

 logging synchronous

line aux 0

line 258

 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

 privilege level 15

 no login

 transport input all

!

scheduler allocate 20000 1000

end

 

CME#

 

 

PoE#show running-config

Building configuration...

 

Current configuration : 1755 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname PoE

!

!

no aaa new-model

ip subnet-zero

no ip domain-lookup

!

no file verify auto

!

spanning-tree mode pvst

spanning-tree extend system-id

no spanning-tree vlan 1

!

vlan internal allocation policy ascending

!

!

interface FastEthernet0/1

 description Ket noi toi IP Phone 1001

 switchport access vlan 20

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/2

 description Ket noi toi IP Phone 1002

 switchport access vlan 20

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

 description Ket noi toi router CME

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

 description Dat IP quan ly cho switch

 ip address 10.1.1.253 255.255.255.0

!

ip classless

ip http server

ip http secure-server

!

!

!

control-plane

!

!

line con 0

 logging synchronous

line vty 0 4

 privilege level 15

 no login

line vty 5 15

 no login

!

end

 

PoE#


FORM ĐĂNG KÝ MUA HÀNG
Đặt hàng
icon-cart
0