Mailing List Archive

TCL timeout?!
I am trying to configure a timeout between digits when collecting them in a
TCL script. I am writing:

set param1(initialDigitTimeout) 4
set param1(interDigitTimeout) 3
leg collectdigits leg_incoming param1

and it doesn't work. I wait 4 seconds, 10, 20, nothing happends.

Any idea on this? Please? Help!

Thank you!
Costin
Re: TCL timeout?! [ In reply to ]
Use setTimeout:

# set timeout for digit collection
setTimeout 30 30

hth,

Ganbold


At 06:07 PM 29.04.2004, you wrote:
>I am trying to configure a timeout between digits when collecting them in a
>TCL script. I am writing:
>
>set param1(initialDigitTimeout) 4
>set param1(interDigitTimeout) 3
>leg collectdigits leg_incoming param1
>
>and it doesn't work. I wait 4 seconds, 10, 20, nothing happends.
>
>Any idea on this? Please? Help!
>
>Thank you!
>Costin
>
>_______________________________________________
>cisco-voip mailing list
>cisco-voip@puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip
Re: TCL timeout?! [ In reply to ]
Oh, it's TCL 2.0 (for Cisco) setTimeout doesn't work...

Why doesn't the digit collection timeout work? Anyone knows this?

Costin

----- Original Message -----
From: "Ganbold" <ganbold@micom.mng.net>
To: "Costin Manda" <costin@interpoint.ro>
Cc: <cisco-voip@puck.nether.net>
Sent: Thursday, April 29, 2004 12:13 PM
Subject: Re: [cisco-voip] TCL timeout?!


> Use setTimeout:
>
> # set timeout for digit collection
> setTimeout 30 30
>
> hth,
>
> Ganbold
>
>
> At 06:07 PM 29.04.2004, you wrote:
> >I am trying to configure a timeout between digits when collecting them in
a
> >TCL script. I am writing:
> >
> >set param1(initialDigitTimeout) 4
> >set param1(interDigitTimeout) 3
> >leg collectdigits leg_incoming param1
> >
> >and it doesn't work. I wait 4 seconds, 10, 20, nothing happends.
> >
> >Any idea on this? Please? Help!
> >
> >Thank you!
> >Costin
> >
> >_______________________________________________
> >cisco-voip mailing list
> >cisco-voip@puck.nether.net
> >https://puck.nether.net/mailman/listinfo/cisco-voip
>