cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3722
Views
14
Helpful
7
Replies

TCL TIMERS

Leonardo Santana
Spotlight
Spotlight

Hello,

I,m using this TCL its-CISCO.2.0.3.0.tcl, and i wanna to decrease the interdigit timeout, and the timeout to transfers the call to the operator.

Can somebody help me?

Regards
Leonardo Santana

*** Rate All Helpful Responses***
1 Accepted Solution

Accepted Solutions

Here is how i might try


a) To set it as a constant inside the script

proc init { } {

    global param1

    set param1(interruptPrompt) true

    set param1(abortKey) *

    set param1(terminationKey) #

   set param1(initialDigitTimeout) 3

    set param1(interDigitTimeout) 4

...

b) If you want to change it from CLI

In the CLI: param initial-Digit-Timeout x

                        param inter-Digit-Timeout y

proc init_ConfigVars { } {

     global param1

  

if [infotag get cfg_avpair_exists initial-Digit-Timeout] {

        set param1(initialDigitTimeout) [string trim [infotag get cfg_avpair initial-Digit-Timeout]]

    } else {

        set param1(initialDigitTimeout) 3

    }

if [infotag get cfg_avpair_exists inter-Digit-Timeout] {

        set param1(interDigitTimeout) [string trim [infotag get cfg_avpair inter-Digit-Timeout]]

    } else {

        set param1(interDigitTimeout) 4

    }

View solution in original post

7 Replies 7

dsobrinho
Level 9
Level 9

As I understood your last post, you need reduce the time to awaiting  a transfer to operator.

Something like:

proc init { } {

    global param

    set param(interruptPrompt) true

    set param(abortKey) *

    set param(terminationKey) #

    set param(maxDigits) 1

    set param(initialDigitTimeout) 3

    set param(interDigitTimeout) 4

I have the same problem. with this TCL.

Does anybody Knows something like that?

Best regards

Daniel

Daniel Sobrinho

Here is how i might try


a) To set it as a constant inside the script

proc init { } {

    global param1

    set param1(interruptPrompt) true

    set param1(abortKey) *

    set param1(terminationKey) #

   set param1(initialDigitTimeout) 3

    set param1(interDigitTimeout) 4

...

b) If you want to change it from CLI

In the CLI: param initial-Digit-Timeout x

                        param inter-Digit-Timeout y

proc init_ConfigVars { } {

     global param1

  

if [infotag get cfg_avpair_exists initial-Digit-Timeout] {

        set param1(initialDigitTimeout) [string trim [infotag get cfg_avpair initial-Digit-Timeout]]

    } else {

        set param1(initialDigitTimeout) 3

    }

if [infotag get cfg_avpair_exists inter-Digit-Timeout] {

        set param1(interDigitTimeout) [string trim [infotag get cfg_avpair inter-Digit-Timeout]]

    } else {

        set param1(interDigitTimeout) 4

    }

Hi all,

Anybody show me what are difference between initialDigitTimeout and interDigitTimeout?

Hi,

param(initialDigitTimeout)  —  Initial digit timeout value in seconds. The default is 10.

param(interDigitTimeout)  —  Interdigit timeout value in seconds. The default is 10. Time Allowed between Dialed digits.

Thanks,

Raghavendra

Thanks for Raghavendra

I want to clarify more with an example. I make incoming call and hear welcome-menu with some options:

- Press 0 for operator

- Press 2 for sale team

-Press the extension number you know (example: 2000)

Call flow:

Welcom-menu play --> end(1)--> press 2 (2)---> press 0 (3)--> press 0 (4)--> Press 0 (5)

Allowed maximum duration from (1) to (2)  is InitialDigitTimeout.

Allowed maximum duration (2) to (3) (or from (3) to (4)) is interDigitTimeout

Am I correct?

Thuc

InitialDigitTimeout  --  intial digit  ie., first digit to be dialed.

interDigitTimeout  ---  Time Allowed between Dialed digits.


Thanks,

Raghavendra

ok, thank you Raghavendra

Thuc