nuecho / rivr

Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
http://rivr.nuecho.com
Other
61 stars 23 forks source link

A hang-up during recording does not send the audio back to the server. #1

Closed gawi closed 9 years ago

tschodt commented 10 years ago

Look at the voicexml generated. Does it have an event handler for disconnect? (like <catch event="connection.disconnect" > <submit next=" ... "> </catch> or   <catch event="connection.disconnect.hangup" > <submit next=" ... "> </catch>) http://www.w3.org/TR/voicexml20/#dml2.3.6 When a user hangs up during recording, the recording terminates and a connection.disconnect.hangup event is thrown. However, audio recorded up until the hangup is available through the variable. Applications, such as simple voicemail services, can then return audio data to a server even after disconnection

gawi commented 10 years ago

That's exactly the solution, i.e. to add a catch for disconnect and retrieve the recording from the field in order to send it back to the server.

gawi commented 9 years ago

Fixed in v1.0.4.