locked
VoiceXML max document loading counter RRS feed

  • Question

  • Hi,

    I have an application written using VoiceXML, which is getting invoked using VoiceXMLInterpreter activity in OCS2007. The problem I am having is if there is a call which goes on for a long time 15 minutes, and it hits some voice XML pages repeatedly, the following error is thrown:

    $Message                            The VoiceXml interpreter module encountered the following error: VoiceXML::Core::VXI:Maximum document loading count exceeded. There is probably an infinite loop in the VoiceXML document. Application source: anotherIncidentRoom.vxml..      Further trace information for support personnel follows:      Microsoft.SpeechServer.VoiceXml.VoiceXmlException: VoiceXML::Core::VXI:Maximum document loading count exceeded. There is probably an infinite loop in the VoiceXML document.    

    Exception                           Microsoft.SpeechServer.VoiceXml.VoiceXmlException: VoiceXML::Core::VXI:Maximum document loading count exceeded. There is probably an infinite loop in the VoiceXML document. Application source: anotherIncidentRoom.vxml.
    Reason                              VoiceXML::Core::VXI:Maximum document loading count exceeded. There is probably an infinite loop in the VoiceXML document. Application source: anotherIncidentRoom.vxml.


    There is no infinite loop in the page, since it gets executed fine many times before throwing this error. Is there a way to set this maximum document loading counter to a particular value?? Any pointers are appreciated!!!

    Thanks!
    Monday, March 24, 2008 11:03 PM

All replies

  • Copied from email reply for reference: (not from me)

     

    const int DEFAULT_MAX_DOCUMENT_LOAD_COUNT = 200;

     

    The limit in speech server about this document fetching is 200. I would guess there is a design issue in their system ( a normal vxml page shouldn’t load a single document for so many times), but without knowing their vxml code, I can’t help too much.

     

    Wednesday, March 26, 2008 5:27 AM
  • Thanks a lot for your reply!

    Our application has to take long calls (15 minutes or more) as per its design, so we may be hitting the 200 default value of no. of document loads. 

    Is there any way to change this value to a higher number, since this seems to be the default? Please help!!

    Thanks.


    Friday, March 28, 2008 5:56 PM
  • Unfortunately this number is hard coded.  If you are hitting this limit, then the quickest way to resolution would be if you could reduce the number of document loads by merging pages.  If this is not possible, then please contact our technical support department via the http://support.microsoft.com/gp/assistsupport web page.  If you are in the US, you can call (800)936-5800 and ask for support on Speech Server.

    Monday, April 7, 2008 8:20 AM