Guest DGBenroth Report post Posted 06/28/2005 01:47 PM I can run my script just fine but if someone hangs up in the middle of the script all future calls just hang up. It almost looks like the wave file is allocated to the first call, and then never gets deallocated. Is that what is happening here? Can someone tell me how to fix this? This is the log of the successfull call and then the hangup. 055136.43 0 ApiMode=[TAPI] 055136.62 0 Tapi device 5 is: H323 Line 055136.66 0 Tapi device 4 is: IPCONF LINE 055136.70 0 Tapi device 3 is: LPT1T 055136.74 0 Tapi device 2 is: WAN Miniport (L2TP) 055136.81 0 Tapi device 1 is: RAS VPN Line 0 055136.84 0 Tapi device 0 is: SmartUSB56 Voice Modem 055137.20 0 init vgmulti ver 5.2.3063 055137.38 0 Inband Signaling Config file not specified 055137.49 0 Loading VMB data begin 055137.51 0 Loading VMB data - about to delete old entries 055137.54 0 vm sort start on 8 entries. 055137.55 0 vm sort end. 055137.56 0 Loading VMB data end 055140.73 0 dial start any summary:|0:ivd<0| 055140.76 0 init clear settings on 1 devices. 055140.90 0 Initialising... 055140.91 0 init attach vgs on 1 devices. 055140.92 0 Script Load C:\Program Files\VoiceGuide\Scripts\dbtest\dbtest.vgs 055141.14 0 init lineopen on 1 devices. 055141.15 0 Calling .lineOpen on device 1 055142.72 0 lineOpen(0)=> 055142.73 0 Calling .GetLineHandle on LineId 0 055142.74 0 hLine=66286 055142.85 0 Calling .GetProviderInfo on LineId 0 055142.92 0 tapi ProviderInfo: Windows Telephony Service Provider for Universal Modem Driver 055142.93 0 set provider type: PROVTYPE_MODEM 055142.94 0 Calling lineSetNumRings on lLineHandle 66286 055142.96 0 Waiting for a call... 055144.22 0 dial start any summary:|0:idx=0| 055153.52 0 callstate OFFERING 66235 0 4 055153.70 0 ring 1 055154.38 0 dial start any summary:|0:hc>0| 055159.47 0 ring 2 055159.48 0 rv clear 055159.51 0 Answer the call at 6/28/2005 5:51:59 AM 055159.52 0 lineAnswer(66235) => 66218 055159.54 0 callstate ACCEPTED 66235 0 0 055159.68 0 tapi Reply (LineEvReply) ok 66218 0 055159.77 0 callstate CONNECTED 66235 0 0 055159.78 0 callstate CONNECTED 66235,0,0 055159.79 0 WorkingModeTAPI@Connected= 055159.81 0 WorkingModeScript@Connected= 055159.83 0 Inband detection not enabled 055159.84 0 StartLoadedVgs at 6/28/2005 5:51:59 AM, v5.2.3063 055159.85 0 AddRVns [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\dbtest\} 055159.87 0 AddRVns [scriptPath]{C:\Program Files\VoiceGuide\Scripts\dbtest} 055159.89 0 rv add [$RV_STARTTIME]{6/28/2005 5:51:59 AM} 055159.90 0 rv add [$RV_DEVICEID]{0} 055159.91 0 rv add [$RV_CIDNAME]{} 055159.93 0 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 055159.94 0 rv add [$RV_CIDNUMBER]{} 055159.96 0 timer clear 055159.97 0 [welcome] Playing 055159.99 0 [welcome] Playing (C:\Program Files\VoiceGuide\system\voice\VmbWelcomeMsgDefault.wav) 055200.00 0 play set playid=126441 055200.49 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\VmbWelcomeMsgDefault.wav] 055200.50 0 timer clear 055200.52 0 RunModule PLAY end 055200.56 0 wa(2853,12644100) 055203.35 0 play end current play (playid=126441) 055203.36 0 ScriptEventCode 8001 iLineState=1100 055203.39 0 LsPlayMsg EV_PLAY_FINISHED 055203.41 0 timer set 10 EV_TIMEOUT_HANGUP 055203.43 0 timer set 3 EV_TIMEOUT_GOTOMODULE 055206.34 0 timer fired EV_TIMEOUT_GOTOMODULE 055206.35 0 ScriptEventCode 9002 iLineState=1101 055206.36 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 055206.39 0 timer clear 055206.40 0 [getPhone] Number Input 055206.41 0 [getPhone] Playing (PayGetAmount.wav) 055206.42 0 play set playid=132861 055206.93 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\dbtest\PayGetAmount.wav] 055206.94 0 timer clear 055206.99 0 wa(6637,13286100) 055213.60 0 play end current play (playid=132861) 055213.64 0 ScriptEventCode 8001 iLineState=1300 055213.67 0 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 055213.68 0 eng set timer EV_TIMEOUT_REPLAYMSG time=5 055213.69 0 timer set 5 EV_TIMEOUT_REPLAYMSG 055213.74 0 dtmf # (66235,35,2) 055213.75 0 ScriptEventCode 35 iLineState=1301 055213.76 0 LsGetNbrsRxDigits # 055213.77 0 timer clear 055213.78 0 rv add [getPhone]{} 055213.81 0 AddRVns [getPhone_PathTaken]{fail} 055213.85 0 timer clear 055213.86 0 [FailtoActivate] Playing 055213.89 0 [FailtoActivate] Playing (IpGoodbye.wav) 055213.92 0 play set playid=140361 055214.61 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\dbtest\IpGoodbye.wav] 055214.63 0 timer clear 055214.64 0 RunModule PLAY end 055214.71 0 wa(2141,14036100) 055216.72 0 play end current play (playid=140361) 055216.73 0 ScriptEventCode 8001 iLineState=1100 055216.75 0 LsPlayMsg EV_PLAY_FINISHED 055216.79 0 timer set 10 EV_TIMEOUT_HANGUP 055216.80 0 timer set 1 EV_TIMEOUT_GOTOMODULE 055217.73 0 timer fired EV_TIMEOUT_GOTOMODULE 055217.74 0 ScriptEventCode 9002 iLineState=1101 055217.75 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 055217.77 0 timer clear 055217.78 0 rv add [Hangup Time]{6/28/2005 5:52:17 AM} 055217.79 0 Hanging up call... [Hangup Module] 055217.87 0 RecSoundStop ok 055217.92 0 PlaySoundStop err=0 055217.96 0 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 055218.05 0 fnHangupCall end 055218.21 0 callstate DISCONNECTED 66235 1 0 055218.22 0 ScriptEventCode 9250 iLineState=900 055218.24 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 055218.25 0 rv add [Hangup Time]{6/28/2005 5:52:18 AM} 055218.26 0 Hanging up call... 055218.36 0 RecSoundStop ok 055218.42 0 PlaySoundStop err=0 055218.45 0 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 055218.52 0 fnHangupCall end 055218.55 0 callstate IDLE 66235 0 0 055218.57 0 WorkingMode@Idle= 055218.60 0 timer clear 055218.73 0 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 055218.76 0 tapi Reply (LineEvReply) ok 66201 0 055218.79 0 tapi Reply (LineEvReply) ok 66184 0 055219.70 0 timer fired EV_TIMEOUT_TIMETOREINITLINE 055219.71 0 ScriptEventCode 9008 iLineState=900 055219.72 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 055219.73 0 ReinitTelephony due to IDLE 055219.75 0 tapic lineDeallocateCall(MainCall:66235) 0 055220.51 0 lineOpen(0)=> 055220.52 0 Waiting for a call... 055220.53 0 LineHandle=66167 055220.56 0 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 055220.58 0 dial start any summary:|0:rdy=0| 055223.59 0 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 055223.60 0 ScriptEventCode 9013 iLineState=900 055223.62 0 dial start any summary:|0:idx=0| 055228.79 0 callstate OFFERING 66116 0 4 055228.84 0 ring 1 055229.12 0 sys cleanup Start 055229.13 0 sys cleanup End 055229.71 0 dial start any summary:|0:hc>0| 055234.84 0 ring 2 055234.85 0 rv clear 055234.86 0 Answer the call at 6/28/2005 5:52:34 AM 055234.87 0 lineAnswer(66116) => 66099 055234.89 0 callstate ACCEPTED 66116 0 0 055235.03 0 tapi Reply (LineEvReply) ok 66099 0 055235.12 0 callstate CONNECTED 66116 0 0 055235.13 0 callstate CONNECTED 66116,0,0 055235.14 0 WorkingModeTAPI@Connected= 055235.16 0 WorkingModeScript@Connected= 055235.18 0 Inband detection not enabled 055235.19 0 StartLoadedVgs at 6/28/2005 5:52:35 AM, v5.2.3063 055235.29 0 AddRVns [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\dbtest\} 055235.30 0 AddRVns [scriptPath]{C:\Program Files\VoiceGuide\Scripts\dbtest} 055235.31 0 rv add [$RV_STARTTIME]{6/28/2005 5:52:35 AM} 055235.33 0 rv add [$RV_DEVICEID]{0} 055235.34 0 rv add [$RV_CIDNAME]{} 055235.35 0 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 055235.36 0 rv add [$RV_CIDNUMBER]{} 055235.38 0 timer clear 055235.39 0 [welcome] Playing 055235.40 0 [welcome] Playing (C:\Program Files\VoiceGuide\system\voice\VmbWelcomeMsgDefault.wav) 055235.42 0 play set playid=161862 055235.56 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=0) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\system\voice\VmbWelcomeMsgDefault.wav] 055235.57 0 play set playid=161862 055235.77 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=0) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\system\voice\ErrorPlayingFile.wav] 055235.78 0 rv add [Hangup Time]{6/28/2005 5:52:35 AM} 055235.79 0 Hanging up call... [srlib PlaySoundStart] 055235.82 0 RecSoundStop ok 055235.88 0 PlaySoundStop err=0 055235.88 0 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 055235.93 0 fnHangupCall end 055235.94 0 RunModule PLAY end 055235.96 0 play end current play (playid=0) 055235.97 0 ScriptEventCode 8001 iLineState=900 055235.98 0 LsAwaitingCalls EV_PLAY_FINISHED 055236.03 0 play end current play (playid=0) 055236.04 0 ScriptEventCode 8001 iLineState=900 055236.04 0 LsAwaitingCalls EV_PLAY_FINISHED 055236.13 0 callstate DISCONNECTED 66116 1 0 055236.13 0 ScriptEventCode 9250 iLineState=900 055236.14 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 055236.16 0 rv add [Hangup Time]{6/28/2005 5:52:36 AM} 055236.17 0 Hanging up call... 055236.20 0 RecSoundStop ok 055236.24 0 PlaySoundStop err=0 055236.25 0 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 055236.29 0 fnHangupCall end 055236.30 0 callstate IDLE 66116 0 0 055236.31 0 WorkingMode@Idle= 055236.32 0 timer clear 055236.41 0 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 055236.42 0 tapi Reply (LineEvReply) ok 66082 0 055236.44 0 tapi Reply (LineEvReply) ok 66065 0 055237.35 0 timer fired EV_TIMEOUT_TIMETOREINITLINE 055237.36 0 ScriptEventCode 9008 iLineState=900 055237.37 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 055237.38 0 ReinitTelephony due to IDLE 055237.39 0 tapic lineDeallocateCall(MainCall:66116) 0 055237.78 0 lineOpen(0)=> 055237.79 0 Waiting for a call... 055237.80 0 LineHandle=66048 055237.82 0 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 055238.07 0 dial start any summary:|0:rdy=0| 055240.83 0 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 055240.84 0 ScriptEventCode 9013 iLineState=900 055241.10 0 dial start any summary:|0:idx=0| 055248.77 0 Unloading Main Window Share this post Link to post
SupportTeam Report post Posted 06/28/2005 10:13 PM Problem here relates to the Wave drivers. Many USB modems have problems with Wave drivers. You only option is to get another modem (or a Dialogic card). If you are getting another modem try an external serial based modem... (for a recent thread about another user who had problems with a USB modem please see: http://voiceguide.com/forums/index.php?showtopic=2950) Share this post Link to post