Hi
I am working on to plug sphinx2 into asterisk for my home phone system.
The Sphinx2 just works fine and sr_client comes back with right result.
But when I test it with the AGI script in the asterisk. The script just
capture a empty gsm file in the /tmp which bring up fail.
Does anyone got experience about sphinx2? please help.
Thanks
Alex
The part of the code is here..
***************************************************************
sub confirm {
while (my $tries <= 3) {
$tries++;
$AGI->stream_file("/var/lib/asterisk/sounds/say_yes_no",'""');
$AGI->stream_file("beep",'""');
$AGI->record_file("/tmp/$$", 'wav', '0',3000);