[asterisk-users] AGI: Channel status

yusuf yusuf at ecntelecoms.com
Wed Jul 5 08:22:48 MST 2006


Hi all,

I'm trying to run CHANNEL STATUS from AGI written in PHP.  It does'nt seem to work, because Asterisk 
just hangs.  I am using Asterisk 1.2.7 and PHP 5.

Here is a cut:

fwrite(STDOUT,"CHANNEL STATUS Zap1-1");
         fflush(STDOUT);
         fwrite(STDERR,"STATUS IS:"+trim(fgets(STDIN,100)));


what am i doing wrong

-- 
thanks,
yusuf

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the asterisk-users mailing list