cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Did the CVP3.1 (& above) supports VXML Application variables.

44
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Amit Ingole on 12-11-2009 03:45:49 AM
Hi ,
Did the CVP3.1 supports the VXML application variable for e.g.  application.lastresult$ , application.lastresult$.confidence, application.lastresult$.utterance etc
 
if yes how can i use them?
 
Also is there any session or application variable which provide the last element visited in call ?
please reply,
 
Regards
Amit.
 

Subject: RE: Did the CVP3.1 (& above) supports VXML Application variables.
Replied by: Janine Graves on 12-11-2009 03:03:32 PM
The VoiceGateway has access to the shadow variables application.lastresult$ but doesn't pass them back to the Vxml Server (Studio application). If you wanted access in the Studio application, you'd have to modify the voice elements (Digits, Menu, Form, Date, Time, Number elements) so the VXML they create passes them back in the submit statement. Then you'd modify the voice elements to retrieve the values returned from the gateway and turn them into Session variables.
 
Janine

Subject: RE: Did the CVP3.1 (& above) supports VXML Application variables.
Replied by: Amit Ingole on 13-11-2009 09:02:08 AM
Thanks Janine, for the information you provided.. i will definately try to implement this in our apps.
thanks again..
 
Amit

Subject: RE: Did the CVP3.1 (& above) supports VXML Application variables.
Replied by: Arvand Owji on 06-02-2010 07:00:39 AM
Do you guys know if application.lastresult$.recording is accessible in CVP? Im running the below vxml code from CVP through a subdialog invoke.
I can hear inputmode and confidence but recording is undefined. Thanks in advance for the help.
 
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-US">
<form>
<property name="recordutterance" value="true"/>
     <field name="choice">
     <grammar mode="voice" type="application/grammar+xml"
version="1.0" src="http://HOST/grxml/myGrammar.grxml" />
        <prompt>
           Say a word
         </prompt>
     <nomatch>  
      <reprompt/>
     </nomatch>
     <filled>
      <var name="My_recording" expr="application.lastresult$.recording"/>
      <var name="My_confidence" expr="application.lastresult$.confidence"/>
      <var name="My_inputmode" expr="application.lastresult$.inputmode"/>
      <prompt> very good <value expr="My_recording" /> <value expr="My_confidence" /> <value expr="My_inputmode" /> </prompt>
     </filled>
     </field>
    <block>   
      <var name="status" expr="'done'"/>   
      <return namelist="status" />  
    </block>
  </form>
</vxml>

Subject: RE: Did the CVP3.1 (& above) supports VXML Application variables.
Replied by: gokila s on 08-04-2010 05:43:50 AM
Hi,
 
Can we use "application.lastresult$.inputmode" shadow variable inside <nomatch> tag?
 
Thanks.
CreatePlease to create content
This widget could not be displayed.