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

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

 

Variables

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

Index



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

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net