cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
700
Views
0
Helpful
5
Replies
Beginner

how to use recordutterance in the call studio

My environment is cisco 3945e, CVP 11.5 aand Nuance 10,  I set the recordutterance=true in the call studio properties, and i use form element to recognize with the nuance asr. and nuance did set the record wav in the nuance server,  and return back the uri to cisco 3945e like the following logs:

MRCP/2.0 696 RECOGNITION-COMPLETE 3 COMPLETE

Channel-Identifier: 18@speechrecog

Waveform-URI: <http://bioclooasr:90/Nuance/callLogs/MyApp/2018/05May/07/23/NUAN-46-28-bioclooasr-A45F6A58-514411E8-BEC0AE75-406EDC9A@192.168.0.151-utt001-SAVEWAVEFORM.ulaw>; size=22560; duration=2820

Completion-Cause: 000 success

Content-Type: application/nlsml+xml

Content-Length: 322

I want to know how to save this wav uri into a variable in the call studio ?1.png

5 REPLIES 5
Beginner

Re: how to use recordutterance in the call studio

I use the following variable, but it seems that is not right to get the uri data, anyone can help me how to do this thing?

2.png

Rising star

Re: how to use recordutterance in the call studio

I doubt that the vb is returning the uri of the recording to vxml server.

You'll know by turning on vxml debug logging in the studio app, then

look at the vxml log created, see if the vb is returning the url.

To turn on the vxml debug logging, see the Studio Users Guide.

If it's not being returned, you'll have to 'extend' the voice element

using java to include the uri in the statement.

Beginner

Re: how to use recordutterance in the call studio

Hi Janine

I set the debug mode and see the debug log, it isn't has an url , so i use java to include the uri . the configure is as follows. but i don't know how to fetch the url in the mainmenu.java, could you help me or show me some sample code ? thank you very much.

Best Regards

翁小森

Sean

上海声浩信息科技股份有限公司

Shanghai Sunin Information Technology Ltd.,Co.

上海市徐汇区钦州北路1088号74栋718室 北京朝阳区建国路88号现代城SOHO 6号楼1606室

电话:021-64515198-8226 电话:010-62385035

传真:021-64825366 传真:010-65618823

手机:18616701182

mail:wengxiaosen@soundhao.com

Highlighted
Enthusiast

Re: how to use recordutterance in the call studio

Do you need the raw audio file or just the ASR'd string?

To get the string I have my VoiceElement set the value as a Session variable after being recorded. Then my Java code can access the variable with:

String memberName = (String) data.getSessionData("memberName");

Beginner

Re: how to use recordutterance in the call studio

Hi Xiaosen,

We are trying to implement same behavior in our project. Could you please let me know if you have found solution to how to save this wav uri into a variable in the call studio ?

Thanks in advance,

Suri.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards