Guest Ada Report post Posted 06/19/2020 06:14 AM I would like to ask can VoiceGuide detect suddenly hang up the call, when a caller use the callflow? I want to use vb script to put it in text file? Share this post Link to post
SupportTeam Report post Posted 06/19/2020 06:17 AM You can specify what VoiceGuide script/callflow is to run when call is ended. This script is often referred to as an "On Hangup" Script. Please see: https://www.voiceguide.com/vghelp/source/html/call_finish.htm Share this post Link to post
Guest Ada Report post Posted 06/19/2020 06:59 AM Thank you. I would like to ask can any result Variable can store the caller use the modules in callflow before detect suddenly hang up the call? It is because I need to write in a text file. Share this post Link to post
SupportTeam Report post Posted 06/19/2020 07:16 AM From https://www.voiceguide.com/vghelp/source/html/call_finish.htm : Quote Result Variables All Result Variables from the script which was handling the call are available to the 'Cleanup' script. This allows all information entered by caller or retrieved/created by the original script to be used in the call cleanup script. Share this post Link to post
Guest Ada Report post Posted 06/19/2020 07:28 AM Thank you. But how I do it? Can you provide me an example of Result Variables from the script which was handling the call are available to the 'Cleanup' script ? Share this post Link to post
SupportTeam Report post Posted 06/19/2020 07:41 AM In the VoiceGuide callflows that you posted here: https://www.voiceguide.com/forums/topic/13192-vb-script-cant-go-to-next-script/ The Get Numbers type module that is titled "GetMemberId" will store the number entered by caller in this $RV: $RV[GetMemberId] So you can use that $RV in any callflow that runs for the remainder of the call, and during the "After-Hangup" callflow. I see that you are already using that $RV to retrieve data from a database in module "ValidMemberID", using this SQL query: SELECT member_id FROM basic_info WHERE member_id='$RV[GetMemberId]' Using that $RV in the After-Hangup" callflow would be no different then using in in calflows that are ran while the call is still connected. Share this post Link to post