On Mon, 18 Jan 2016 16:09:17 -0200
"Ethy H. Brito" wrote:
> On Mon, 18 Jan 2016 09:38:52 -0800 (PST)
> Steve Edwards wrote:
>
> > On Mon, 18 Jan 2016, Ethy H. Brito wrote:
> >
> > >> how to flush user input before READ()?
> >
> > How about
On Tue, 19 Jan 2016 09:02:30 -0800 (PST) Steve Edwards
wrote:
How about a read() to a dummy variable with a 1 second timeout to
consume the octothorpe and password?
If 1 second is too long, you could write an AGI to use the 'wait for
digit' AGI command which
On Tue, 19 Jan 2016 09:02:30 -0800 (PST)
Steve Edwards wrote:
> >>> How about a read() to a dummy variable with a 1 second timeout to
> >>> consume the octothorpe and password?
>
> If 1 second is too long, you could write an AGI to use the 'wait for
> digit' AGI
On Mon, 18 Jan 2016, Ethy H. Brito wrote:
how to flush user input before READ()?
On Mon, 18 Jan 2016 09:38:52 -0800 (PST)
Steve Edwards wrote:
How about a read() to a dummy variable with a 1 second timeout to
consume the octothorpe and password?
On Tue, 19
Hi All.
No one ? Anyone?
Cheers
Ethy
On Fri, 15 Jan 2016 15:37:51 -0200
"Ethy H. Brito" wrote:
>
> Hi
>
> how to flush user input before READ()?
>
> I wrote a small script to ask for user password before granting access to
> outside, but some telefones memorize
On Mon, 18 Jan 2016, Ethy H. Brito wrote:
how to flush user input before READ()?
How about a read() to a dummy variable with a 1 second timeout to consume
the octothorpe and password?
--
Thanks in advance,
-
Steve
On Mon, 18 Jan 2016 09:38:52 -0800 (PST)
Steve Edwards wrote:
> On Mon, 18 Jan 2016, Ethy H. Brito wrote:
>
> >> how to flush user input before READ()?
>
> How about a read() to a dummy variable with a 1 second timeout to consume
> the octothorpe and password?
It
Hi
how to flush user input before READ()?
I wrote a small script to ask for user password before granting access to
outside, but some telefones memorize the full user input, including "#".
So, when the user press redial, for instance 5556789#123, asterisk accepts the
number and the password