The main.aef Script

Table of contents:

The main.aef script does the following:

  • Answers the incoming call (the accept step in the script shown in the next section)
  • Checks for business hours and business days (the day of week and time of day steps in the script)
  • Provides the normal welcome greeting if it is during business hours (the menu step following the weekdays label)
  • Branches to a subflow (a separate script file called dialbyextension.aef) if the caller selects 1 for dial-by-extension (the call subflow to dialbyextension.aef step)
  • Branches to a subflow (a separate script file called dialbyname.aef) if the caller selects 2 for dial-by-name (the call subflow to dialbyname.aef step)
  • Transfers the caller to the operator (which is a variable) if he or she selects 0 (the Call Redirect step)
  • Handles various error conditions

Figure B-1 shows a graphical user interface (GUI) view of the first page of the script, which maps to approximately the top 30 lines of the text representation of the script. Figure B-2 shows the second page, which maps to approximately the last 30 lines of the text representation of the script. The full text and variable definitions of the main.aef script are given in the next section.

Figure B-1. First Page of the main.aef Script

Figure B-2. Second Page of the main.aef Script


Script Content

Example B-1 is a text representation of the main.aef script contents.

Example B-64. main.aef Script

/* New AA attendant */
 Accept (contact: --Triggering Contact--) 
Get Contact Info (contact: --Triggering Contact--)
 Day of Week 
 Time of Day 
 work hours
 Goto Weekdays
 The Rest
 Goto afterhours
 Play Prompt (contact: --Triggering Contact--, prompt: weekend)
 Set state = "terminate"
 Goto Doswitch
 Menu (contact: --Triggering Contact--, prompt: menuprompt) 
 Call Subflow -- dialbyextension.aef 
 Call Subflow -- dialbyname.aef 
 Set state = "operator"
 Goto Doswitch
 Set state = "problems"
 Goto Doswitch
 Set state = "operator"
 Goto Doswitch
Goto Weekdays
Switch String ( state )
 Play Prompt (contact: --Triggering Contact--, prompt: problem)
 Play Prompt (contact: --Triggering Contact--, prompt: transfer2oper
 Call Redirect (contact: --Triggering Contact--, extension: operator 
 Set condition = true
 Set condition = false
 Set Contact Info (contact: --Triggering Contact--)
 Create Conditional Prompt (store in operbusy)
 Play Prompt (contact: --Triggering Contact--, prompt: operbusy)
Delay 1 sec
Play Prompt (contact: --Triggering Contact--, prompt: goodbye)
On Exception(UndefinedPromptException) Goto noprompttest
Play Prompt (contact: --Triggering Contact--, prompt: noprompt)
Clear Exception(UndefinedPromptException)
Terminate (contact: --Triggering Contact--)
Set Contact Info (contact: --Triggering Contact--)



The variables defined in the main.aef script are shown in Figure B-3.

Figure B-3. Variables of the main.aef Script

The dialbyname aef Script

Part I: Cisco IP Communications Express Overview

Introducing Cisco IPC Express

Building a Cisco IPC Express Network

Cisco IPC Express Architecture Overview

Part II: Feature Operation and Applications

Cisco IP Phone Options

Cisco CME Call Processing Features

Cisco CME PSTN Connectivity Options

Connecting Multiple Cisco CMEs with VoIP

Integrating Cisco CME with Cisco CallManager

Cisco IPC Express Automated Attendant Options

Cisco IPC Express Integrated Voice Mail

Cisco CME External Voice Mail Options

Additional External Applications with Cisco CME

Part III: Administration and Management

Cisco IPC Express General Administration and Initial System Setup

Configuring and Managing Cisco IPC Express Systems

Cisco IPC Express System Configuration Example

Part IV: Maintenance and Troubleshooting

Troubleshooting Basic Cisco IPC Express Features

Troubleshooting Advanced Cisco CME Features

Troubleshooting Cisco CME Network Integration

Troubleshooting Cisco UE System Features

Troubleshooting Cisco UE Automated Attendant

Troubleshooting Cisco UE Integrated Voice Mail Features

Part V: Appendixes

Appendix A. Cisco IPC Express Features, Releases, and Ordering Information

Appendix B. Sample Cisco UE AA Scripts

Appendix C. Cisco Unity Express Database Schema


Cisco IP Communications Express(c) CallManager Express with Cisco Unity Express
Cisco IP Communications Express: CallManager Express with Cisco Unity Express
ISBN: 158705180X
EAN: 2147483647
Year: 2006
Pages: 236 © 2008-2020.
If you may any questions please contact us: