Hi.<br>I'm trying to get digits form the user via agi<br>something like this: this only should print result=asciicode<br><br>but none of the functions even wait until timeout .. <br>they just pass .. (after a nanosecond)
<br><br>the las print is always timeout.<br><br>Any clue ..?<br><br><br>my $callerid = $AGI{'callerid'} ;<br>if($callerid !~ /[0-9]{7,20}/){<br> #way numbre one<br> print "EXEC PLAYBACK please_enter_your_number \"\"\n"; my $result = <STDIN>;
<br> print "WAIT FOR DIGIT 3000\n"; my $result = <STDIN>;<br><br> # Way number two<br> # print "GET DATA please_enter_your_number \"-1\" \"10\""; my $result = <STDIN>;
<br> <br>}<br>print STDERR "$result";<br><br><br clear="all"><br>-- <br>Camilo Echeverry<br><br>Your life would be very empty if you had nothing to regret.