unispeech / asterisk-unimrcp

UniMRCP modules for Asterisk
http://www.unimrcp.org/asterisk
GNU General Public License v2.0
48 stars 35 forks source link

Return values from ${RECOG_COMPLETION_CAUSE} #25

Closed IraComm closed 6 years ago

IraComm commented 6 years ago

All the help files for Asterisk for the SynthAndRecog "${RECOG_COMPLETION_CAUSE}" has only 3 values: 000=success, 001=No Match, 002=No Input. What is the meaning of 003? And, are there any others?

same => n,gotoif($[${RECOG_COMPLETION_CAUSE}=001]?BadMenu) same => n,gotoif($[${RECOG_COMPLETION_CAUSE}=002]?NoInput)

achaloyan commented 6 years ago

This variable is set based on the corresponding header filed Completion-Cause set in a RECOGNITION-COMPLETE event. Possible completion cause codes and their interpretation slightly differ for MRCP v1 and v2 and can be found at the following links.

https://tools.ietf.org/html/rfc4463#section-8.4.8 https://tools.ietf.org/html/rfc6787#section-9.4.11

IraComm commented 6 years ago

Fantastic. Thanks for the info.

Ira S. Holden III

O/C: 513-631-4244

From: Arsen Chaloyan [mailto:notifications@github.com] Sent: Wednesday, June 06, 2018 8:37 PM To: unispeech/asterisk-unimrcp Cc: IraComm; Author Subject: Re: [unispeech/asterisk-unimrcp] Return values from ${RECOG_COMPLETION_CAUSE} (#25)

This variable is set based on the corresponding header filed Completion-Cause set in a RECOGNITION-COMPLETE event. Possible completion cause codes and their interpretation slightly differ for MRCP v1 and v2 and can be found at the following links.

https://tools.ietf.org/html/rfc4463#section-8.4.8 https://tools.ietf.org/html/rfc6787#section-9.4.11

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/unispeech/asterisk-unimrcp/issues/25#issuecomment-395256303 , or mute the thread https://github.com/notifications/unsubscribe-auth/Aegoxm7NpXDvYxPiQnI7S8_yYE9jMBDzks5t6HWygaJpZM4Uc3ij . https://github.com/notifications/beacon/AegoxoPJVeBCzUo3QDeA_aHa5lZmmYV7ks5t6HWygaJpZM4Uc3ij.gif