Skip to content

adamendvy89/speech-recognition-asterisk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Transcribe audio in Asterisk with Google Speech Recognition

This repository is an example of how to use Google Speech Recogntion in Asterisk to transcribe audio voice.

Tools that are used here :

  • Asterisk PHP-AGI (PHP Asterisk Gateway Interface)

Set up Asterisk

Edit your extensions.conf according to the example given in this repository :

exten =>1234,1,answer
same=>n,agi(speechrecog.php)
same=>n,Hangup()

Copy the speechrecog.php and phpagi.php of this repository to /var/lib/asterisk/agi-bin/ directory.

Call extension 1234 and inspect your Asterisk CLI to get the transcription, the PHP script print the result.

About

A script for speech recognition in asterisk

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%