Get utterance file name in VXML application

115 views
Skip to first unread message

TJ.

unread,
Feb 6, 2019, 11:26:34 PM2/6/19
to UniMRCP
Hey there!


Is anyone know how to get a current user speech(utterance) file name in the VXML application?. In UniMRCP log I see json and wav files are writing in /opt/unimrcp/var/.

Here a captured log

2019-02-07 10:29:30:018066 [DEBUG] Save RDR /opt/unimrcp/var/umsgdf-ff0950356259415e-2002.json
2019-02-07 10:29:30:018192 [DEBUG] Finish Streaming <ff0950356259415e@gdf>
2019-02-07 10:29:30:018213 [DEBUG] Signal Message to [MRCP Server] [0x7f38e00790b0;3;4]
2019-02-07 10:29:30:018225 [DEBUG] Process Message [MRCP Server] [0x7f38e00790b0;3;4]
2019-02-07 10:29:30:018228 [INFO] Process RECOGNITION-COMPLETE Event <ff0950356259415e@speechrecog> [2002]
2019-02-07 10:29:30:018231 [INFO] State Transition RECOGNIZING -> RECOGNIZED <ff0950356259415e@speechrecog>
2019-02-07 10:29:30:018235 [DEBUG] Signal Message to [MRCPv2-Agent-1] [0x7f38ec003c90;1;0]
2019-02-07 10:29:30:018242 [DEBUG] Wait for Messages [MRCP Server]
2019-02-07 10:29:30:018250 [DEBUG] Process Poller Wakeup [MRCPv2-Agent-1]
2019-02-07 10:29:30:018252 [DEBUG] Process Message [MRCPv2-Agent-1] [0x7f38ec003c90;1;0]
2019-02-07 10:29:30:018258 [INFO] Send MRCPv2 Data 192.168.1.98:1544 <-> 192.168.1.24:40796 [1022 bytes]
MRCP/2.0 2140 RECOGNITION-COMPLETE 2002 COMPLETE
Channel-Identifier: ff0950356259415e@speechrecog
Completion-Cause: 000 success
Waveform-Uri: <http://localhost/utterances/umsgdf-ff0950356259415e-2002.wav>;size=42400;duration=2650
Content-Type: application/x-nlsml
Content-Length: 1847

Or any alternative way to get the utterance in VXML application. I try to use recordutterancetype property in VXML it also not work.

I'm using Voxeo Prophecy V 16.0

Doug Rylaarsdam

unread,
Feb 7, 2019, 3:47:41 PM2/7/19
to UniMRCP
One place to start might be the umsgsr.xml configuration. It will allow you to set the base uri to something other than http://localhost (assuming your vxml client is not running on the same host as UniMRCP). You may also need to configure a web server on the UniMRCP host to serve up the audio file location. Then, if your vxml platform supports the record features, it will be able to fetch the audio referenced in the Waveform-Uri header. Vxml provides the audio via the name of your <record> element, or via application.lastresult$.recording if using the recordutterance property. For the URI itself, I don't believe that is available, at least in standard vxml. 

Arsen Chaloyan

unread,
Feb 7, 2019, 5:20:33 PM2/7/19
to UniMRCP
While I actually do not have anything to add to a very comprehensive response provided by Doug, just wanted to thank everyone for taking the time and participating in the discussions.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages