[Asterisk-Users] PHP and *

Alessio Focardi afoc at interconnessioni.it
Fri Mar 19 03:36:18 MST 2004


tnx !

I will need to recompile the whole php ... :(

with cgi and this script

#!/usr/bin/php -q
<?php

ob_implicit_flush(true); 
set_time_limit(6); 

$stdin = fopen('php://stdin', 'r'); 
$stdout = fopen('php://stdout', 'w'); 

fputs($stdout,"SAY NUMBER 1234567 '79#' \n"); 
fflush($stdout);  

?>

I only get

-- Executing AGI("SIP/-09132410", "test") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/test
-- Playing 'digits/1' (language 'en')
-- AGI Script test completed, returning 0
Mar 19 11:31:48 WARNING[-1284088912]: rtp.c:406 ast_rtp_read: RTP Read error: Resource temporarily unavailable

and digit is not played ...

Do you know any place I can dowload precompiled php exec cli version ?

Tnx for your help !



-- 
Best regards,
 Alessio                            mailto:afoc at interconnessioni.it





More information about the asterisk-users mailing list