The dialbyextension.aef Script

The dialbyextension.aef script allows a caller to

Figure B-6 shows a GUI view of the main portion of the script. The full text and variable definitions for the dialbyextension.aef script are given in the next section.

Figure B-6. The dialbyextension.aef Script

 

Script Content

Example B-3 is a text representation of the script contents.

Example B-66. The dialbyextension.aef Script

Start tryagain: Get Digit String(contact: --Triggering Contact--, result digit string: extension) Successful Create Generated Prompt(telephone.number type, store in spelledprompt) 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: extbusy) Goto Terminate Invalid Play Prompt (contact: --Triggering Contact--, prompt: invalidext) 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: invalidext) 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 dialbyextension.aef script are shown in Figure B-7.

Figure B-7. Variables of the dialbyextension.aef Script

Appendix C Cisco Unity Express Database Schema

Категории