Problems always catching connection.disconnect.hangup?
Posted: Fri Dec 12, 2003 12:36 pm
Are there reasons why sometimes a catch event handler for connection.disconnect.hangup that is defined in a document referenced by the vxml application attribute won't always fire?
Towards the beginning of my application if I hang up, the event handler fires and all is well but if I answer a few questions, each in different forms
that are being dynamically generated by ASP.net, then it doesn't fire, even though in the call log I can see that the file is being loaded at the top of the page load.
The following are excerpts from the call log:
- Here while loading the page, it recognizes the handler.html in the application attribute and loads it:
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/default.aspx
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [vxi] EVENT: DocumentParser::FetchDocument(handler.html)
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/handler.html
- And then a few lines later after I hung up is the following:
Fri 12 Dec 2003 12:20:44 PM EST (000000;000;1071249175) [prompt] EVENT: Newly queued prompts are now being played
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Can not queue audio -- line disconnected
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [vxi] EVENT: received event: connection.disconnect.hangup
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Can not queue audio -- line disconnected
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [vxi] EVENT: Max Disconnect Count Exeeded
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [client] EVENT: Call End Event
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Ending session
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [tel] EVENT: Ending Session On Channel 0
But the event handler doesn't fire as in the following case when I hang up earlier in the call.
EVENT: received event: connection.disconnect.hangup
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [vxi] EVENT: DocumentParser::FetchDocument(handler.aspx?action=hangup)
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/handler.aspx?action=hangup
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [vxi] EVENT: VXI::exit_element()
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Any ideas? Am I doing something wrong?
Towards the beginning of my application if I hang up, the event handler fires and all is well but if I answer a few questions, each in different forms
that are being dynamically generated by ASP.net, then it doesn't fire, even though in the call log I can see that the file is being loaded at the top of the page load.
The following are excerpts from the call log:
- Here while loading the page, it recognizes the handler.html in the application attribute and loads it:
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/default.aspx
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [vxi] EVENT: DocumentParser::FetchDocument(handler.html)
Fri 12 Dec 2003 12:20:43 PM EST (000000;000;1071249175) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/handler.html
- And then a few lines later after I hung up is the following:
Fri 12 Dec 2003 12:20:44 PM EST (000000;000;1071249175) [prompt] EVENT: Newly queued prompts are now being played
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Can not queue audio -- line disconnected
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [vxi] EVENT: received event: connection.disconnect.hangup
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Can not queue audio -- line disconnected
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [vxi] EVENT: Max Disconnect Count Exeeded
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [client] EVENT: Call End Event
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [prompt] EVENT: Ending session
Fri 12 Dec 2003 12:20:49 PM EST (000000;000;1071249175) [tel] EVENT: Ending Session On Channel 0
But the event handler doesn't fire as in the following case when I hang up earlier in the call.
EVENT: received event: connection.disconnect.hangup
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [vxi] EVENT: DocumentParser::FetchDocument(handler.aspx?action=hangup)
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [inet] EVENT: Attempting to fetch http://veve.iiserve.com/handler.aspx?action=hangup
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [vxi] EVENT: VXI::exit_element()
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: impl->dxi->waitForPlayEOD() detected a disconnect. Abandoning queued data.
Fri 12 Dec 2003 12:29:04 PM EST (000000;000;1071249946) [prompt] EVENT: Line disconnect detected. Abandoning queued audio data.
Any ideas? Am I doing something wrong?