Guest mand Report post Posted 07/09/2004 08:46 AM hello again, i'm using the dialer for outbond calls, i specified a script to be launched when a real person answers the call. ine the script i've got 3 steps, step 1 play sound file, in wich i added on digit conditions (ondigit 1, onddigit2 ...) step 2 plays sound file step3 hangs off i'm encoutering 2 major problems, the sound file starts playing just when the number is dialed and not when the person hangs on, if someone leaves the phone ringing for more than 15s he will not even hear the first message!! the second problem after finishing the first sound, it automatically plays a message "there has been an error playing the file please check the file format" as many times as i've put ondigit conditions (3 ondigit condition, the message error is played 3 times), curiosly the conditions work; for instance on digit 1 play file 2, works fine, so i don't understand why the error message is displayed wystematically. thank you! B.Manickam Share this post Link to post
SupportTeam Report post Posted 07/09/2004 09:15 AM Are you using a voice modem or a Dialogic card? Could you please post a copy of VoiceGuide's Debug Printout which captures the problems, 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 mand Report post Posted 07/09/2004 10:01 AM i'm using a voice modem (U.S ROBOTICS 56K) here is the log i've put in bold the part where in think it's making the error message 115434,47 0 dial [62,798829121,407091154,1,2359,MoTuWeThFrSaSu,,2,NONE,C:\Program Files\VoiceGuide\Scripts\brabbi.vgs,NONE,123,2,2,120,,none] 115434,47 0 dial callque update id=62 next call time 0407091354 115434,47 0 dial callque DB update returned 115434,48 0 dial found entry: tel[798829121] ann[NONE] vgs[C:\Program Files\VoiceGuide\Scripts\brabbi.vgs] am[NONE] 115434,48 0 Dialing: 798829121 115434,48 0 MakeCall => 66194 115434,48 0 TimeoutSet 10 EV_TIMEOUT_MAKECALL_NORESPONSE 115434,48 0 TapiCbTrigSet 66194 7002 115434,48 0 tapi Reply (LineEvReply) ok 66194 0 115434,48 0 TapiCbTrigClear 115434,50 0 callstate DIALING 65971 0 0 115434,50 0 callstate PROCEEDING 65971 0 0 115437,28 0 callstate CONNECTED 65971,0,0 115437,28 0 WorkingModeTAPI@Connected= 115437,28 0 WorkingModeScript@Connected= 115437,28 0 rv add [OutDial_RetriesLeft]{2} 115437,28 0 rv add [$RV_STARTTIME]{09/07/2004 11:54:37} 115437,28 0 rv add [$RV_DEVICEID]{0} 115437,28 0 rv add [$RV_CIDNAME]{} 115437,28 0 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 115437,30 0 rv add [$RV_CALLEDNUMBER]{798829121} 115437,30 0 Dialing: Playing introduction message 115437,30 0 StartLoadedVgs at 09/07/2004 11:54:37 115437,30 0 AddRVns [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\} 115437,30 0 rv add [OutDial_RetriesLeft]{2} 115437,30 0 rv add [$RV_STARTTIME]{09/07/2004 11:54:37} 115437,30 0 rv add [$RV_DEVICEID]{0} 115437,30 0 rv add [$RV_CIDNAME]{} 115437,31 0 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 115437,31 0 rv add [$RV_CALLEDNUMBER]{798829121} 115437,31 0 TimeoutClear 115437,31 0 [Play 3] Playing 115437,31 0 [Play 3] Playing (C:\Program Files\VoiceGuide\Scripts\01.wav) 115437,33 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>play waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Program Files\VoiceGuide\Scripts\01.wav] 115437,33 0 path {WAVERR_BADFORMAT} not found115437,86 0 TimeoutClear 115437,86 0 RunModule PLAY end 115437,86 0 dial callque delete id=62 115437,88 0 AddRVns [OutDial_Result]{Contacted_Human} 115437,88 0 tapie PlayEnd old line=0 0 117937 115437,88 0 wa(4425,11793700) 115442,44 0 Play End line[0] (id=117937) 115442,44 0 ScriptEventCode 8001 iLineState=1100 115442,44 0 LsPlayMsg EV_PLAY_FINISHED 115442,44 0 TimeoutSet 5 EV_TIMEOUT_REPLAYMSG 115447,80 0 Timer fired EV_TIMEOUT_REPLAYMSG 115447,80 0 ScriptEventCode 9005 iLineState=1101 115447,80 0 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 115447,80 0 [Play 3] Playing (C:\Program Files\VoiceGuide\Scripts\01.wav) 115448,34 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\01.wav] 115448,34 0 TimeoutClear 115448,34 0 wa(22151,12842100) 115510,64 0 Play End line[0] (id=128421) 115510,66 0 ScriptEventCode 8001 iLineState=1100 115510,66 0 LsPlayMsg EV_PLAY_FINISHED 115510,66 0 TimeoutSet 5 EV_TIMEOUT_REPLAYMSG 115511,05 0 dtmf 1 (65971,49,2) 115511,05 0 ScriptEventCode 49 iLineState=1101 115511,05 0 LsPlayMsgFinished 1 115511,05 0 rv add [Play 3]{1} 115511,05 0 TimeoutClear 115511,05 0 [Play 2] Playing 115511,06 0 [Play 2] Playing (C:\Program Files\VoiceGuide\Scripts\02.wav) 115511,06 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>play waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Program Files\VoiceGuide\Scripts\02.wav] 115511,06 0 path {WAVERR_BADFORMAT} not found 115511,59 0 TimeoutClear 115511,61 0 RunModule PLAY end 115511,61 0 tapie PlayEnd old line=0 0 151687 115511,61 0 wa(4425,15168700) 115516,20 0 Play End line[0] (id=151687) 115516,20 0 ScriptEventCode 8001 iLineState=1100 115516,20 0 LsPlayMsg EV_PLAY_FINISHED 115516,20 0 TimeoutSet 5 EV_TIMEOUT_REPLAYMSG 115520,28 0 dtmf 1 (65971,49,2) 115520,30 0 ScriptEventCode 49 iLineState=1101 115520,30 0 LsPlayMsgFinished 1 115520,30 0 path {1} not found 115521,56 0 Timer fired EV_TIMEOUT_REPLAYMSG 115521,56 0 ScriptEventCode 9005 iLineState=1101 115521,56 0 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 115521,56 0 [Play 2] Playing (C:\Program Files\VoiceGuide\Scripts\02.wav) 115522,11 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\02.wav] 115522,11 0 TimeoutClear 115522,11 0 wa(13047,16218700) 115535,31 0 Play End line[0] (id=162187) 115535,33 0 ScriptEventCode 8001 iLineState=1100 115535,33 0 LsPlayMsg EV_PLAY_FINISHED 115535,33 0 TimeoutSet 5 EV_TIMEOUT_REPLAYMSG 115539,33 0 dtmf 1 (65971,49,2) 115539,33 0 ScriptEventCode 49 iLineState=1101 115539,33 0 LsPlayMsgFinished 1 115539,34 0 path {1} not found 115540,70 0 Timer fired EV_TIMEOUT_REPLAYMSG 115540,70 0 ScriptEventCode 9005 iLineState=1101 115540,70 0 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 115540,70 0 [Play 2] Playing (C:\Program Files\VoiceGuide\Scripts\02.wav) 115540,72 0 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>play waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Program Files\VoiceGuide\Scripts\02.wav] 115540,72 0 path {WAVERR_BADFORMAT} not found 115541,25 0 TimeoutClear 115541,25 0 tapie PlayEnd old line=0 0 181328 115541,25 0 wa(4425,18132800) 115545,83 0 Play End line[0] (id=181328) 115545,83 0 ScriptEventCode 8001 iLineState=1100 115545,84 0 LsPlayMsg EV_PLAY_FINISHED 115545,84 0 TimeoutSet 10 EV_TIMEOUT_HANGUP 115545,84 0 rv add [Hangup Time]{09/07/2004 11:55:45} 115545,84 0 Hanging up call... [No Paths leaving Play module [Play 2]] 115545,84 0 RecSoundStop ok 115545,84 0 PlaySoundStop err=0 115545,86 0 TimeoutSet 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 115545,86 0 fnHangupCall end 115546,84 0 callstate DISCONNECTED 65971,1,0 115546,84 0 ScriptEventCode 9250 iLineState=900 115546,86 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 115546,86 0 rv add [Hangup Time]{09/07/2004 11:55:46} 115546,86 0 Hanging up call... 115546,86 0 RecSoundStop ok 115546,86 0 PlaySoundStop err=0 115546,88 0 TimeoutSet 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 115546,88 0 fnHangupCall end 115546,88 0 callstate IDLE 65971 0 0 115546,88 0 WorkingMode@Idle= 115546,88 0 TimeoutClear 115546,89 0 TimeoutSet 1 EV_TIMEOUT_TIMETOREINITLINE 115546,89 0 tapi Reply (LineEvReply) ok 65644 0 115546,91 0 tapi Reply (LineEvReply) ok 66364 0 115547,94 0 Timer fired EV_TIMEOUT_TIMETOREINITLINE 115547,94 0 ScriptEventCode 9008 iLineState=900 115547,94 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 115547,94 0 ReinitTelephony due to IDLE 115547,94 0 tapic lineDeallocateCall(MainCall:65971) 0 115547,97 0 lineOpen(0)=> 115547,98 0 Waiting for a call... 115547,98 0 LineHandle=66278 115547,98 0 TimeoutSet 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 115551,27 0 Timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 115551,27 0 ScriptEventCode 9013 iLineState=900 Share this post Link to post
SupportTeam Report post Posted 07/09/2004 11:50 AM What format have you recorded 01.wav, 02.wav etc ? Windows Voice Modem Wave driver can only support sound files in the following format PCM 8000Hz, 16bit, Mono. When using Voice modems all sound files must be recorded in the above format. Dialogic Wave driver prefers sound files in the following format PCM 11025Hz, 8bit, Mono. When using a Dialogic card, all sound files should be recorded in the above format. Share this post Link to post
Guest mand Report post Posted 07/09/2004 05:50 PM Oh yeah, it works fine i have no more error messages, but although the first issue is still unresolved. when the dialer dials the number the script lunches automatically the play file without waiting for the customer to hang on the phone. it would be ok if the customer hang on just on the first ring he would listen to the full message, but if he waits 2 or three rings he can even miss the entire message. is there any solution for this problem? Thanks a lot. B.manickam Share this post Link to post
SupportTeam Report post Posted 07/09/2004 09:42 PM With voice modems you should be specifying the "prompt message to play if voice modem is used to make the call" sound file. From http://www.voiceguide.com/vghelp/html/DialListInto.htm : Prompt message if a voice modem is used to dial If a voice modem is used and this file is specified, then this sound file will be played in a loop after the phone number is dialed, and the recipient of the call will have to press a button before the main VoiceGuide script will be executed, or the main message played. If no prompt message is needed this entry can be left blank. The default message supplied with VoiceGuide (AcceptAutoCall.wav) says: "This is an automated call, please press any number on your telephone keypad to accept this call." Share this post Link to post