Building Asterisk speech applications with AGI

Capacity Private Cloud ASR and TTS can be controlled entirely through the UniMRCP Asterisk dialplan applications — MRCPRecog, MRCPSynth, and SynthAndRecog. Because everything is driven from dialplan, the same speech functionality can also be controlled from the Asterisk Gateway Interface (AGI) or Fast AGI. This lets you build speech-enabled applications in an external scripting language — handling complex logic, database lookups, and dynamic grammars in code rather than expressing it all in dialplan. (Fast AGI runs the same interface over a TCP socket, so the script can execute on a separate, scalable host.)

For examples of building speech-enabled AGI applications, see the Asterisk PHP Generic Speech Interface, along with the sample Hello World PHP and Store Locator PHP applications.


Related Articles


Was this article helpful?