cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1153
Views
0
Helpful
0
Replies

Auto Attendant design with TCL script on 2921 voice gateway

Vinod Dahiya
Level 1
Level 1

Hello Everyone,

 

I need help on creating an auto attendant design call flow with tcl scipt on 2921 voice gateway.

 

Desired call flow would be as mentioned below:

 

Call flow details:

 

During 9 AM -12 PM and from 1 PM to 5:30 PM - Mon to Friday UTC+8 time- whenever users dial in play Para 1- 

(Welcome to ABC company-For English Service, please press 9” 

For enquiry, please press 1)

(For after-sale service,please press 2.)

(Please dial the extension number or dial 0 for operator

 

Inputs

 

  • 1 or 2 pressed- connect to 196 --> Busy/Noans play Para 3 (Please wait, the operator is busy now) and loop the call untill connect succesfully.
  • 0 is pressed connect to 101
  • if 9 is pressed play Para 6  ( Dial direct extension or 0 for operator.                                                         if 0 presses then connect to 101 and  if operator busy/ no answer play Para 7 (Please wait, the operator is busy now.) 

 

  • During 12 PM to 1 PM UCT +8- lunch time, dial direct extension or connect to 101

 

  • Any other number- First time, play Para 4 (Your dial number is incorrect,please redial or dial 0 for operator). 
  • If any user press any number again play Para 5

    (Your dial number is incorrect, we will transfer your call to reception for better service.)

    and connect to 101 operator.

 

 

Non-working hours-

 

5:30 PM to 9 AM - Mon to Friday UTC+8 and Sat Sunday.

 

1. When a person dial in during this hour, Play Para 8 (Welcome to ABC company)-For English Service, please press 9.

(Please dial the extension number directly. Since it is not working time, please visit our website: : www.abc.com Contact usor follow our public account and send your message. We will contact you as soon as possible.)

 

2. When press 9 play Para 9 (Welcome to ABC. Please dial the extension number directly and this is not working time please visit our website.

 

=============

 

Current set up with tcl script on gateway:

 

application
service aa flash:its-CISCO8100.tcl
paramspace english language en
paramspace english index 0
param operator 63710209100
paramspace english location flash:
paramspace english prefix en
param aa-pilot 10209100

 

Any possibilities of designing this call flow along with TOD on router would be a great help. I checked a few docs where we can creatre TOD on GW as mentioned below but never created/used/tested any tcl scripting in past:

 

 

To install and configure the scripts perform the following steps:

 

1)            Upload the tod.tcl script to a TFTP server.

 

2)            On the H.323 IOS gateway add the following configuration:

 

call application voice tod tftp://10.1.1.1/tod.tcl

call application voice tod start <HH:MM>

call application voice tod end <HH:MM>

call application voice tod prefix <prefix>

 

The parameters start and end parameters designate the period when a ToD policy is in effect. Valid range is 00:00 to 23:59. All 4 digits must be specified. I.e. 7AM must be specified as 07:00 and not 7:00.

 

The parameters prefix is the ToD prefix that will be prefixed to the called number when the ToD policy is in effect. If no prefix is configured then calls will be blocked.

 

3)            Add a voip dial-peer that routes all calls that should be subject to ToD routing/barring to the tod.tcl script. I.e. if all international calls are to be subject to a ToD policy then add this dial-peer:

 

dial-peer voice 1 pots

application tod

incoming called-number 9011

 

Thanks you for any comments!

 

Regards,

Vinod

0 Replies 0