Guest Guest Report post Posted 06/01/2004 09:00 AM Hi guys, I have this problem: I'm using vg 5.2.2 on a XP pro. system and a voice modem (SoftK56 Data Fax voice CARP) that works well. My only problem is that I'm using VG for oubound calls and when script starts, a voice message is "speaked" for 2 times. If the person who answer the call, press something or waith on line until the end of the message, there are no problems, but, if the person hang up call before the end of the message, script, when has finished to play for 2 times the audio file, stops. I want that vg, in this case, goes on a VBS module to made a DB update, like it does in "timeout" case...how can I solve this problem, if can I.... I send you my script, so in some way you can understand better what is my problem. Tnx a lot for your help. scriptVoice.vgs Share this post Link to post
SupportTeam Report post Posted 06/01/2004 09:36 AM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong. (When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.) Share this post Link to post
Guest Guest Report post Posted 06/01/2004 09:44 AM excuse me...i forgot this utility before. TraceLog.txt Share this post Link to post
SupportTeam Report post Posted 06/01/2004 10:12 AM Trace shows that after outgoing call was accepted the file Benvenuto.wav was played twice: 114210,63 0 [benvenuto] Playing (Wave\Benvenuto.wav) ... 114255,15 0 [benvenuto] Playing (Wave\Benvenuto.wav) and then modem detected that recipent of the call hung up: 114341,57 0 callstate DISCONNECTED 66458,1,0 and the line was then reset ready for another call. All seems OK from the trace...can you tell us where the problem occurs? Share this post Link to post
Guest Guest Report post Posted 06/01/2004 10:28 AM The problem is that if the person hang up the call, VG doesn't made the update in the database because it "disconnect". I need VG made this update...it's essential. How can I do? TNX Share this post Link to post
SupportTeam Report post Posted 06/01/2004 11:19 AM If you want the module "SalvaRisp" to always execute when the call is finished you should put it in an "OnHangup" script. Please see: http://www.voiceguide.com/vghelp/html/Call...ll%20Finish.htm and you may want to use: set Conn=Nothing towards the end of the VB Script in the module "SalvaRisp" - else memory assigned in your VBSCript to the Conn object may not be freed... Share this post Link to post
Guest Guest Report post Posted 06/01/2004 12:17 PM thanks a lot for your help. I will improve yours suggestion as soon as possible. Share this post Link to post