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

still having problem with disconnect procedure

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
magicsoft
Posts: 44
Joined: Wed Aug 25, 2010 8:57 am

still having problem with disconnect procedure

Post by magicsoft »

I have the following code. The person hung up right after the #LOCATION# prompt. I expected it to then just hit the catch below that and do the submit so the server would process the data. But instead I got the error in the log shown below. I don't understand why it was trying to do so much after the disconnect, or why it doesn't seem to have been passing the proper namelist to the submit call when it finally attempted to do it. Do I need to put an "exit" tag after the "submit" when it's in a catch? But then I still don't understand why it doesn't seem to have passed all the "namelist" variables when trying to do the submit. :?

Andrew

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0" application="call_root.vxml">

	<form id="person">
		<block>
			<assign name="varPersonAnswered" expr="'yes'"/>
			<assign name="varCallSuccessful" expr="'no'"/>
			<assign name="varPaperworkReceived" expr="'none'"/>
			<assign name="varIntention" expr="'none'"/>
		</block>
		<block>
			<prompt bargein="false">
				<audio src="#INTRO#"></audio>
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				#FULLDATE#
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				<audio src="#REMINDER#"></audio>
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				<audio src="#LOCATION#"></audio>
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				<audio src="#ARRIVEAT#"></audio>
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				#FULLTIME#
			</prompt>
		</block>
		<block>
			<assign name="varPersonAnswered" expr="'yes'"/>
			<assign name="varCallSuccessful" expr="'yes'"/>
			<assign name="varPaperworkReceived" expr="'none'"/>
			<assign name="varIntention" expr="'none'"/>
		</block>
		<block>
			<prompt bargein="false">
				#COPAY#
			</prompt>
		</block>
		<block>
			<prompt bargein="false">
				<audio src="#INSURANCE#"></audio>
			</prompt>
			<goto next="#documents"/>
		</block>
		<catch event="connection.disconnect.hangup">
			<submit next="enterdata_confirmation.ashx" namelist="varJobGUID varCallSuccessful varPersonAnswered varPaperworkReceived varIntention" method="post" />
		</catch>
	</form>
	
	<form id="documents">
		<field name="answer">
			<property name="inputmodes" value="dtmf"/> 
			<grammar type="application/x-jsgf" mode="dtmf">
				1 
			</grammar>
			<prompt bargein="false" timeout="3s">
				<audio src="#DOCUMENTS#"></audio>
			</prompt>
			<filled>
				<assign name="varAnswer" expr="answer"/>
			</filled>
			<noinput>
				<assign name="varPaperworkReceived" expr="'yes'"/>
				<goto next="#intention"/>
			</noinput>
			<nomatch>
				<reprompt/>
			</nomatch>
			<catch event="connection.disconnect.hangup">
				<submit next="enterdata_confirmation.ashx" namelist="varJobGUID varCallSuccessful varPersonAnswered varPaperworkReceived varIntention" method="post" />
			</catch>
		</field>
		<block>
			<if cond="varAnswer==1">
				<assign name="varPaperworkReceived" expr="'no'"/>
				<audio src="#DOCUMENTSNOTRECEIVED#"></audio>
				<goto next="#intention"/>
			</if>
		</block>
	</form>

	<form id="intention">
		<field name="answer">
			<property name="inputmodes" value="dtmf"/>
			<grammar type="application/x-jsgf" mode="dtmf">
				1 | 2
			</grammar>
			<prompt bargein="true" timeout="3s">
				<audio src="#INTENTION#"></audio>
			</prompt>
			<filled>
				<assign name="varAnswer" expr="answer"/>
			</filled>
			<noinput>
				<reprompt/>
			</noinput>
			<nomatch>
				<reprompt/>
			</nomatch>
			<catch event="connection.disconnect.hangup">
				<submit next="enterdata_confirmation.ashx" namelist="varJobGUID varCallSuccessful varPersonAnswered varPaperworkReceived varIntention" method="post" />
			</catch>
		</field>
		<block>
			<if cond="varAnswer==1">
				<assign name="varIntention" expr="'yes'"/>
				#INTENTIONYES#
			<elseif cond="varAnswer==2"/>
				<assign name="varIntention" expr="'no'"/>
				#INTENTIONNO#
			</if>
			<goto next="#closing"/>
		</block>
	</form>
		
	<form id="closing">
		<subdialog name="enterdata" namelist="varJobGUID varCallSuccessful varPersonAnswered varPaperworkReceived varIntention" src="enterdata_confirmation.ashx"/>
		<block>
			<prompt bargein="false">
				<audio src="#PERSONCLOSING#"></audio>
			</prompt>
		</block>
	</form>

</vxml>

Code: Select all

Thu 17 Nov 2011 01:05:35 PM EST:
Call Start Event: ANII 18562873306 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
Entering form = '$_internalName_1174017' form item = '$_internalName_1174018'
VXI::var_element(name="sessionID" expr = "session.id")
DocumentParser::FetchDocument(startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/startpage.php?sessionID=000031%3b123%3b1321551820
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/startpage.php?sessionID=000031%3b123%3b1321551820
Click here to view saved VoiceXML script
Entering form = '$_internalName_1174020' form item = '$_internalName_1174021'
VXI::var_element(name="callee_type" expr = "'voice'")
VXI::var_element(name="phone_number" expr = "'tel:18562873306;ani=8562340770'")
VXI::var_element(name="call_id" expr = "'6952531'")
VXI::var_element(name="message_reference" expr = "'0B0DCFA5-3697-41CD-A42C-D38B68149F16'")
VXI::var_element(name="call_parameters" expr = "''")
VXI::var_element(name="campaign_parameters" expr = "''")
DocumentParser::FetchDocument(http://login.sleepcarecenter.com/studycalls/startcall_confirmation.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/startcall_confirmation.ashx
Click here to view saved VoiceXML script
DocumentParser::FetchDocument(call_root.vxml)
Cache Miss: http://login.sleepcarecenter.com/studycalls/call_root.vxml
Attempting to fetch http://login.sleepcarecenter.com/studycalls/call_root.vxml
Click here to view saved VoiceXML script
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
2
</grammar>
---------
VXI::var_element(name="varJobGUID" expr = "")
VXI::var_element(name="varLanguage" expr = "")
VXI::var_element(name="varFileName" expr = "")
VXI::var_element(name="varPersonAnswered" expr = "")
VXI::var_element(name="varCallSuccessful" expr = "")
VXI::var_element(name="varPaperworkReceived" expr = "")
VXI::var_element(name="varIntention" expr = "")
VXI::var_element(name="varPatient" expr = "")
VXI::var_element(name="varProceed" expr = "")
Entering form = 'answer' form item = '$_internalName_1174023'
VXI::assign_element(name="varPersonAnswered" expr = "'yes'")
VXI::assign_element(name="varCallSuccessful" expr = "'no'")
VXI::assign_element(name="varPaperworkReceived" expr = "'none'")
VXI::assign_element(name="varIntention" expr = "'none'")
Entering form = 'answer' form item = '$_internalName_1174024'
VXI::assign_element(name="varJobGUID" expr = "'0B0DCFA5-3697-41CD-A42C-D38B68149F16'")
Entering form = 'answer' form item = 'answer'
VXI::queue_prompts()
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3

Thu 17 Nov 2011 01:05:36 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3 added to prompt queue
Newly queued prompts are now being played
VXI::record_element - activating grammars for form = 'answer' formitem = 'answer'
PromptManager::Play()

Thu 17 Nov 2011 01:05:42 PM EST:
Entering form = 'person' form item = 'answer'
VXI::queue_prompts()
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/forSpanish.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/forSpanish.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/forSpanish.mp3 added to prompt queue
Newly queued prompts are now being played
VXI::field_element - activating grammars for form = 'person' formitem = 'answer'
VXI::do_recognition()
PromptManager::Play()

Thu 17 Nov 2011 01:05:49 PM EST:
timeout waiting for dtmf input
received event: noinput:
Entering form = 'person_english' form item = '$_internalName_1174026'
VXI::assign_element(name="varFileName" expr = "'call_confirmation_person.vxml'")
VXI::assign_element(name="varLanguage" expr = "'english'")
DocumentParser::FetchDocument(loadconfirmationscript.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/loadconfirmationscript.ashx
Click here to view saved VoiceXML script
DocumentParser::FetchDocument(call_root.vxml)
Cache Miss: http://login.sleepcarecenter.com/studycalls/call_root.vxml
Attempting to fetch http://login.sleepcarecenter.com/studycalls/call_root.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
</grammar>
---------
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
1 | 2
</grammar>
---------
Entering form = 'machine' form item = '$_internalName_1174046'
VXI::assign_element(name="varPersonAnswered" expr = "'yes'")
VXI::assign_element(name="varCallSuccessful" expr = "'no'")
VXI::assign_element(name="varPaperworkReceived" expr = "'none'")
VXI::assign_element(name="varIntention" expr = "'none'")
Entering form = 'machine' form item = '$_internalName_1174047'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3 added to prompt queue
Newly queued prompts are now being played
Entering form = 'machine' form item = '$_internalName_1174048'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/friday.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/friday.mp3

Thu 17 Nov 2011 01:05:50 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/friday.mp3 added to prompt queue

Thu 17 Nov 2011 01:05:56 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3 added to prompt queue

Thu 17 Nov 2011 01:05:57 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/18.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/18.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/18.mp3 added to prompt queue

Thu 17 Nov 2011 01:05:59 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3 added to prompt queue

Thu 17 Nov 2011 01:06:01 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3 added to prompt queue

Thu 17 Nov 2011 01:06:02 PM EST:
Newly queued prompts are now being played
Entering form = 'machine' form item = '$_internalName_1174049'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/Reminder_at_our.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/Reminder_at_our.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/Reminder_at_our.mp3 added to prompt queue

Thu 17 Nov 2011 01:06:03 PM EST:
Newly queued prompts are now being played
Entering form = 'machine' form item = '$_internalName_1174050'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/sites/Voorhees.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/sites/Voorhees.mp3

Thu 17 Nov 2011 01:06:04 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/sites/Voorhees.mp3 added to prompt queue
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1174051'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1174052'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1174053'
VXI::assign_element(name="varPersonAnswered" expr = "'yes'")
VXI::assign_element(name="varCallSuccessful" expr = "'yes'")
VXI::assign_element(name="varPaperworkReceived" expr = "'none'")
VXI::assign_element(name="varIntention" expr = "'none'")
Entering form = 'machine' form item = '$_internalName_1174054'
Entering form = 'machine' form item = '$_internalName_1174055'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'documents' form item = 'answer'
VXI::queue_prompts()
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
VXI::field_element - activating grammars for form = 'documents' formitem = 'answer'
VXI::do_recognition()
PromptManager::Play()
Line disconnect detected. Abandoning queued audio data.
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
received event: connection.disconnect.hangup:
DocumentParser::FetchDocument(enterdata_confirmation.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/enterdata_confirmation.ashx
HTTP/1.1 500 Internal Server Error - http://login.sleepcarecenter.com/studycalls/enterdata_confirmation.ashx
DocumentParser::FetchBuffer - could not open URL: enterdata_confirmation.ashx
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri enterdata_confirmation.ashx
received event: error.badfetch.http.500:
Can not queue audio -- line disconnected
received event: connection.disconnect.hangup:
Max Disconnect Count Exceeded
Call End Event
Ending session
Ending Session On Channel 123

magicsoft
Posts: 44
Joined: Wed Aug 25, 2010 8:57 am

Re: still having problem with disconnect procedure

Post by magicsoft »

I think I found at least part of the problem here. I had changed from using <subdialog> tags to <submit> tags in the <catch> spots because <subdialog> tags aren't supported there. However, when you use a <submit> tag, the server expects the variables to come in the "form" area rather than the "querystring" (this is in an ASHX C# file). So I believe I've got that fixed. However, I'm still curious to know why it seemed like it was trying to play all those audio files after the disconnect was detected and why it didn't just go directly to the catch event.

After I fixed the "params" issue, this is the new log, which still shows that it's trying to do a bunch of stuff after the disconnect and before the "submit".

Code: Select all

Thu 17 Nov 2011 01:50:35 PM EST:
Call Start Event: ANII 17329418100 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
Entering form = '$_internalName_1185405' form item = '$_internalName_1185406'
VXI::var_element(name="sessionID" expr = "session.id")
DocumentParser::FetchDocument(startpage.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/startpage.php?sessionID=000031%3b075%3b1321555458
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/startpage.php?sessionID=000031%3b075%3b1321555458
Entering form = '$_internalName_1185409' form item = '$_internalName_1185410'
VXI::var_element(name="callee_type" expr = "'answeringmachine'")
VXI::var_element(name="phone_number" expr = "'tel:17329418100;ani=8007533779'")
VXI::var_element(name="call_id" expr = "'6954157'")
VXI::var_element(name="message_reference" expr = "'057FE72D-A80A-4267-A124-61FF0BFB94B7'")
VXI::var_element(name="call_parameters" expr = "''")
VXI::var_element(name="campaign_parameters" expr = "''")
DocumentParser::FetchDocument(http://login.sleepcarecenter.com/studycalls/startcall_confirmation.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/startcall_confirmation.ashx
DocumentParser::FetchDocument(call_root.vxml)
Cache Miss: http://login.sleepcarecenter.com/studycalls/call_root.vxml
Attempting to fetch http://login.sleepcarecenter.com/studycalls/call_root.vxml
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
2
</grammar>
---------
VXI::var_element(name="varJobGUID" expr = "")
VXI::var_element(name="varLanguage" expr = "")
VXI::var_element(name="varFileName" expr = "")
VXI::var_element(name="varPersonAnswered" expr = "")
VXI::var_element(name="varCallSuccessful" expr = "")
VXI::var_element(name="varPaperworkReceived" expr = "")
VXI::var_element(name="varIntention" expr = "")
VXI::var_element(name="varPatient" expr = "")
VXI::var_element(name="varProceed" expr = "")
Entering form = 'answer' form item = '$_internalName_1185412'
VXI::assign_element(name="varPersonAnswered" expr = "'yes'")
VXI::assign_element(name="varCallSuccessful" expr = "'no'")
VXI::assign_element(name="varPaperworkReceived" expr = "'none'")
VXI::assign_element(name="varIntention" expr = "'none'")
Entering form = 'answer' form item = '$_internalName_1185413'
VXI::assign_element(name="varJobGUID" expr = "'057FE72D-A80A-4267-A124-61FF0BFB94B7'")
Entering form = 'answer' form item = 'answer'
VXI::queue_prompts()
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3

Thu 17 Nov 2011 01:50:36 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/LanguageOptionEnglish_SleepCare.mp3 added to prompt queue
Newly queued prompts are now being played
VXI::record_element - activating grammars for form = 'answer' formitem = 'answer'
PromptManager::Play()

Thu 17 Nov 2011 01:50:42 PM EST:
received event: noinput:
Entering form = 'machine' form item = '$_internalName_1185417'
VXI::assign_element(name="varFileName" expr = "'call_confirmation_machine.vxml'")
VXI::assign_element(name="varLanguage" expr = "'english'")
DocumentParser::FetchDocument(loadconfirmationscript.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/loadconfirmationscript.ashx
DocumentParser::FetchDocument(call_root.vxml)
Cache Miss: http://login.sleepcarecenter.com/studycalls/call_root.vxml
Attempting to fetch http://login.sleepcarecenter.com/studycalls/call_root.vxml
Entering form = 'machine' form item = '$_internalName_1185517'
VXI::assign_element(name="varPersonAnswered" expr = "'no'")
VXI::assign_element(name="varCallSuccessful" expr = "'no'")
VXI::assign_element(name="varPaperworkReceived" expr = "'no'")
VXI::assign_element(name="varIntention" expr = "'no'")
Entering form = 'machine' form item = '$_internalName_1185518'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/confirmations/english/intro_SleepCare.mp3 added to prompt queue
Newly queued prompts are now being played
Entering form = 'machine' form item = '$_internalName_1185519'
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/sunday.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/sunday.mp3

Thu 17 Nov 2011 01:50:43 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/weekdays/sunday.mp3 added to prompt queue

Thu 17 Nov 2011 01:50:49 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/months/11.mp3 added to prompt queue

Thu 17 Nov 2011 01:50:50 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/20.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/20.mp3

Thu 17 Nov 2011 01:50:51 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/daysofmonth/20.mp3 added to prompt queue

Thu 17 Nov 2011 01:50:52 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/centuries/year2000.mp3 added to prompt queue

Thu 17 Nov 2011 01:50:53 PM EST:
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF"
Cache Miss: http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3
Attempting to fetch http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3

Thu 17 Nov 2011 01:50:54 PM EST:
Audio segment from the URL http://login.sleepcarecenter.com/studycalls/sounds/general/english/numbers/11.mp3 added to prompt queue
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185520'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185521'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185522'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185523'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185524'
VXI::assign_element(name="varPersonAnswered" expr = "'no'")
VXI::assign_element(name="varCallSuccessful" expr = "'yes'")
VXI::assign_element(name="varPaperworkReceived" expr = "'no'")
VXI::assign_element(name="varIntention" expr = "'no'")
Entering form = 'machine' form item = '$_internalName_1185525'
Entering form = 'machine' form item = '$_internalName_1185526'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Entering form = 'machine' form item = '$_internalName_1185527'
Can not queue audio -- line disconnected
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Line disconnect detected. Abandoning queued audio data.
received event: connection.disconnect.hangup:
DocumentParser::FetchDocument(enterdata_confirmation.ashx)
Posted form data is URL encoded
Attempting to fetch http://login.sleepcarecenter.com/studycalls/enterdata_confirmation.ashx
Entering form = '$_internalName_1185653' form item = '$_internalName_1185654'
received event: error.semantic:
Can not queue audio -- line disconnected
received event: connection.disconnect.hangup:
Max Disconnect Count Exceeded
Call End Event
Ending session
Ending Session On Channel 75
Also, for what it's worth, this is the XML being returned by the "submit" that I'm doing. Not sure if the return of this is causing an error.

Code: Select all

<vxml version="2.0"><form><block><return/></block></form></vxml>
Thanks,

Andrew

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

Re: still having problem with disconnect procedure

Post by support »

Hi Andrew,

Your entire catch tag:

Code: Select all

<catch event="connection.disconnect.hangup">
             <submit next="enterdata_confirmation.ashx" namelist="varJobGUID varCallSuccessful varPersonAnswered varPaperworkReceived varIntention" method="post" />
	     <exit/>
</catch>
should be the last thing in your code, right before </vxml>, instead of repeated within multiple forms. This is so it can catch a hangup at any point of your application. Also, if your <catch> is inside a form, it will also try to execute any code that occurs after </catch> but before </form>.

Yes, you need an <exit/> tag right after <submit> because since the call is not ending with the hangup, you must define when the call should end.

Regarding the newest error log you posted, make sure that enterdata_confirmation.ashx does not do any telephony access, ie. play, recognize, record, transfer, etc, because these things shouldn't happen after the user has hung up.

Regards,
Plum Support

Post Reply