[asterisk-users] can't seem to register, status unmonitored

Steve Edwards asterisk.org at sedwards.com
Tue Jun 15 08:26:51 CDT 2010


On Tue, 15 Jun 2010, nikhil singhania wrote:

> I have modified a file inbound.php which uses function of 
> phpagi.php....exec_dial. But since i am not able to get the call on 
> softphone.
> 
> when i execute the php file on the command line of server, nothing 
> happens in my softphone. Since it's registered as i told you then when 
> the file is executed at server, my phone is supposed to ring , but its 
> not ringing. Where I am going wrong??

You cannot execute an AGI that executes dial() from the command line.

You can debug an AGI from the command line by feeding the proper responses 
into STDIN, but it cannot interact with the running instance of Asterisk.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list