The dialbyname.aef script allows a caller to spell an employee's name (the name to user step in the script shown in the next section). When a match is found (the get user info step in the script), the caller is transferred (the call redirect step in the script) to that employee's extension.
The full text and variable definitions for the dialbyname.aef script are given in the next section. Figure B-4 shows a GUI view of the main portion of the script.
Figure B-4. The dialbyname.aef Script
Script Content
Example B-2 is a text representation of the script contents.
Example B-65. The dialbyname.aef Script
Start /* Dial By Name */ Set again = 2 tryagain: Name To User (contact: --Triggering Contact--, result user:dialname) Successful Get User Info (user: dialname) If ( spokenname == null ) Then True Create Generated Prompt( spelling type, store in spelledname) False Create Container Prompt (output prompt: spelledname) Implicit Confirmation (contact: --Triggering Contact--) No Goto tryagain Yes Call Redirect (contact: --Triggering Contact--, extension: extension) Successful End Busy Play Prompt (contact: --Triggering Contact--, prompt: userbusy) Goto Terminate Invalid Play Prompt (contact: --Triggering Contact--, prompt: invaliduser) Decrement again If ( again == 0 ) Then True Play Prompt (contact: --Triggering Contact--, problems) Goto Terminate False Goto tryagain Unsuccessful Play Prompt (contact: --Triggering Contact--, prompt: invaliduser) Goto Terminate Set Contact Info (contact: --Triggering Contact--) Timeout Play Prompt (contact: --Triggering Contact--, prompt: problems) Goto Terminate Unsuccessful Play Prompt (contact: --Triggering Contact--, prompt: problems) Goto Terminate Terminate: Play Prompt (contact: --Triggering Contact--, prompt: goodbye) Terminate (contact: --Triggering Contact--) Set Contact Info (contact: --Triggering Contact--) End
Variables
The variables defined in the dialbyname.aef script are shown in Figure B-5.
Figure B-5. Variables of the dialbyname.aef Script
The dialbyextension 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