<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello,<BR>
<BR>
Using AGI script to accept the input from caller but input value is not getting stored in variable.<BR>
<BR>
Extract from AGI Script:<BR>
<BR>
$agi = new AGI();<BR>
$agi-> exec('Background','press_one0&press_two0&press_zero0');<BR>
$agi-> exec('Read','NUMBER,,1,3');<BR>
<STRONG>$agi-> verbose ("You have entered".$NUMBER);</STRONG><BR>
<BR>
Console Output:<BR>
AGI Script Executing Application: (Background) Options: (press_one0&press_two0&press_zero0)<BR> -- <DAHDI/21-1> Playing 'press_one0.gsm' (language 'en')<BR> -- <DAHDI/21-1> Playing 'press_two0.gsm' (language 'en')<BR> -- <DAHDI/21-1> Playing 'press_zero0.gsm' (language 'en')<BR> -- AGI Script Executing Application: (Read) Options: (NUMBER,,1,3)<BR> -- Accepting a maximum of 1 digits.<BR> -- User entered '1'<BR> <STRONG>pridid.php: You have entered<BR></STRONG>[Mar 2 16:56:37] ERROR[20454]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe<BR> -- <DAHDI/21-1>AGI Script pridid.php completed, returning 0<BR><BR>
Thanks,<BR>
Kamlesh<BR>
<BR>                                            </div></body>
</html>