Guest BOBOR Report post Posted 02/11/2004 04:58 PM Help please, I got way2call Hi-Phone Desktop. I would like to record automatically incoming and outgoing phone calls. What hookup should look like. My hookup is: from phone line ->phone(Hi-Phone) line(Hi-Phone) -> my regular phone USA(Hi-Phone)-> TO MY COMPUTER When I try to make a phone call "VoiceGuide" asks me If I want to record, I say yes but then it hangs up. What is wrong? [$RV_STARTTIME]{2/11/2004 10:46:55 AM}[$RV_DEVICEID]{7}[$RV_CIDNAME]{}[$RV_CIDNUMBER]{}[Call Alert_ResultReturn]{yes}[Record Coversation]{C:\Program Files\VoiceGuide\Scripts\Call Recorder\__0211_104658.wav}[Record Coversation_RecLen100ms]{10}[Record Coversation_EndRecCause]{silence}[Hangup Time]{2/11/2004 10:47:01 AM} Share this post Link to post
SupportTeam Report post Posted 02/11/2004 10:25 PM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, 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 Event Trace Log Report post Posted 02/12/2004 01:31 AM 192959.03 7 callstate OFFERING 65911 0 4 192959.05 7 Start without answering the call 192959.05 7 StartLoadedVgs at 2/11/2004 7:29:59 PM 192959.05 7 ring 0 192959.05 7 [Call Alert] Running VB Script... 192959.05 7 RVreplace start (strlen>100) 192959.06 7 Run Script waiting... (shellid=1996, process=828) 193000.05 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193000.05 7 task still running (shellid=1996, process=828) 193001.14 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193001.14 7 task still running (shellid=1996, process=828) 193002.23 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193002.23 7 task still running (shellid=1996, process=828) 193003.06 7 callstate CONNECTED 65911,0,0 193003.06 7 WorkingModeTAPI@Connected= 193003.06 7 WorkingModeScript@Connected=BeforeAnswerRun 193003.06 7 Inband detection not enabled 193003.06 7 [Call Alert] Running VB Script... 193003.06 7 RVreplace start (strlen>100) 193003.08 7 Run Script waiting... (shellid=1764, process=876) 193004.09 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193004.09 7 task still running (shellid=1764, process=876) 193005.19 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193005.19 7 task still running (shellid=1764, process=876) 193006.28 7 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 193006.28 7 task still running (shellid=1764, process=876) 193006.56 7 cl Run_ResultReturn >>yes<< 193006.56 7 [Record Coversation] Recording 193006.56 7 RVreplace start: [$RV_CIDNUMBER_$RV_CIDNAME_$RV_MM$RV_DD_$RV_HH$RV_NN$RV_SS.wav] 193006.56 7 RVreplace end: [__0211_193006.wav] 193006.58 7 RecSoundStart file[C:\Program Files\VoiceGuide\Scripts\Call Recorder\__0211_193006.wav] ok 193006.58 7 RecFile[C:\Program Files\VoiceGuide\Scripts\Call Recorder\__0211_193006.wav] 193008.02 7 cl Run_ResultReturn >>yes<< 193008.02 7 path {yes} not found 193008.02 7 Hanging up call... [RunResultReturn could not find module...] 193008.03 7 RecSoundStop ok 193008.03 7 PlaySoundStop ok 193009.64 7 fnHangupCall end 193009.66 7 LsAwaitingCalls EV_REC_FINISHED 193009.66 7 callstate IDLE 65911 0 0 193009.66 7 WorkingMode@Idle= 193009.66 7 tapi Reply (LineEvReply) ok 65894 0 193010.64 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 193010.64 7 ReinitTelephony due to IDLE start 193010.73 7 tapic lineDeallocateCall(MainCall:65911) 0 193011.25 7 lineOpen(7) => 0 193011.25 7 Waiting for a call... 193011.25 7 lineOpen(7)LineHandle=65877 193012.13 7 callstate UNKNOWN 65826 0 4 193012.13 7 callinfo CALLEDID 193018.17 7 callstate DIALTONE 65826 1 0 193025.73 7 callstate IDLE 65826 0 0 193025.73 7 WorkingMode@Idle= 193025.73 7 LineState(iLineId).iVgsIdx = 0 193026.80 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 193026.80 7 ReinitTelephony due to IDLE start 193027.31 7 lineOpen(7) => 0 193027.31 7 Waiting for a call... 193027.31 7 lineOpen(7)LineHandle=65809 193043.38 0 sys cleanup Start 193043.38 0 sys cleanup End Share this post Link to post
SupportTeam Report post Posted 02/12/2004 02:49 AM Trace shows that as well as receiving a response to go ahead with recording: 193006.56 7 cl Run_ResultReturn >>yes<< two seconds later something is sending another "go down "yes" path" command to VG: 193008.02 7 cl Run_ResultReturn >>yes<< Whatever is sending this second "yes" is what's causing your problems - you can see from trace that this is the reason why the call is hung up... Please post the VG script that you are using... Share this post Link to post
Guest Bobo Report post Posted 02/12/2004 05:14 AM I used the script that came with VoiceGuide. (Call Recorder.vgs in Call Recorder folder) Can you recommend please some simple script that would just start automatically recording phone calls without asking anything. Thank you Version=5.0 DefaultModuleDisplayHeight= StartModule=Call Alert RunAtHangup= StartWithoutAnswer=1 CtmAsiName= [Call Alert] Type=Run VB Script DispSize=69 Txt=When a Call arrives popup mesasge box displaying the Caller ID, asking whether the call should be recorded or not. VbsWait=2 VbScript='Script : Call Recorder.vgs 'Module : Call Alert set vg = CreateObject("VoiceGuide.CommandLink") if msgbox("Number : $RV_CIDNUMBER" & vbCrLf & "Name : $RV_CIDNAME", vbYesNo + vbQuestion , "Record Call ?") = vbYes then vg.Run_ResultReturn $RV_DEVICEID, "yes" else vg.Run_ResultReturn $RV_DEVICEID, "no" end if set vg = Nothing VbsHoldPlay= on {success} goto [Record Coversation] on {yes} goto [Record Coversation] on {fail} goto [Do not record] on {no} goto [Do not record] on {timeout 30} goto [Do not record] Position=132,23 [Record Coversation] Type=Record DispSize=69 Txt=User selected to record the call. Record to a sound file which includes the Caller ID and time details in the filename. RecFile=$RV_CIDNUMBER_$RV_CIDNAME_$RV_MM$RV_DD_$RV_HH$RV_NN$RV_SS.wav PlayTone=OFF Position=31,258 [Do not record] Type=Hangup the Call DispSize=69 Txt=User has selected not to record the call. Do not record. Detail of incoming call and an indication that user elected not to record it is still saved in the log file. Position=240,254 [Call Alert EXE] Type=Run Program DispSize=69 Txt=Alternate way of asking user for selection. When a Call arrives run Popup.exe which shows Caller ID and asks whether the call should be recorded or not. ProgramToRun=popup.exe $RV_LINEID RunHoldPlay= RunMode=1 RunWait=2 on {success} goto [Record Coversation] on {yes} goto [Record Coversation] on {fail} goto [Do not record] on {no} goto [Do not record] on {timeout 30} goto [Do not record] Position=133,121 Share this post Link to post