locked
remove a long pause between QA prompts in SALT application RRS feed

  • Question

  • Hi Friends,

    I have two QA activities on a (SALT) page. Somehow there occurs a long pause after the prompt of the first QA completes and second QA's prompt starts playing. I have not given any break elements or timeouts anywhere. (you can refer code below)

    (so I need some kind of endtimeout which defines the period between first prompt ends (interrupted or completed) and the other prompt starts, which I can set to minimum value for e.g. 1000 (1 second) and thus shorten the pause between them  , there is no such inbuilt timeout propery exist though)

    Any help is greatly appreciated......

     <speech:semanticmap id="SemanticMap1" runat="server" height="0px">
             <speech:semanticitem id="siReport" runat="server" autopostback="True" onclientchanged="onNotConfirmed"
                    bindonchanged="True">
                </speech:semanticitem>                     
                <speech:semanticitem id="siSayReport" runat="server" autopostback="True" bindonchanged="True"
                    onclientchanged="onNotConfirmed">
                </speech:semanticitem>
            </speech:semanticmap>
            <br>       
             <speech:qa id="Sayreport" runat="server" width="288px" playonce="True" settings="GlobalSpeechElements1:BaseQASettings" onclientactive="HandleNoRecoAndSilence" clientactivationfunction="ActivateQA" >
                <dtmf id="SayPageLoadComplete_Dtmf" ><Grammars>
    <speech:Grammar runat="server" ID="Sayreport_DtmfGrammar1" Src="Grammars/DigitsDTMF.grxml#digit"></speech:Grammar>
    </Grammars>
    </dtmf>
                <answers>
    <speech:Answer runat="server" XpathTrigger="/SML" SemanticItem="siSayReport"></speech:Answer>
    </answers>
                <reco id="SayPageLoadComplete_Reco" ></reco>
                <prompt inlineprompt="&lt;ssml:prosody volume=&quot;60&quot;&gt;The page load is complete and the counting prompt has been stopped. End of sample.&lt;/ssml:prosody&gt;" id="SayPageLoadComplete_Prompt"></prompt>
             </speech:qa>
             <br>
            <speech:qa id="ReportQA" runat="server" clientactivationfunction="ActivateQA"  settings="GlobalSpeechElements1:BaseQASettings" >
                <dtmf id="ToppingQA_Dtmf"><Grammars>
                    <speech:Grammar runat="server" ID="ReportQA_DtmfGrammar1" Src="Grammars/getdtmfMainMenu.grxml#ReportDigit"></speech:Grammar>
                    </Grammars>
                </dtmf>
                <answers>
                    <speech:Answer runat="server" XpathTrigger="/SML" SemanticItem="siReport"></speech:Answer>
                </answers>
                <reco id="ToppingQA_Reco" ></reco>
                <prompt inlineprompt="&lt;ssml:prosody volume=&quot;60&quot;&gt;Report is complete.&lt;/ssml:prosody&gt;"
                    id="ToppingQA_Prompt"></prompt>
            </speech:qa>

    Thanks & Regards,

    Megha

    Saturday, March 27, 2010 11:37 AM