Page 1 of 1

vxml app not executing "submit", throwing "noinput" events

Posted: Tue Apr 05, 2016 9:51 am
by mbarrus
We are having trouble getting our demo application to go anywhere beyond the first requested xml file. The initial xml file simply does a "submit" to another URL, and also catches errors and submits them via a "<data>" tag to another URL. Looking at the log file, it does not show any errors thrown, nor any requests to either of these other files. It just triggers "noinput" events despite our application not expecting/requesting any user input.

Here is an excerpt from the log:

Attempting to fetch http://voice.test.virtualagentstage.com/plum.xml
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
VXI::var_element(name="myData" expr = "")
VXI::var_element(name="myEvent" expr = "")
VXI::var_element(name="mySessionID" expr = "session.id")
VXI::var_element(name="myScript" expr = "'plum.xml'")
VXI::var_element(name="myLocation" expr = "")
VXI::var_element(name="myData" expr = "")
VXI::var_element(name="myEvent" expr = "")
VXI::var_element(name="mySessionID" expr = "session.id")
VXI::var_element(name="myScript" expr = "'plum.xml'")
VXI::var_element(name="myLocation" expr = "")
Entering form = '$_internalName_1297938' form item = 'callingNumber'
VXI::queue_prompts()
VXI::field_element - activating grammars for form = '$_internalName_1297938' formitem = 'callingNumber'
VXI::do_recognition()
PromptManager::Play()

Fri 01 Apr 2016 06:57:17 PM EDT:
received event: noinput:
Entering form = '$_internalName_1297938' form item = 'callingNumber'
VXI::queue_prompts()
VXI::field_element - activating grammars for form = '$_internalName_1297938' formitem = 'callingNumber'
VXI::do_recognition()
PromptManager::Play()

Fri 01 Apr 2016 06:57:20 PM EDT:
received event: noinput:

Re: vxml app not executing "submit", throwing "noinput" even

Posted: Tue Apr 05, 2016 11:49 am
by support
Hello mbarrus,

The reason it is throwing a "noinput" event is due to the <field> tag that is set. The <field> tag is expecting input from the user. In this case, you want to use either <var> or <assign>

We hope this helps.

Regards,
Plum Support

Re: vxml app not executing "submit", throwing "noinput" even

Posted: Tue Apr 05, 2016 1:11 pm
by mbarrus
thank you for the response. fields are used so that they are added to the form, initialized with variables via expr (e.g. expr="session.callerid"), and posted with the submit event. After some more digging, it looks like the reason it's expecting user input is because the session variable names we are using are undefined in your system (we're porting this app from a different provider with different variables) so it's not actually able to initialize these fields. We will correct this and try again. Thanks