hi all,
THIS IS MY Asterisk::AGI code
$option=$AGI->get_data(‘asterisk/sounds/option’,10000,1);
while(! (($option eq 1) || ($option eq “#”) || ($option eq “*”)) ) {
$option=$AGI->get_data(‘asterisk/sounds/option’,10000,1);}
The get_data command require the user input … the user can input either of ‘’, ‘#’ or 1 … but when user presses ‘#’, the loop continues prompting until a '’ or 1 is pressed … can any one tell me whats the catch ???
Thanks