[asterisk-speech-rec] PHPAGI
Nitesh Divecha
nitesh at vipernetworks.com
Thu Dec 27 19:18:12 CST 2007
Hello All,
Currently, we have IVR based application written using PHPAGI and we
would like to enhanced it more using Voice recognition. I believe
LumenVox speech recognition software is the best for Asterisk based IVR.
Now is there anyway to integrate LumenVox speech recognition app with
PHPAGI? I want to keep on using PHPAGI as it gives me flexibility to
access DB and do other stuff. The main purpose to use LumenVox is to
give users some flexibility of speaking instead of keying the DTMF when
IVR ask for some input.
Here is an example of PHPAGI: -
#!/usr/bin/php -q
<?php
ob_implicit_flush(true);
set_time_limit(6);
...
do {
$pin_no = $agi->get_data('ivr_voice/EnterPersonalPin', 60000,
6); //IVR will prompt a user to enter PIN Number (DTMF).
$pin_no = $pin_no['result']; // Key input is stored in the
$pin_no variable
....
....
?>
Now how can I use speech to capture the input and store it in $pin_no
variable?
Cheers,
Nitesh
More information about the asterisk-speech-rec
mailing list