Hai,
I was try doing php agi script .I want user able to input 1 digits and directly move to next step with out wait user press pound(#) keys.
astWrite("STREAM FILE account-number X");
astRead();
astWrite("EXEC READ tempread1");
astRead();
astWrite("GET VARIABLE tempread1");
$a1=astRead();
echo $a1 . "\n";
astRead();
$num1=substr($a1,1);
$num1=substr($num1,0,-1);
$acc1 = (string)$num1;
$acc11 = $acc1[0];
astWrite("SAY DIGITS ".$acc11." #");
astRead();
Please advice.
Regards,
Wallace