search for: __read__

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

2003 Dec 10
0
Trouble with AGI and SAY DIGITS and WAIT FOR DIGIT using PHP
...04[013-9],2,Playback(beep) exten => _104[013-9],3,AGI(demo.agi) exten => _104[013-9],4,Playback(beep) exten => _104[013-9],5,Hangup -- [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__()...
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