nrc-dtmfrecognitioninit payload
Current version: v1
The application/x-nuance-nrc-DTMFrecognitioninit
payloads provide the content of the RecognitionInit sent in the NRaaS RecognitionRequest. This message specifies the parameters and resources for recognition.
In addition to the standard fields described in data field structure, messages with the application/x-nuance-nrc-DTMFrecognitionInit
dataContentType include the following fields:
Test table
Field |
Description |
DTMFrecognitionInit |
Contains the DTMFRecognitionInit payload. |
nrcSessionid |
Identifier of the current NR session. |
Sample payload
"data": {
"dataContentType": "application/x-nuance-nrc-dtmfrecognitioninit.v1+json",
"nrcSessionid": "34ccbb9f-b509-4dfb-a34c-bda364e30704",
"traceid": "4e80fcf0b22c4793be301745acd61a90",
"clientRequestid": "93ace08f-5863-476a-a8cd-566f13120092_4",
"locale": "en-US",
"request": {
"recognitionInit": {
"parameters": {
"recognitionFlags": {
"stallTimers": true
},
"noInputTimeoutMs": 7000,
"dtmfInterdigitTimeoutMs": 500,
"dtmfTermTimeoutMs": 500,
"dtmfTermChar": "#",
"resultFormat": {
"additionalParameters": "mrcpv=2.06;strictconfidencelevel=1"
}
},
"resources": [
{
"inlineGrammar": {
"mediaType": "APPLICATION_SRGS_XML",
"grammar": "PD94bWwgdmVyc2lvbj0iMS4wIj8+CiAgPGdyYW1tYXIgbW9kZT0iZHRtZiIgdHlwZT0iYXBwbGljYXRpb24vc3Jncyt4bWwiIHJvb3Q9InIyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNi9ncmFtbWFyIgogICAgICB0YWctZm9ybWF0PSJzd2ktc2VtYW50aWNzLzEuMCIgdmVyc2lvbj0iMS4wIj4KICAgIDxydWxlIGlkPSJyMiIgc2NvcGU9InB1YmxpYyI+CiAgICAgIDxvbmUtb2Y+CiAgICAgICAgICA8aXRlbT40PHRhZz5lR2xvYmFsQ29tbWFuZHMgPSAnaGFuZ3VwJzsgSU5URU5UPSdOT19JTlRFTlQnPC90YWc+PC9pdGVtPgogICAgICAgICAgPGl0ZW0+Kjx0YWc+ZUdsb2JhbENvbW1hbmRzID0gJ21haW4gbWVudSc7IElOVEVOVD0nTk9fSU5URU5UJzwvdGFnPjwvaXRlbT4KICAgICAgICAgIDxpdGVtPjM8dGFnPmVHbG9iYWxDb21tYW5kcyA9ICdsb3N0IGx1Z2dhZ2UnOyBJTlRFTlQ9J05PX0lOVEVOVCc8L3RhZz48L2l0ZW0+CiAgICAgICAgICA8aXRlbT4xPHRhZz5lR2xvYmFsQ29tbWFuZHMgPSAnYm9vayBmbGlnaHQnOyBJTlRFTlQ9J05PX0lOVEVOVCc8L3RhZz48L2l0ZW0+CiAgICAgICAgICA8aXRlbT4yPHRhZz5lR2xvYm9fSU5URU5UJzwvdGFnPjwvaXRlbT4KICAgIDwvb25lLW9mPgogIDwvcnVsZT4KPC9ncmFtbWFyPgo="
},
"language": "en-US",
"grammarId": "session:gref1@93ace08f-5863-476a-a8cd-566f13120092"
}
],
"clientData": {
"msdyn_sessionid": "f0018557-17ff-4212-bb03-8b7c075f04fd",
"sequence_id": "4.2",
"correlation_id": "e9f63076-6104-4aca-b084-6c5e6c45a052",
"cc_session_id": "93ace08f-5863-476a-a8cd-566f13120092",
"msdyn_botid": "8e207302-81e0-44b9-8199-7587805f0c71"
}
}
}
}