We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

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

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
mbarrus
Posts: 2
Joined: Fri Apr 01, 2016 7:16 pm

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

Post 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:

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

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

Post 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

mbarrus
Posts: 2
Joined: Fri Apr 01, 2016 7:16 pm

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

Post 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

Post Reply