Guest Michael Rizk Report post Posted 10/21/2003 06:30 AM Voice Modem = netcomm roadster v.92 (External) We intend to use VoiceG. as just a dialer and not to receive calls. It will be setup in conjuction with a monitoring system which will produce a alert and forward it onto VG. The way I plan to do this is when the alert is genterated it runs my program which will create a file in the data directory called OutDial_New.txt with my dialer details and at the same time create a simple script ie: script(x).vgs which will populated with the text to speech info strTtsText=<generated from alert variables> ie: Server down 10:30 Sydney OutDial_New.txt 01:10 PM 21/10/03,"0414111111",3,1,C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav,c:\program files\voiceguide\scripts\script2.vgs,C:\Program files\VoiceGuide\system\voice\FailToSend.wav, script2.vgs Version=5.0 DefaultModuleDisplayHeight= StartModule=Play 2 RunAtHangup= StartWithoutAnswer=0 CtmAsiName= [Play 2] Type=Play DispSize=69 Txt=Play a sound file, then await a response... Replay=1,1 strTtsText=Server down at st leonards Position=49,120 1/ If I do not have a introduction wave file that loops the call terminates as soon as it rings 2/ If I do have a introduction wave file that loops then it works as the wave file loops until a key is pressed. The problem with this though when the phone is not answered the users mobile phone goes to message bank and it starts recording the introduction message looping even if strOnAM variable is set. When this situation happens the CallRetriesLeft in the CallQue Table does not decrease so I would have to assume that call escallation will not occur even if had been defined. This will happen also when the users manually forces a diversion on a incoming call. This will fill up the users voice mail box as the default AnswerTimeOut is 90 seconds. 3/ Often when the call is placed it will ring once or twice and hangup. This is using the same wave files and scripts no changes. Yes the modem drivers are installed okay and checked to be latest level. 4/ I do not understand why VG cannot detect if the receiver answered the call while using a voice modem. I believe that vTapi from softcab can. 5/ When strAnnouce in OutDial_New.txt is left blank it does not play the default wav file as per documentaion. It has to be defined. Any ideas would be appreciated. PS: The script gets created before OutDial_New.txt Cheers, Michael LogFile1 OutDial_New.txt = 01:10 PM 21/10/03,"0414111111",3,1,none,c:\program files\voiceguide\scripts\script2.vgs,, 161553.46 0 Loading from C:\Program Files\VoiceGuide\data\OutDial_New.txt 161553.46 0 dial callque insert tel:"0414111111" scr:c:\program files\voiceguide\scripts\script2.vgs time:310211310 esc: 161553.46 0 Loaded 1 entries. 161553.47 0 dial callque update id=33 next call time 0310211617 161553.47 10 dial found entry: tel["0414111111"] ann[none] vgs[c:\program files\voiceguide\scripts\script2.vgs] am[c:\program files\voiceguide\scripts\script2.vgs] 161553.48 10 Dialing: 0414111111 161553.48 10 MakeCall => 66495 161553.48 10 TapiCbTrigSet 66495 7002 161553.48 10 tapi Reply 66495 0 161553.48 10 TapiCbTrigClear 161553.48 10 callstate DIALING 65675 0 0 161553.48 10 callstate PROCEEDING 65675 0 0 161557.66 10 callstate CONNECTED 65675,0,0 161557.66 10 WorkingModeTAPI= 161557.66 10 WorkingModeScript= 161557.66 10 Dialing: Playing introduction message 161557.66 0 Script Load c:\program files\voiceguide\scripts\script2.vgs 161557.67 10 StartLoadedVgs at 21/10/2003 4:15:57 PM 161557.67 10 [Play 2] Playing 161557.67 10 tts generate start[server down at st leonards] 161557.76 10 tts generate end 161557.76 10 [Play 2] Playing (C:\Program Files\VoiceGuide\system\tts10.wav) 161557.80 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\tts10.wav] 161557.80 10 RunModule PLAY end 161557.80 0 dial callque delete id=33 161559.00 10 Play End line[10] (id=831873) 161559.00 10 LsPlayMsg EV_PLAY_FINISHED 161600.90 10 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 161600.90 10 tts generate reuse 161600.90 10 [Play 2] Playing (C:\Program Files\VoiceGuide\system\tts10.wav) 161600.95 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\tts10.wav] 161603.13 10 Play End line[10] (id=835007) 161603.13 10 LsPlayMsg EV_PLAY_FINISHED 161603.13 10 Hanging up call... [No Paths leaving Play module [Play 2]] 161603.13 10 RecSoundStop ok 161603.13 10 PlaySoundStop ok 161603.13 10 fnHangupCall end 161604.35 10 callstate DISCONNECTED 65675,1,0 161604.35 10 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 161604.35 10 Hanging up call... 161604.35 10 RecSoundStop ok 161604.35 10 PlaySoundStop ok 161604.35 10 fnHangupCall end 161604.35 10 callstate IDLE 65675 0 0 161604.35 10 WorkingMode@Idle= 161604.36 10 tapi Reply 65658 0 161604.36 10 tapi Reply 66068 0 161605.34 10 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 161605.34 10 ReinitTelephony due to IDLE start 161605.34 10 tapic lineDeallocateCall(MainCall:65675) 0 161605.40 10 lineOpen(10) => 0 161605.40 10 Waiting for a call... 161605.40 10 lineOpen(10)LineHandle=66188 Logfile2 OutDial_New.txt = 01:10 PM 21/10/03,"0414111111",3,1,C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav,c:\program files\voiceguide\scripts\script2.vgs,C:\Program files\VoiceGuide\system\voice\VmSendSuccess.wav, 161849.83 0 Loading from C:\Program Files\VoiceGuide\data\OutDial_New.txt 161849.83 0 dial callque insert tel:"0414111111" scr:c:\program files\voiceguide\scripts\script2.vgs time:310211310 esc: 161849.83 0 Loaded 1 entries. 161849.84 0 dial callque update id=34 next call time 0310211620 161849.84 10 dial found entry: tel["0414111111"] ann[C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav] vgs[c:\program files\voiceguide\scripts\script2.vgs] am[C:\Program files\VoiceGuide\system\voice\VmSendSuccess.wav] 161849.85 10 Dialing: 0414111111 161849.85 10 MakeCall => 66291 161849.85 10 TapiCbTrigSet 66291 7002 161849.85 10 tapi Reply 66291 0 161849.85 10 TapiCbTrigClear 161849.85 10 callstate DIALING 66035 0 0 161849.85 10 callstate PROCEEDING 66035 0 0 161854.10 10 callstate CONNECTED 66035,0,0 161854.10 10 WorkingModeTAPI= 161854.10 10 WorkingModeScript= 161854.10 10 Dialing: Playing introduction message 161854.15 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav] 161901.01 10 Play End line[10] (id=8206) 161901.02 10 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED 161901.09 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav] 161907.95 10 Play End line[10] (id=15126) 161907.96 10 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED 161908.03 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav] 161914.89 10 Play End line[10] (id=22066) 161914.90 10 LsDialoutPlayAcceptAuto EV_PLAY_FINISHED 161914.97 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\AcceptAutoCall.wav] 161919.72 10 dtmf 5 (53,2) 161919.72 10 LsDialoutPlayAcceptAuto 5 161919.82 10 PlaySoundStop ok 161919.82 2 tr NewVgsVgm_Goto c:\program files\voiceguide\scripts\script2.vgs,,,,,0 161919.82 0 LoadedVgs_Find c:\program files\voiceguide\scripts\script2.vgs at idx=2 161919.82 10 cl NewVgsVgm_RunModule module not found: 161919.82 2 tr NewVgsVgm_Goto 1 161919.82 2 tr NewVgsVgm_Goto 2 161919.82 10 [Play 2] Playing 161919.82 10 tts generate start[server down at st leonards] 161919.88 10 tts generate end 161919.88 10 [Play 2] Playing (C:\Program Files\VoiceGuide\system\tts10.wav) 161919.93 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\tts10.wav] 161919.93 10 RunModule PLAY end 161919.93 2 tr NewVgsVgm_Goto end 161919.93 0 dial callque delete id=34 161921.96 10 Play End line[10] (id=33983) 161921.96 10 LsPlayMsg EV_PLAY_FINISHED 161922.86 10 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 161922.86 10 tts generate reuse 161922.86 10 [Play 2] Playing (C:\Program Files\VoiceGuide\system\tts10.wav) 161922.91 10 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\tts10.wav] 161925.08 10 Play End line[10] (id=36968) 161925.08 10 LsPlayMsg EV_PLAY_FINISHED 161925.08 10 Hanging up call... [No Paths leaving Play module [Play 2]] 161925.08 10 RecSoundStop ok 161925.08 10 PlaySoundStop ok 161925.09 10 fnHangupCall end 161926.29 10 callstate DISCONNECTED 66035,1,0 161926.29 10 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 161926.29 10 Hanging up call... 161926.29 10 RecSoundStop ok 161926.29 10 PlaySoundStop ok 161926.29 10 fnHangupCall end 161926.30 10 callstate IDLE 66035 0 0 161926.30 10 WorkingMode@Idle= 161926.30 10 tapi Reply 66410 0 161926.30 10 tapi Reply 66052 0 161927.30 10 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 161927.30 10 ReinitTelephony due to IDLE start 161927.30 10 tapic lineDeallocateCall(MainCall:66035) 0 161927.36 10 lineOpen(10) => 0 161927.36 10 Waiting for a call... 161927.36 10 lineOpen(10)LineHandle=66393 Share this post Link to post
SupportTeam Report post Posted 10/21/2003 10:06 AM 1/ If I do not have a introduction wave file that loops the call terminates as soon as it rings A welcoming file is required if a Voice modem is used. It is recommended to always set this entry to the file to be used, or set to "none" if the script is to begin immediately. The problem with this though when the phone is not answered the users mobile phone goes to message bank and it starts recording the introduction message looping even if strOnAM variable is set. Only a Dialogic card will detect if a call has been answered by an Answering Machine. Then the "on Answering Machine" message will be used. 3/ Often when the call is placed it will ring once or twice and hangup. This is using the same wave files and scripts no changes. Yes the modem drivers are installed okay and checked to be latest level. Can you please post a trace capturing this - we can then see what is going on. 4/ I do not understand why VG cannot detect if the receiver answered the call while using a voice modem. Detecting this with voice modems is very difficult - and it was judged to be too difficult to make reliable considering the wide combination of modems and telephone networks that are out there. Projects where it is critical that this detection is successful will most likely be using a Dialogic card anyway - which has very good Human answer & Answering Machine detection. When strAnnouce in OutDial_New.txt is left blank it does not play the default wav file as per documentaion. It has to be defined Yes - the meaning of leaving this entry blank changed a couple of times - to be on safe side it should not be left blank but wither set to the file which is to be used, or set to "none" Share this post Link to post
Guest Guest Report post Posted 10/22/2003 02:56 AM Thanks for the quick reply. Looks like have to buy a Dialogic card. Share this post Link to post
SupportTeam Report post Posted 10/22/2003 03:16 AM It sounds like you are in Australia, so if you like email sales@katalina.com.au to get pricing. Share this post Link to post