[Asterisk-Users] phpagi DIAL command not working
Tony Buser
gr0k at juju.org
Tue Feb 17 11:03:26 MST 2004
I'm using phpagi to try and call out through our x100p line with the
following code for instance:
$strPhone = "6105555555";
$agi->agi_exec("DIAL Zap/5/$strPhone");
On the console I see:
fileno.php: >> DIAL Zap/5/6105555555
However it doesn't dial. It just continues on to the next line of the
script and eventually times out and hangs up. If I put the following in
extensions and call it, it dials out correctly:
exten => 70558,1,Dial(Zap/5/6105555555)
Everything else in my code works. (ANSWER, HANGUP, agi_getdtmf,
text2wave, etc) I'm running the latest cvs as of yesterday. What am I
doing wrong?
More information about the asterisk-users
mailing list