• No results found

start the script

In document All in One Lab Guide for Cisco CME (Page 132-143)

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.

8. The script returns to the MainMenu step and plays the Welcome message again.

9. This time on the phone select Option 3 for Department. In the script the step is at:

Menu (contact: --Triggering Contact--, prompt: HS_Depts) 10. On the phone, select 2 for Hardware.

11. The system attempts to ring a phone but returns with “I’m sorry. We are currently experiencing system problem …”

12. 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)

2 1

3

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)

14. 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?

15. Right click on “extension” variable (in box

3

). A few selections show up.

Select Modify Variable.

16. 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.

17. On the CUE Editor, save this modified file as homestation23_new.aef.

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.

2. Go to Voicemail > Auto Attendant. In the list click on “homestation.”

3. 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.

4. In the CUE Editor, go to Debug > Reactive Script and select the homestation23_new.aef file.

5. On userone’s phone dial 1x91 to access the Homestation AA script.

6. 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.

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

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 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 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 admin create username userone create username usertwo create

username userone phonenumberE164 "4080012101"

username usertwo phonenumberE164 "4080012102"

username userone phonenumber "12101"

username usertwo phonenumber "12102"

groupname Administrators member admin groupname Administrators member userone groupname Administrators member usertwo groupname vmimap member userone groupname vmimap member usertwo

groupname Administrators privilege superuser 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 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 calendar biz-schedule systemschedule

open day 1 from 00:00 to 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 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

In document All in One Lab Guide for Cisco CME (Page 132-143)