Martin Roy Report post Posted 07/13/2006 09:36 PM I am using VG 6.0.3071 with a Dialogic Card, when I send OutDial_New - <OutdialEntry> <PhoneNumber>2715</PhoneNumber> <LineSelection>1</LineSelection> <OnAnswer>OffreSiHumain.vgs</OnAnswer> <OnAnswerMachine>OffreSiRepondeur.vgs</OnAnswerMachine> <AnnounceMessage>none</AnnounceMessage> <CallRetries>0</CallRetries> <RetryDelay>1</RetryDelay> <RV>[ClientID]{80282}[ClientName]{Gaetan Champagne}[FileName]{test_overopp_144_80282_1}[Test]{True}[JobDescription]{Nous avons besoin dun Opérateur De Contrôle (Grillage) le 12 Juillet à 19 heures 00 pour une durée de 4 heures et 0 minutes}</RV> <OnNotConnected>sOnNotConnected.vbs</OnNotConnected> </OutdialEntry> OnAnswer is working fine OnAnswerMachine is working fine OnNotConnected is running the script, but voiceguide still continous to call the number (no hangup). VBS Script sOnNotConnected.vbs ' Definition des constantes Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 set fso = CreateObject("Scripting.FileSystemObject") ' Ajout de log dans le fichier d'analyse set tsFileLog = fso.OpenTextFile("C:\Program Files\VoiceGuide\Scripts\CEZinc\LogCalls.txt", ForAppending, True) tsFileLog.WriteLine "$RV_STARTTIME, $RV_CALLEDNUMBER, $RV[outDial_Result], $RV[outDial_RetriesLeft], Aucune réponse" tsFileLog.Close fso.DeleteFile "C:\Program Files\VoiceGuide\Scripts\CEZinc\ProcessVoiceGuide\$RV[FileName].xml" ' Création du fichier XLM de réponse if "$RV[Test]" <> "False" then set tsFileXML = fso.OpenTextFile("C:\Program Files\VoiceGuide\Scripts\CEZinc\OutVoiceGuide\$RV[FileName].xml", ForWriting, True) tsFileXML.WriteLine "<OutDialReturn>" tsFileXML.WriteLine " <PhoneNumber>$RV_CALLEDNUMBER</PhoneNumber>" tsFileXML.WriteLine " <StartTime>$RV_STARTTIME</StartTime>" tsFileXML.WriteLine " <RV>$RV[ClientID]</RV>" tsFileXML.WriteLine " <Choice>Refuser</Choice>" tsFileXML.WriteLine " <AnswerMachine>2</AnswerMachine>" tsFileXML.WriteLine " <Timeout>none</Timeout>" tsFileXML.WriteLine "</OutDialReturn>" tsFileXML.Close set tsFileXML = Nothing end if set tsFileLog = Nothing set fso = Nothing I will attach the log files. I cannot understant those repetetive five lines 171735,14 1 LsWaitAfterDialingOut : 134,TDX_CST,204,0,0,DE_TONEON,, 171735,22 1 tw DialogicEvent 134,TDX_CST,204,0,0,DE_TONEON,, 171735,22 1 event , iCode=134 state=5200 171735,22 1 LsWaitAfterDialingOut : 134,,204,0,0,DE_TONEON,, 171735,22 1 event TDX_CST, iCode=134 state=5200 171735,22 1 LsWaitAfterDialingOut : 134,TDX_CST,204,0,0,DE_TONEON,, I have try to use in the OutDial_New file without succes. <AnswerTimeout>15</AnswerTimeout> I will attach the configline.xlm too Please help me... 0713vgm.txt ConfigLine.xml Share this post Link to post
Martin Roy Report post Posted 07/13/2006 10:05 PM I forgot to tell you that I have replace the file called ktTelControl_050521.zip ( 80.92k ) specified in http://voiceguide.com/forums/index.php?sho...0&hl=TID_RNGBK1 Please update your system with attached OCX. This OCX has bug fix in it which eliminates false CR_NORB events on outgoing calls. Place the OCX in Windows' System32 directory, overwriting existing file. Please let us know how you go with this. You should also ensure that your ringback tone definitions are set right - if they are not set right you may still get the CR_NORB event. Use Audacity http://audacity.sourceforge.net/ to find out the frequencies and cadence. The ringback.wav file that you supplied contained just silence... And we can see that you have not modified the ConfigLine.xml file's TID_RNGBK2 entries from their original default values... Attached File(s) ktTelControl_050521.zip ( 80.92k ) Share this post Link to post
SupportTeam Report post Posted 07/13/2006 10:13 PM Please do the test with v6.0.3107 of VG for Dialogic (current release version). v6.0.3071 is an older version, and ktTelControl_050521.zip is a very old OCX and the newer version should be used instead. Share this post Link to post
Martin Roy Report post Posted 07/14/2006 01:10 AM Ok I have install the latest version, return to my first problem, unable to detect ring tone and then VoiceGuide detect a Human Voice... (that why I copy the ktTelControl_050521.zip, that fix this problem) 210323.279 001 TDX_CALLP CR_CNCT (called line was connected) 210323.279 001 TDX_CALLP CR_CNCT CON_CAD (connection due to cadence break) I dont know how to find those FREQ and CADENCE... I live in Canada I know this is in the configline.xlm, but I not able to find the right one... I dont know where to look... 0713tw.txt Share this post Link to post
Martin Roy Report post Posted 07/14/2006 01:44 AM Ok I find all the TID_RNGBCK1 F1 431 x58 F2 519 x40 Con 204 x17 Coff 401 x33 Now I detecting the ring tone and the script OnNotConnected run, but the dialer isnt stopping (ring and ring and ring ...) I have this error in the log but I dont understand the meaning. 213457.056 001 dx_initcallp error (DelTones_SetTones_InitCallProgress) -1 70 Invalid Cadence Component Values in Tone Template Description Is the any command to stop the dialing process??? I add the two log files 0713tw.txt 0713vgm.txt Share this post Link to post
Martin Roy Report post Posted 07/14/2006 01:57 AM I find another error in the log 0713vgm.txt 213559,40 1 ERROR 6.0.3107 Error_ScriptEventCode line=1410, err=13: Type mismatch state:5200 event:133 0713vgm.txt Share this post Link to post
SupportTeam Report post Posted 07/14/2006 10:29 AM Please update system with attached files and run test again. Pleae post the vgm trace so that we can confirm how the new version is working for you. To update to this new version do: 1. stop VG 2. run in C:\Windows\System32\ (atr command prompt): regsvr32 -u ktTelControl.ocx 3. if you wnat to make backup of existing ktTelControl.ocx then move this file onto a floppy/USB or other machine on network - do not just rename it. 4. copy new ktTelControl.ocx to C:\Windows\System32\ 5. run in C:\Windows\System32\ (at command prompt): regsvr32 ktTelControl.ocx 6. copy new VgMulti.exe to VG's directory. (make backup first). v3121.zip Share this post Link to post
Martin Roy Report post Posted 07/14/2006 01:08 PM It worked... Now, my boss want another thing, is it possible inside my sript "sOnNotConnected.vbs" to determine why voiceguide is not able to connect? for exemples: - No DialTone - Busy - End of <AnswerTimeout> But that is a "Nice to Have" Thanx for your help. A happy customer... Share this post Link to post
SupportTeam Report post Posted 07/14/2006 03:10 PM Please update your current setup with attached .exe (make backup of existing vgmulti.exe first). You should then be able to use the $RV[OutDial_Result] Result Variable in your VBScript. If possible please post the vgm trace from the new version so that we can confirm how the new version is working for you. VgMulti_6.0.3122.zip Share this post Link to post