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?

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to