<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>
&nbsp;<BR>
Using AGI script to accept the input from caller but input value is not getting stored in variable.<BR>
&nbsp;<BR>
Extract from AGI Script:<BR>
&nbsp;<BR>
$agi = new AGI();<BR>
$agi-&gt; exec('Background','press_one0&amp;press_two0&amp;press_zero0');<BR>
$agi-&gt; exec('Read','NUMBER,,1,3');<BR>
<STRONG>$agi-&gt; verbose ("You have entered".$NUMBER);</STRONG><BR>
&nbsp;<BR>
Console Output:<BR>
AGI Script Executing Application: (Background) Options: (press_one0&amp;press_two0&amp;press_zero0)<BR>&nbsp;&nbsp;&nbsp; -- &lt;DAHDI/21-1&gt; Playing 'press_one0.gsm' (language 'en')<BR>&nbsp;&nbsp;&nbsp; -- &lt;DAHDI/21-1&gt; Playing 'press_two0.gsm' (language 'en')<BR>&nbsp;&nbsp;&nbsp; -- &lt;DAHDI/21-1&gt; Playing 'press_zero0.gsm' (language 'en')<BR>&nbsp;&nbsp;&nbsp; -- AGI Script Executing Application: (Read) Options: (NUMBER,,1,3)<BR>&nbsp;&nbsp;&nbsp; -- Accepting a maximum of 1 digits.<BR>&nbsp;&nbsp;&nbsp; -- User entered '1'<BR>&nbsp;<STRONG>pridid.php: You have entered<BR></STRONG>[Mar&nbsp; 2 16:56:37] ERROR[20454]: utils.c:1128 ast_carefulwrite: write() returned error: Broken pipe<BR>&nbsp;&nbsp;&nbsp; -- &lt;DAHDI/21-1&gt;AGI Script pridid.php completed, returning 0<BR><BR>
Thanks,<BR>
Kamlesh<BR>
&nbsp;<BR>                                               </div></body>
</html>