prompt not being played after noinput is detected
Posted: Thu Sep 09, 2010 9:11 am
I've got the following VXML file, which is verified as valid according to your site. The idea here is that when we call someone, it will always assume it has reached an answering machine, and ask someone to press a number to determine if it is indeed a person. If no input is detected after 5 seconds (the timeout is set in a root file), it will play the prompt at the bottom (leave a message) and then hang up. If a number is pressed, it knows there is a person on the line and it will transfer to another file to actually gather data. The latter part works--when I take the call, if I press a number, it begin to play the messages from the external file. But, if I do nothing, it doesn't seem to transfer control to the "machine" part at the bottom, it just disconnects. The log file indicates that no input was detected, but doesn't say anything about getting to the "machine" form tag. The VXML is below, and the log file is below that.
Thanks,
Andrew
<?xml version="1.0"?>
<vxml version="2.0" application="test_rootorder.vxml">
<form id="patienttest">
<field name="answer">
<property name="inputmodes" value="dtmf"/>
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
</grammar>
<prompt>
This is Continuing Care calling with an important message. Please press one.
</prompt>
<filled>
<goto next="#person"/>
</filled>
<noinput>
<goto next="#machine"/>
</noinput>
</field>
</form>
<form id="person">
<block>
<goto next="test_order_intro.vxml"/>
</block>
</form>
<form id="machine">
<block>
<prompt bargein="false">
Hello, this is Continuing Care. I’m calling to check on the sleep therapy patient at this address.
Please call our patient management service at <say-as type="acronym"> 1 877 618 3574 </say-as>
when you have a minute so we can track how you are doing.
The call should only take two minutes of your time and is designed to help us better care for you.
The number again is <say-as type="acronym"> 1 877 618 3574 </say-as> and you can call anytime day or night.
Thanks, and have a great day.
</prompt>
<disconnect/>
</block>
</form>
</vxml>
Thu 09 Sep 2010 09:39:08 AM EDT:
Call Start Event: ANII 13522741199 DNIS outbound VURL http://us.popproxy.plumgroup.com/plumvp/startpage.php
DocumentParser::FetchDocument()
DocumentParser::FetchDocument(http://us.popproxy.plumgroup.com/plumvp/startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/startpage.php
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/startpage.php
Click here to view saved VoiceXML script
VXI::var_element(name="sessionID" expr = "session.id")
DocumentParser::FetchDocument(startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... 1284038593
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... 1284038593
Click here to view saved VoiceXML script
VXI::var_element(name="callee_type" expr = "'voice'")
VXI::var_element(name="phone_number" expr = "'XXXXXXXXXXX'")
VXI::var_element(name="call_id" expr = "'2138572'")
VXI::var_element(name="message_reference" expr = "''")
VXI::var_element(name="call_parameters" expr = "''")
VXI::var_element(name="campaign_parameters" expr = "''")
DocumentParser::FetchDocument(http://login.sleepcarecenter.com/autocalls/order.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/autocalls/order.ashx
Thu 09 Sep 2010 09:39:09 AM EDT:
Click here to view saved VoiceXML script
DocumentParser::FetchDocument(test_rootorder.vxml)
Cache Miss: http://login.sleepcarecenter.com/autoca ... order.vxml
Attempting to fetch http://login.sleepcarecenter.com/autoca ... order.vxml
Click here to view saved VoiceXML script
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
</grammar>
---------
VXI::var_element(name="varDOB" expr = "")
VXI::var_element(name="varIncomingNumber" expr = "")
VXI::var_element(name="varOutgoingNumber" expr = "")
VXI::var_element(name="varResponseType" expr = "")
VXI::var_element(name="varQuestion" expr = "")
VXI::var_element(name="varReturnAnswer" expr = "")
VXI::var_element(name="varReturnQuestion" expr = "")
VXI::var_element(name="varOrderSomething" expr = "")
VXI::var_element(name="varCallID" expr = "")
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="mike" gender="male">
This is Continuing Care calling with an important message. Please press one.
</voice></speak>
---------
VXI::field_element - activating grammars for form = 'patienttest' formitem = 'answer'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played
Thu 09 Sep 2010 09:39:19 AM EDT:
received event: noinput:
bargein set to false
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
VXI::disconnect_element()
Disconnect
Disconnecting On Channel 1
received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 1
Thanks,
Andrew
<?xml version="1.0"?>
<vxml version="2.0" application="test_rootorder.vxml">
<form id="patienttest">
<field name="answer">
<property name="inputmodes" value="dtmf"/>
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
</grammar>
<prompt>
This is Continuing Care calling with an important message. Please press one.
</prompt>
<filled>
<goto next="#person"/>
</filled>
<noinput>
<goto next="#machine"/>
</noinput>
</field>
</form>
<form id="person">
<block>
<goto next="test_order_intro.vxml"/>
</block>
</form>
<form id="machine">
<block>
<prompt bargein="false">
Hello, this is Continuing Care. I’m calling to check on the sleep therapy patient at this address.
Please call our patient management service at <say-as type="acronym"> 1 877 618 3574 </say-as>
when you have a minute so we can track how you are doing.
The call should only take two minutes of your time and is designed to help us better care for you.
The number again is <say-as type="acronym"> 1 877 618 3574 </say-as> and you can call anytime day or night.
Thanks, and have a great day.
</prompt>
<disconnect/>
</block>
</form>
</vxml>
Thu 09 Sep 2010 09:39:08 AM EDT:
Call Start Event: ANII 13522741199 DNIS outbound VURL http://us.popproxy.plumgroup.com/plumvp/startpage.php
DocumentParser::FetchDocument()
DocumentParser::FetchDocument(http://us.popproxy.plumgroup.com/plumvp/startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/startpage.php
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/startpage.php
Click here to view saved VoiceXML script
VXI::var_element(name="sessionID" expr = "session.id")
DocumentParser::FetchDocument(startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... 1284038593
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... 1284038593
Click here to view saved VoiceXML script
VXI::var_element(name="callee_type" expr = "'voice'")
VXI::var_element(name="phone_number" expr = "'XXXXXXXXXXX'")
VXI::var_element(name="call_id" expr = "'2138572'")
VXI::var_element(name="message_reference" expr = "''")
VXI::var_element(name="call_parameters" expr = "''")
VXI::var_element(name="campaign_parameters" expr = "''")
DocumentParser::FetchDocument(http://login.sleepcarecenter.com/autocalls/order.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/autocalls/order.ashx
Thu 09 Sep 2010 09:39:09 AM EDT:
Click here to view saved VoiceXML script
DocumentParser::FetchDocument(test_rootorder.vxml)
Cache Miss: http://login.sleepcarecenter.com/autoca ... order.vxml
Attempting to fetch http://login.sleepcarecenter.com/autoca ... order.vxml
Click here to view saved VoiceXML script
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 )+
</grammar>
---------
VXI::var_element(name="varDOB" expr = "")
VXI::var_element(name="varIncomingNumber" expr = "")
VXI::var_element(name="varOutgoingNumber" expr = "")
VXI::var_element(name="varResponseType" expr = "")
VXI::var_element(name="varQuestion" expr = "")
VXI::var_element(name="varReturnAnswer" expr = "")
VXI::var_element(name="varReturnQuestion" expr = "")
VXI::var_element(name="varOrderSomething" expr = "")
VXI::var_element(name="varCallID" expr = "")
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="mike" gender="male">
This is Continuing Care calling with an important message. Please press one.
</voice></speak>
---------
VXI::field_element - activating grammars for form = 'patienttest' formitem = 'answer'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played
Thu 09 Sep 2010 09:39:19 AM EDT:
received event: noinput:
bargein set to false
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
VXI::disconnect_element()
Disconnect
Disconnecting On Channel 1
received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 1