Subject: | $agi->wait_for_digit(3000) returns "1" w/o waiting |
Date: | Tue, 12 Dec 2006 19:53:13 -0600 |
To: | bug-asterisk-perl [...] rt.cpan.org |
From: | "Scott Edwards" <cpan [...] foss.daxal.com> |
Using perl 5.4.8 on Debian Sarge.
libasterisk-perl is 0.09-1
asterisk is 1.2.10
It doesn't seem to matter what I press, or not, either a few seconds before,
or nearly just before the call is made, I always get a return value of 1.
$rc is preset to -2 so I can distinguish if $rc ever got touched.
Eg:
my $rc = -2;
$rc = $agi->wait_for_digit(3000);
$agi->verbose(__LINE__.": rc:$rc",1);
Thanks,
Scott.