invoso.com Report post Posted 04/14/2011 02:57 PM Hi, I'm designing prepaid system and need to know how to terminate call after time stored as variable. I'm getting time as variable from database, calculating how long user can to call, and when time is ending I need to: 1. terminate a call 2. inform caller that time is ending in ... seconds, minutes.... Can You to help me? Share this post Link to post
SupportTeam Report post Posted 04/14/2011 08:49 PM If using a tromboned ("Dial and Confernce") type transfer then you can have a timeout path in the transfer module that makes the script go to another module after that timeout expires. Use $RV holding the max length of call as the timeout value in the timeout path. On timeout go to a module that does the playing, or ends call etc. The playing (and waiting) can be done from a VBScript module as well. Share this post Link to post
invoso.com Report post Posted 04/15/2011 11:53 AM Is possible to playing prompt durring call to warn that time is ending? for example: you have at one minute to end of your call How much cost to create prepaid system by You programmers? Share this post Link to post
SupportTeam Report post Posted 04/15/2011 09:25 PM Is possible to playing prompt durring call to warn that time is ending? Yes, this is usually done by calling the Play_Start function on the right voice device. (see: http://www.voiceguide.com/vghelp/source/html/com_play_start.htm) How much cost to create prepaid system by You programmers? Please contact sales@voiceguide.com with your requirements to obtain quote. Share this post Link to post
invoso.com Report post Posted 04/16/2011 07:38 AM Can You show any example of using Play_Start function when in $RV value is stored max time of current connection? I need play prompt for example (x) second before end of max time. Share this post Link to post
SupportTeam Report post Posted 04/30/2011 09:03 AM The attached sample script shows how to play the whisper message to original caller during a 'tromboned' (dial and confernece) connection.This script just uses Play modules.You will need to update system to newer version of VoiceGuide to be able to use the attached script: [old link removed]Previously you would be required to call VoiceGuide's COM/WCF to do the playing and perform the necessary timeslot reassignments etc. WhisperDuringTrombonedCall.zip Share this post Link to post