Guest Guest Report post Posted 09/20/2005 04:52 PM Hello! I would like to send out faxes from my voiceguide script. I am using WinXP, a Dialogic card D/41 JCT-LS and VoiceGuide for dialogic version 6.0.2001. Q1. It is possible to just send faxes with my equipment or do I need somenthing else? If yes, what would you recommend me?. Q2. I also have a fax device connected to my computer, so I wonder if I can use it from my script using the VBScript code available on your tutorial? Many thanks for your help! Jose Share this post Link to post
SupportTeam Report post Posted 09/20/2005 08:55 PM You just need a normal modem and a copy of WinFax to send out Faxes. Then you can use the VBScript samples from the Help file. Share this post Link to post
Guest Guest Report post Posted 09/21/2005 08:36 AM Hello! I have installed WinFax Pro and a fax modem on my computer . I just ran the VBScript sample (example #6) and I got the following trace: 102325,00 7 tw dtmf a (7,97,97) 102325,03 7 event a, code=97, state=0 102325,03 7 tw DialogicEvent 134,TDX_CST,97,0,0,DE_DIGITS,, 102325,03 7 event TDX_CST, code=134, state=0 102325,08 3 tw dtmf a (3,97,97) 102325,08 3 event a, code=97, state=0 102325,09 3 tw DialogicEvent 134,TDX_CST,97,0,0,DE_DIGITS,, 102325,09 3 event TDX_CST, code=134, state=0 102325,11 7 tw dtmf 4 (7,52,52) 102325,13 7 event 4, code=52, state=0 102325,13 7 tw DialogicEvent 134,TDX_CST,52,0,0,DE_DIGITS,, 102325,14 7 event TDX_CST, code=134, state=0 102325,22 3 tw dtmf 4 (3,52,52) 102325,23 3 event 4, code=52, state=0 102325,23 3 tw DialogicEvent 134,TDX_CST,52,0,0,DE_DIGITS,, 102325,25 3 event TDX_CST, code=134, state=0 102325,28 7 tw dtmf 1 (7,49,49) 102325,30 7 event 1, code=49, state=0 102325,30 7 tw DialogicEvent 134,TDX_CST,49,0,0,DE_DIGITS,, 102325,31 7 event TDX_CST, code=134, state=0 102325,38 3 tw dtmf 1 (3,49,49) 102325,39 3 event 1, code=49, state=0 102325,41 3 tw DialogicEvent 134,TDX_CST,49,0,0,DE_DIGITS,, 102325,42 3 event TDX_CST, code=134, state=0 102325,45 7 tw dtmf # (7,35,35) 102325,47 7 event #, code=35, state=0 102325,48 7 tw DialogicEvent 134,TDX_CST,35,0,0,DE_DIGITS,, 102325,50 7 event TDX_CST, code=134, state=0 102325,56 3 tw dtmf # (3,35,35) 102325,58 3 event #, code=35, state=0 102325,59 3 tw DialogicEvent 134,TDX_CST,35,0,0,DE_DIGITS,, 102325,61 3 event TDX_CST, code=134, state=0 102326,05 7 event callstate OFFERING 7 0 0 102326,06 7 script interpretor: VgMulti v6.0.2092 102326,08 7 fired OFFERING event to listeners 102326,09 7 iIvrDev=7 102326,11 7 set linestate CID vars 102326,13 7 call AnswerTheCallIfAllowed 102326,17 7 tw ring 1 102326,19 7 ring time since last ring (ms): 0 102326,20 7 rv clear all 102326,22 7 init LineState ResetAtStartOfNewCall. 102326,25 7 answer the call 102326,27 7 timer clear 102326,28 7 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 102326,30 7 event TDX_CST, code=134, state=6001 102326,81 7 event callstate CONNECTED 7 0 0 102326,83 7 WorkingModes tapi= script= 102326,88 7 Inband detection not enabled 102326,89 7 StartLoadedVgs at 2005-09-21 10:23:26 102326,91 7 set sScriptToRunOnHangup=[] in StartLoadedVgs 102326,92 7 init StartLoadedVgs_InitLineState start 102326,94 7 rv add [$RV_STARTTIME]{2005-09-21 10:23:26} 102326,97 7 rv add [$RV_DEVICEID]{7} 102326,98 7 rv add [$RV_CIDNAME]{} 102327,00 7 rvns add [PathApp]{C:\Program\VoiceGuide\} 102327,02 7 rvns add [scriptsPath]{C:\Voice_jose_testing\Fax2\} 102327,03 7 rv add [$RV_CIDNUMBER]{} 102327,05 7 fn RunModule start 102327,06 7 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_OFFHOOK,CALL_INBOUND, 102327,09 7 event TDX_SETHOOK, code=135, state=6001 102327,11 7 tw DialogicEvent 134,TDX_CST,31936,0,0,DE_LCON,, 102327,13 7 event TDX_CST, code=134, state=6001 102327,14 7 timer clear 102327,16 7 state [Faxing] Running VB Script... 102327,19 7 vbs ran [vbs_7_1.vbs], cmd [wscript "C:\Program\VoiceGuide\data\vbs_7_1.vbs" //I //T:60] 102327,55 7 Run Script waiting. iRunWait=1 (shellid=860, process=1788) 102327,56 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102328,56 7 timer fired EV_TIMEOUT_CHECKONSTATE 102328,58 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102328,59 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102328,72 7 task still running (shellid=860, process=1788) 102328,73 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102330,56 7 timer fired EV_TIMEOUT_CHECKONSTATE 102330,56 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102330,56 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102330,56 7 task still running (shellid=860, process=1788) 102330,56 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102331,67 7 timer fired EV_TIMEOUT_CHECKONSTATE 102331,67 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102331,67 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102331,67 7 task still running (shellid=860, process=1788) 102331,67 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102332,78 7 timer fired EV_TIMEOUT_CHECKONSTATE 102332,78 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102332,78 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102332,78 7 task still running (shellid=860, process=1788) 102332,78 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102333,89 7 timer fired EV_TIMEOUT_CHECKONSTATE 102333,89 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102333,89 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102333,89 7 task still running (shellid=860, process=1788) 102333,89 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102335,00 7 timer fired EV_TIMEOUT_CHECKONSTATE 102335,00 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102335,00 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102335,00 7 task still running (shellid=860, process=1788) 102335,02 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102336,11 7 timer fired EV_TIMEOUT_CHECKONSTATE 102336,13 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102336,14 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102336,16 7 task still running (shellid=860, process=1788) 102336,17 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102337,30 7 timer fired EV_TIMEOUT_CHECKONSTATE 102337,31 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102337,33 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102337,34 7 task still running (shellid=860, process=1788) 102337,36 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102338,47 7 timer fired EV_TIMEOUT_CHECKONSTATE 102338,48 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102338,50 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102338,52 7 task still running (shellid=860, process=1788) 102338,53 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102339,64 7 timer fired EV_TIMEOUT_CHECKONSTATE 102339,66 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102339,67 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102339,69 7 task still running (shellid=860, process=1788) 102339,72 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102340,83 7 timer fired EV_TIMEOUT_CHECKONSTATE 102340,84 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102340,86 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102340,88 7 task still running (shellid=860, process=1788) 102340,91 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102342,02 7 timer fired EV_TIMEOUT_CHECKONSTATE 102342,03 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102342,05 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102342,06 7 task still running (shellid=860, process=1788) 102342,08 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102343,20 7 timer fired EV_TIMEOUT_CHECKONSTATE 102343,22 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102343,23 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102343,25 7 task still running (shellid=860, process=1788) 102343,28 7 timer set 1 EV_TIMEOUT_CHECKONSTATE 102344,39 7 timer fired EV_TIMEOUT_CHECKONSTATE 102344,41 7 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 102344,42 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 102344,50 7 task completed (shellid=860, process=1788) vgm=3, iRunWait=1, iRunWait_ExeResult_NextVgm=0 102344,52 7 no result file returned from program (VGRUNRESULT_7.TXT or SHLRESLT.TXT) 102344,56 7 task completed LsRunWaitChooseNext iNextVgm=4 102344,58 7 fn RunModule start 102344,61 7 timer clear 102344,66 7 rv add [Hangup Time]{2005-09-21 10:23:44} 102344,70 7 state Hanging up call... [Hangup Module] 102344,73 7 HangupCall_Common hCall=7 102344,81 7 rec RecSoundStop ok 102344,83 7 play PlaySoundStop ok 102344,84 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 102344,88 7 fnHangupCall end 102344,92 7 event callstate IDLE 7 0 0 102344,94 7 WorkingMode@Idle= 102344,95 7 timer clear 102344,97 7 rec RecSoundStop ok 102344,98 7 play PlaySoundStop ok 102345,00 7 rv add [CallEndTime]{2005-09-21 10:23:45} 102345,22 7 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 102345,23 7 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 102345,25 7 event TDX_SETHOOK, code=135, state=900 102345,27 7 LsAwaitingCalls EV_UNKNOWN_135 102346,27 7 timer fired EV_TIMEOUT_TIMETOREINITLINE 102346,28 7 event EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=900 102346,30 7 init atidle reinit : start 102346,31 7 init atidle reinit iConferenceOtherLegLid=-1 102346,33 7 init atidle reinit : reset all LineState variables 102346,34 7 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 102346,36 7 state Waiting for a call... 102346,70 7 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 102346,72 7 event EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=900 102352,81 0 sys cleanup Start 102352,86 0 sys cleanup End Do I have to change anything in voiceguide? I mean the script I am running it is the same as in the Run VBscript module. Thank you! Jose Share this post Link to post
SupportTeam Report post Posted 09/21/2005 12:31 PM Looks like the VBScript was taking a long time before VG decided that it was running for too long (15 seconds) and shut it down. Was WinFax started at the time? You may want to test running VBScripts directly first and only after you get one working then try it from inside the VoiceGuide's Run VBScript module. Share this post Link to post