Guest Cedric Report post Posted 04/03/2006 01:06 PM Hello Support team, I have a problem in a Play module (Play Module 1). I have only two paths for this module : on {*} goto [Play Module 2] on {timeout 0} goto [Play Module 2] No repeat if no key pressed After finishing playing my sound file, the systems waits 30 seconds before going to Play Module 2, pressing * or not. It's a big problem for me because users pay for each second of the call, and i can't make them wait so long time. The event log trace is : <Playing Play Module 1> 131436,54 0 dtmf * (66390,42,2) 131436,54 0 ScriptEventCode 42 iLineState=1100 131436,54 0 LsPlayMsg * <Press *, the system waits about 30 seconds before playing Play Module 2. Starting playing Play Module 2 the trace continues with :> 131508,10 0 PlaySoundStop err=0 131508,10 0 rv lg add [Play Module 1]{*} 131508,15 0 timer clear 131508,16 0 state [Play Module 2] Playing 131508,16 0 state [Play Module 2] Playing (C:\....\sons\sound1.wav) 131508,16 0 play set playid=80731 131508,28 0 PlaySoundStart ok [C:\....\sons\sound1.wav] 131508,28 0 timer clear 131508,28 0 RunModule PLAY end 131512,61 0 dtmf 6 (66390,54,2) 131512,62 0 ScriptEventCode 54 iLineState=1100 131512,62 0 LsPlayMsg 6 131512,62 0 path {6} not found 131518,63 0 play end current play (playid=80731) 131518,63 0 ScriptEventCode 8001 iLineState=1100 131518,64 0 LsPlayMsg EV_PLAY_FINISHED 131518,64 0 eng set timer EV_TIMEOUT_REPLAYMSG time=5 131518,64 0 timer set 5 EV_TIMEOUT_REPLAYMSG 131519,05 0 dtmf 1 (66390,49,2) 131519,05 0 ScriptEventCode 49 iLineState=1101 131519,06 0 LsPlayMsgFinished 1 131519,06 0 rv lg add [Play Module 1]{1} I use a voice modem. Can you help me please ? Thanks Share this post Link to post
Guest cedric Report post Posted 04/03/2006 01:09 PM Last line is : 131519,06 0 rv lg add [Play Module 2]{1} instead of 131519,06 0 rv lg add [Play Module 1]{1} Thanks Share this post Link to post
SupportTeam Report post Posted 04/03/2006 01:26 PM Please post the full 'vgm' and 'tw' traces capturing one entire call which demonstrates the problem. (set logging to 10, then restart VG, make the call and post traces from VG's \data\ subdirectory). When posting traces/scripts please .ZIP them up and post them as attachments. Share this post Link to post
Guest cedric Report post Posted 04/03/2006 02:07 PM Here are the logs. Cédric log.zip Share this post Link to post
SupportTeam Report post Posted 04/03/2006 02:50 PM Trace shows that the delay is due to the Modem's wave drivers waiting a long time before returning from waveOutReset and waveOutClose function calls... 131436.536 wavec waveOutReset(0x1c53c0) call, caller: PlaySoundStop 131458.087 wavec waveOutReset(0x1c53c0) => 0 (MMSYSERR_OK), caller: PlaySoundStop 131458.087 wavec waveOutClose(0x1c53c0) call, caller: PlaySoundStop 131508.101 wavec waveOutClose(0x1c53c0) => 0 (MMSYSERR_OK), caller: PlaySoundStop You should try using another modem, or better yet just get a Dialogic card... Share this post Link to post