CUE Auto Attendant

ammarhaider
ammarhaider used Ask the Experts™
on
I am trying to create a custom script using the GUI of Cisco  Unity Express. The script and the application are created successfully with "Dial by Extension anytime" but when i dial the call in number and then try to dial an extension it simply says "You have dialed an invalid phone number." Extensions are three digits in length.Dialing zero is working fine as it does reach the operator's extension. I am fairly new to cisco so I do not know where I am going wrong. The configuration seems to be pretty simple but this is the problem i am facing. Help is appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
CUE is working with CME or UCM?
could you please post the CUE configuration?

Author

Commented:
It is working with CME (Cisco Unfied Communications manager express)

Author

Commented:
se-172-21-1-2> 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:                          788
strMWI_ON_DN:                           777

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:                            voicemail
Application type:                       aa
Script:                                 voicebrowser.aef
ID number:                              2
Enabled:                                yes
Maximum number of sessions:             6
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:                 true
busClosedPrompt:                        AABusinessClosed.wav
businessSchedule:                       normal
busOpenPrompt:                          AABusinessOpen.wav
dialByExtnAnytime:                      true
dialByExtnAnytimeInputLength:           3
dialByFirstName:                        false
disconnectAfterMenu:                    false
holidayPrompt:                          AAHolidayPrompt.wav
MaxRetry:                               3
operExtn:                               500
welcomePrompt:                          AAWelcome.wav

Name:                                   promptmgmt
Description:                            promptmgmt
Application type:                       aa
Script:                                 promptmgmt.aef
ID number:                              4
Enabled:                                yes
Maximum number of sessions:             1

Name:                                   mycustomaa
Description:                            mycustomaa
Application type:                       aa
Script:                                 mycustomscript.aef
ID number:                              5
Enabled:                                yes
Maximum number of sessions:             6
se-172-21-1-2>
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

the integration between CUE and CME is working fine?
please post sh run from CUE?
i think the CUE could not find the CME extensions.

Author

Commented:
Here is the output of CUE sh run: Please note that I am using three different set of extensions starting with 3,4 and 5.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.07.18 22:28:39 =~=~=~=~=~=~=~=~=~=~=~=

se-172-21-1-22>>  shop w run
se-172-21-1-22>>  show runGenerating configuration:


hostname se-172-21-1-2

ip domain-name xxxx.local

system language preferred "en_US"

ip name-server 172.21.1.10

ntp server 172.21.1.1 prefer

site name local
 site-hostname 172.21.1.1
 web credentials hidden "xxx"
 end site

groupname Administrators create
groupname Broadcasters create

username admin create
username Ammar create
username Anil create
username gretta create
username Jihad create
username Lakshmi create
username Leena create
username MG create
username Praseetha create
username Priya create
username Rama create
username Sujit create
username Farooqui create
username Gunasekaran create
username Divya create
username khan create
username Pandiyan create
username Baptist create
username Hasan create
username Karim create
username Srinivas create
username Reception create
username Ammar phonenumber "512"
username Anil phonenumber "509"
username gretta phonenumber "503"
username Jihad phonenumber "505"
username Lakshmi phonenumber "506"
username Leena phonenumber "501"
username MG phonenumber "502"
username Praseetha phonenumber "508"
username Priya phonenumber "510"
username Rama phonenumber "504"
username Sujit phonenumber "507"
username Farooqui phonenumber "518"
username Gunasekaran phonenumber "513"
username Divya phonenumber "515"
username khan phonenumber "511"
username Pandiyan phonenumber "305"
username Baptist phonenumber "304"
username Hasan phonenumber "302"
username Karim phonenumber "303"
username Srinivas phonenumber "301"
username Reception phonenumber "500"

groupname Administrators member admin
groupname Administrators member Ammar
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 Administrators privilege ViewHistoricalReports
groupname Administrators privilege ViewRealTimeReports
groupname Administrators privilege superuser
groupname Broadcasters privilege broadcast

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 "xxx"

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" "true"
 parameter "MaxRetry" "3"
 parameter "dialByExtnAnytime" "true"
 parameter "busOpenPrompt" "AABusinessOpen.wav"
 parameter "businessSchedule" "normal"
 parameter "dialByExtnAnytimeInputLength" "3"
 parameter "operExtn" "500"
 end application

ccn application ciscomwiapplication aa
 description "ciscomwiapplication"
 enabled
 maxsessions 6
 script "setmwi.aef"
 parameter "CallControlGroupID" "0"
 parameter "strMWI_OFF_DN" "788"
 parameter "strMWI_ON_DN" "777"
 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 mycustomaa aa
 description "mycustomaa"
 enabled
 maxsessions 6
 script "mycustomscript.aef"
 end application

ccn application promptmgmt aa
 description "promptmgmt"
 enabled
 maxsessions 1
 script "promptmgmt.aef"
 end application

ccn application voicemail aa
 description "voicemail"
 enabled
 maxsessions 6
 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-172-21-1-2"
 end reporting

ccn subsystem sip
 gateway address "172.21.1.1"
 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 700
 application "voicemail"
 enabled
 maxsessions 6
 end trigger

ccn trigger sip phonenumber 701
 application "autoattendant"
 enabled
 maxsessions 6
 end trigger

ccn trigger sip phonenumber 702
 application "mycustomaa"
 enabled
 maxsessions 6
 end trigger

ccn trigger sip phonenumber 704
 application "promptmgmt"
 enabled
 maxsessions 1
 end trigger

security password lockout policy temp-lock
security pin lockout policy temp-lock
service imap
 enable
 maxsessions 20
 end imap

service phone-authentication
 end phone-authentication

service voiceview
 enable
 end voiceview

voicemail notification enable
voicemail notification preference all
voicemail notification connect-timeout 96
voicemail notification allow-login
voicemail notification email attach

voicemail callerid
voicemail configuration outgoing-email from-address xxx@xxx.com
voicemail broadcast recording time 300
voicemail default messagesize 240
voicemail notification restriction msg-notification
voicemail operator telephone 500
voicemail mailbox owner "Ammar" size 775
 description "Ammar mailbox"
 login pinless any-phone-number
 end mailbox

voicemail mailbox owner "Anil" size 775
 description "Anil mailbox"
 end mailbox

voicemail mailbox owner "Baptist" size 775
 description "Baptist mailbox"
 end mailbox

voicemail mailbox owner "Divya" size 775
 description "Divya mailbox"
 end mailbox

voicemail mailbox owner "Farooqui" size 775
 description "Farooqui mailbox"
 end mailbox

voicemail mailbox owner "Gunasekaran" size 775
 description "Gunasekaran mailbox"
 end mailbox

voicemail mailbox owner "Hasan" size 775
 description "Hasan mailbox"
 end mailbox

voicemail mailbox owner "Jihad" size 775
 description "Jihad mailbox"
 end mailbox

voicemail mailbox owner "Karim" size 775
 description "Karim mailbox"
 end mailbox

voicemail mailbox owner "Lakshmi" size 775
 description "Lakshmi mailbox"
 end mailbox

voicemail mailbox owner "Leena" size 775
 description "Leena mailbox"
 end mailbox

voicemail mailbox owner "MG" size 775
 description "MG mailbox"
 end mailbox

voicemail mailbox owner "Pandiyan" size 775
 description "Pandiyan mailbox"
 end mailbox

voicemail mailbox owner "Praseetha" size 775
 description "Praseetha mailbox"
 end mailbox

voicemail mailbox owner "Priya" size 775
 description "Priya mailbox"
 end mailbox

voicemail mailbox owner "Rama" size 775
 description "Rama mailbox"
 end mailbox

voicemail mailbox owner "Srinivas" size 775
 description "Srinivas mailbox"
 end mailbox

voicemail mailbox owner "Sujit" size 775
 description "Sujit mailbox"
 end mailbox

voicemail mailbox owner "gretta" size 775
 description "gretta mailbox"
 login pinless any-phone-number
 end mailbox

voicemail mailbox owner "khan" size 775
 description "khan mailbox"
 end mailbox

voicemail notification cascading enable

voicemail notification owner Ammar enable
voicemail notification owner Anil enable
voicemail notification owner MG enable
voicemail notification owner Srinivas enable
voicemail notification owner Farooqui enable

end

se-172-21-1-2> 
i did not find any problem with the configuration.
did you modify the default script?

Author

Commented:
Thanks for the prompy replies dear.
No i did not modify the default script. The default application "autoattendant" is running fine. I want a dept. to have its won autattendant and hence i am configuring this (mycustomaa). It is to be used for extensions starting with 4.
so the problem is with mycustomaa?!

Author

Commented:
yes dear.
if the problem with mycustomaa, you dont have any parameter under this application.

Author

Commented:
I have created a custom script (mycustomscript.aef) which is being utilized in this application.  I did it using the CUE GUI.

se-172-21-1-2> show ccn script

Name:                         setmwi.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:23:31 GST 2009
Last Modified Date:           Mon Apr 06 04:23:31 GST 2009
Length in Bytes:              26988

Name:                         msgnotify.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:23:54 GST 2009
Last Modified Date:           Mon Apr 06 04:23:54 GST 2009
Length in Bytes:              40096

Name:                         voicebrowser.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:24:11 GST 2009
Last Modified Date:           Mon Apr 06 04:24:11 GST 2009
Length in Bytes:              15371

Name:                         aa.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:24:26 GST 2009
Last Modified Date:           Mon Apr 06 04:24:26 GST 2009
Length in Bytes:              92340

Name:                         promptmgmt.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:24:52 GST 2009
Last Modified Date:           Mon Apr 06 04:24:52 GST 2009
Length in Bytes:              136961

Name:                         checkaltgreet.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:25:10 GST 2009
Last Modified Date:           Mon Apr 06 04:25:10 GST 2009
Length in Bytes:              11876

Name:                         xfermailbox.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:25:14 GST 2009
Last Modified Date:           Mon Apr 06 04:25:14 GST 2009
Length in Bytes:              7579

Name:                         aasimple.aef
Script type:                  aa
Create Date:                  Mon Apr 06 04:25:19 GST 2009
Last Modified Date:           Mon Apr 06 04:25:19 GST 2009
Length in Bytes:              34679

Name:                         mycustomscript.aef
Script type:                  aa
Create Date:                  Sat Jul 18 17:21:23 GST 2009
Last Modified Date:           Sat Jul 18 21:09:31 GST 2009
Length in Bytes:              25645
se-172-21-1-2> ccn ?
  call         Active call related information
  copy         Copy data from one location to another
  delete       Remove data
  rename       Rename a local data file
  reporting    historical Reporting
  trace        Trace
se-172-21-1-2>
i need screen shot from your CUE please if you dont mind.
if you can send me the script itself.

Author

Commented:
Please check the attached screenshots.
CUEScript.jpg
CUEaa.jpg
also fine, now lets check if the extensions are accessable from the CUE.

Author

Commented:
what do you mean by that? I mean how do i test? Direct extension dialing is fine. Moreover, using the default autoattendant is also fine and you can reach any extension.
could you please post the default script?
sorry i disturb you.

but because i dont have access to the system

Author

Commented:
No no no its very fine with me dear. I appreciate your help. You can find the script for the default autoattendant application in the CUE log posted above. Let me do it again here.

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" "true"
 parameter "MaxRetry" "3"
 parameter "dialByExtnAnytime" "true"
 parameter "busOpenPrompt" "AABusinessOpen.wav"
 parameter "businessSchedule" "normal"
 parameter "dialByExtnAnytimeInputLength" "3"
 parameter "operExtn" "500"
 end application

ccn application ciscomwiapplication aa
 description "ciscomwiapplication"
 enabled
 maxsessions 6
 script "setmwi.aef"
 parameter "CallControlGroupID" "0"
 parameter "strMWI_OFF_DN" "788"
 parameter "strMWI_ON_DN" "777"
 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 mycustomaa aa
 description "mycustomaa"
 enabled
 maxsessions 6
 script "mycustomscript.aef"
 end application

ccn application promptmgmt aa
 description "promptmgmt"
 enabled
 maxsessions 1
 script "promptmgmt.aef"
 end application

ccn application voicemail aa
 description "voicemail"
 enabled
 maxsessions 6
 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
i will make it in my lab and i will come back to you within 15 min

Author

Commented:
and how can i thank you for that?
thanks, i did it and it is working fine.

did you try to call the AA pilot from internal?

Author

Commented:
oh yes...when i call 702, it plays my welcome message and mainmenu. it even reaches the operator's extension when i press zero but does not go directly to other extensions.
did you try to reload the CUE?

Author

Commented:
no i did not...since the changes take place immediately, i did not..ok let me do that and get back..
ok waiting for you

Author

Commented:
Nopes....still the same message "You have dialed an invalid phone number". I even reloaded the router but still the same. There is something very small that we are missing i guess.
ok, remove the configuration.
i mean the custom AA and the dial-peer and create them again, hopefully it will work
 
can you give me access, i will give you my private email.
if dial 702 the 401 the operator extension what will happen????
Sorry dear for replying late.
The problem is solved anyway. The person who had configured my router had not made the dial-peers perfectly. To make it working I just enabled external dialing and thats it.
I really appreciate your help.
Thank you once again.
thank you very much, any time.

Commented:
can you please post more details cuz i face sane problem when i change extension length to 4 in cue it works but i choose 3 as extension length it doesnt work even after changing the dial peer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial