Hi we are using a custom built pluging for speech recognition. Out platform structure is
Asterisk
Unimrcp
custom speech server plugin
It keep processing the call and does not send request to unimrcp server untill i manually silent my microphone. when i click on mute call it send the stream to unimrcp server.
Here is dialplan for testing
[asr2]
exten => s,1,Answer
exten => s,n,MRCPRecog(/etc/asterisk/grammer/yesno.gram,p=default&t=1000&sw=1&b=2&ct=0.7&spl=en-US&f=pitch1)
exten => s,n,Verbose(1, 'result=',${RECOGSTATUS}, ${RECOG_COMPLETION_CAUSE}, ${RECOG_RESULT})
exten => s,n,Hangup