Hi all,<br><br>I'm trying to write a script using phpagi, but there's something that's not working and I can't figure out why.<br><br>Here's my code:<br><br>#!/usr/bin/<span style="color: rgb(255, 163, 79);"><b>php</b></span>
-q
<br> <?<span style="color: rgb(255, 163, 79);"><b>php<br></b></span><span class="postbody">require('/var/lib/asterisk/agi-bin/phpagi.<span style="color: rgb(255, 163, 79);"><b>php</b></span>');
</span><br><span class="postbody">$<span style="color: rgb(255, 163, 79);"><b>agi</b></span> = new <span style="color: rgb(255, 163, 79);"><b>AGI</b></span>();
<br>$<span style="color: rgb(255, 163, 79);"><b>agi</b></span>->say_digits(62410);
<br>$cid = $agi->get_variable("dir");<br>$agi->say_digits($cid);<br>
?>
</span><br><br><br>I'm getting this error:<br><br>parse error, unexpected '=' on line 6<br><br><br>can you tell me what am I doing wrong?<br>thanks<br><br>Mauricio Mantilla<br>