search for: __write__

Displaying 2 results from an estimated 2 matches for "__write__".

Did you mean: __write
2003 Dec 10
0
Trouble with AGI and SAY DIGITS and WAIT FOR DIGIT using PHP
...-- [demo.agi] -- #!/usr/bin/php -q <?php ob_implicit_flush(true); set_time_limit(0); $in = fopen("php://stdin","r"); ... function __read__() { global $in, $debug; $input = str_replace("\n", "", fgets($in, 4096)); return $input; } function __write__($line) { print $line."\n"; } ... __write__("ANSWER"); __read__(); __write__("SAY DIGITS 68 \"7\""); __read__(); __write__("EXEC SayNumber 34"); __read__(); __write__("WAIT FOR DIGIT 5000"); __read__();
2003 Dec 18
11
Sphinx
Hi. I just started trying to play with Sphinx. I followed their site as far as running sphinx-server. It is listening on the default port. I copied sphinx2-simple to another file and changed sphinx2-continuous to sphinx2-server. So, I ran eagi-sphinx-test under asterisk. What exactly is it supposted to do? Here's what I get: debian:~# sphinx2-simple2 sphinx2-simple: Demo CMU Sphinx2