Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Voice Gateway API (VGAPI) Developer Center
Overview
Documentation
Community
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to VXML-API
RE: recordutterance property
Threads [
Previous
|
Next
]
Huthesha K
Posts:
4
Join Date:
11/24/09
Recent Posts
RE: recordutterance property
Answer
11/9/11 8:35 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
I am trying to get the uttarence in application.lastresult$.recording element. Following is my VXML script.
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<vxml
version
=
"2.1">
<
property
name
=
"recordutterance"
value
=
"true"
/
>
<
form
id
=
"start"
>
<
block
>
<prompt>
Please count from 0 to 9
</
prompt
>
</
block
>
<
field
name
=
"getDigits"
type
=
"digits"
>
<
filled>
<
prompt
>
Recording was
<
audio
expr
=
"application.lastresult$.recording"
/>
</
prompt
>
</
filled
>
</
field
>
</
form
>
</
vxml
>
When I run this script I am getting
application.lastresult$.recording
is undefined.
Could you please tell me what is the problem with the above VXML script?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
218
Join Date:
4/28/10
Recent Posts
RE: recordutterance property
Answer
9/13/10 5:51 PM as a reply to Huthesha K.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Huthesha,
We have tested your script it is working fine for us.
Have you installed ASR and HTTP server because The recordutterance property requires an HTTP server on your automatic speech recognition (ASR) server. You must install and start your HTTP server before the recordutterance property can be supported
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Huthesha K
Posts:
4
Join Date:
11/24/09
Recent Posts
RE: recordutterance property
Answer
9/14/10 11:48 AM as a reply to Raghavendra Gutty Veeranagappa.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Raghavendra,
We are using nuance speech server. It has recognizer, verifier, Speech server 5.0. Under verifier we have tomcat server up and running. And also we have deployed all the vxml applications in this tomcat server. Is this setup correct? Could you please let me know what might be the issue?
Thanks,
Huthesh.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
218
Join Date:
4/28/10
Recent Posts
RE: recordutterance property
Answer
9/14/10 12:17 PM as a reply to Huthesha K.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Huthesh,
Please verify ASR configuration done in Voice Gateway,If possible please let us know your running config and logs by running following commands
show running-config
deb voip appli vxml all
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Huthesha K
Posts:
4
Join Date:
11/24/09
Recent Posts
RE: recordutterance property
Answer
9/15/10 12:55 PM as a reply to Raghavendra Gutty Veeranagappa.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Raghavendra,
Thanks for your early response. I have attached the running configuration and vxml debug log. Please let me know if there any changes need to be made
Thanks,
Huthesh
Attachments:
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anusha Kannappan
Posts:
149
Join Date:
9/15/09
Recent Posts
RE: recordutterance property
Answer
9/15/10 5:56 PM as a reply to Huthesha K.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
Thanks for sharing the running config as well as the debug logs as requested.
Assuming you have set the asr server IP Address in the running config, We found few discripencies. Please modify them and give a try and it should work.
* In ASR server set the following configuration to the hostname addressable from
router, instead of localhost:
Server/config/NSSserver.cfg:
Server.session.ossweb.machine <ip address>
and server.session.ossweb.port VXIInteger 80
* Also the directory where the recorded files must be saved should be same in NSSserver.cfg and httpd.config
for example in the NSSserver.cfg it should be
server.session.osswfm.directory VXIString $(NSSSVRSDK)/session
and in httpd.config it should be
DocumentRoot "C:\Program Files\Nuance\Speech Server 5.0\server\session"
Thanks,
Anusha
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Huthesha K
Posts:
4
Join Date:
11/24/09
Recent Posts
RE: recordutterance property
Answer
9/16/10 1:10 PM as a reply to Anusha Kannappan.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
Thanks a lot, now its working.
I made following changes in httpd.conf
DocumentRoot "C:/Program Files/Nuance/Speech Server 5.0/server/session"
<Directory "C:/Program Files/Nuance/Speech Server 5.0/server/session">
and also in Server/config/NSSserver.cfg I changed Server.session.ossweb.machine to ip address of HTTP server and server.session.ossweb.port to port which is being used by HTTP server.
Thanks,
Huthesh
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top