Blogs

Showing 13 results.
Items per Page 20
of 1

Forums

« Back to VXML-API

RE: recordutterance property

Combination View Flat View Tree View
Threads [ Previous | Next ]
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?

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

RE: recordutterance property
Answer
9/14/10 11:48 AM as a reply to Raghavendra Gutty Veeranagappa.
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.

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

RE: recordutterance property
Answer
9/15/10 12:55 PM as a reply to Raghavendra Gutty Veeranagappa.
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:

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

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

Collateral


No files available