ASR module that allows to work with speech transcription tools over http.
Supports two mode: POST (upload form, asr parameres stored as fields) and PUT (binary stream, asr parameters stored in header: X-ASR-OPTIONS)
<extension name="asr-test">
<condition field="destination_number" expression="^(3222)$">
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="play_and_detect_speech" data="/tmp/test2.wav detect:curl {lang=en,some_var=some_val}"/>
<action application="sleep" data="1000"/>
<action application="log" data="CRIT SPEECH_RESULT=${detect_speech_result}"/>
<action application="sleep" data="1000"/>
<action application="hangup"/>
</condition>
</extension>