Guest rmonicat Report post Posted 05/09/2004 01:24 AM Attached file is the log of a test where two lines were bridged succesfully. Later, when asking VG information about bridge parties RV_GET reported no parties though lines were actually in conference. I added my comments in the log. Thak you. 0508vgm_pregunta.txt Share this post Link to post
SupportTeam Report post Posted 05/09/2004 02:17 AM Had a look through the attached trace. Some comments on it below: 220726,31 6 TimeoutSet 1 EV_TIMEOUT_CHECKONSTATE 220726,33 0 cl Bridge_Connect 5, 6 220726,33 0 cl Bridge_Connect sChDlgcName1=dxxxB1C1 as sDevName1=Analog Line 1(dxxxB1C1) 220726,33 0 cl Bridge_Connect sChDlgcName2=dxxxB1C2 as sDevName2=Analog Line 2(dxxxB1C2) =====> bridge was connected succcesfully (I could hear it) 220727,30 6 Timer fired EV_TIMEOUT_CHECKONSTATE 220727,30 6 ScriptEventCode 9007 iLineState=1501 220727,30 6 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 220727,30 6 task completed (shellid=1036, process=1832) 220727,30 6 No information returned from program to VG (no VGRUNRESULT_6.TXT or SHLRESLT.TXT) 220727,30 6 TimeoutClear 220727,30 6 [Record 2] Recording 220727,30 6 rv add [Record 2]{c:\grabacionllamada.wav} To return control to VG from VBScript immediately you can use the Run_ResultReturn COM function. 220815,22 5 cl RvGet RV[OutDial_Result] 220815,22 5 RVreplace start: [$RV[OutDial_Result]] 220815,22 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220815,22 5 RVreplace end: [Contacted_Human] 220815,55 5 cl RvGet $RV_STARTTIME 220815,55 5 RVreplace start: [$RV_STARTTIME] 220815,55 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220815,55 5 RVreplace end: [08/05/2004 10:07:16 p.m.] 220815,83 5 cl RvGet RV[scriptStart_Time] 220815,83 5 RVreplace start: [$RV[scriptStart_Time]] 220815,83 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220815,83 5 RVreplace end: [08/05/2004 10:07:16 p.m.] 220816,44 5 cl RvGet $RV_RINGCOUNT 220816,44 5 RVreplace start: [$RV_RINGCOUNT] 220816,44 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220816,44 5 RVreplace end: [0] 220816,83 5 cl RvGet RV[Conf_5_1] 220816,83 5 RVreplace start: [$RV[Conf_5_1]] =====> Just in case my interpretation of the manual was wrong. Ignore it 220816,83 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220816,83 5 RVreplace end: [] 220817,58 5 cl RvGet RV[Conf_5_2] 220817,58 5 RVreplace start: [$RV[Conf_5_2]] 220817,58 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220817,58 5 RVreplace end: [] 220819,45 5 cl RvGet RV[Conf_LineID_1] 220819,45 5 RVreplace start: [$RV[Conf_LineID_1]] 220819,45 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220819,45 5 RVreplace end: [] ====> Though conference is running, it is not informed here. !!!!!!!!!!!! 220819,98 5 cl RvGet RV[Conf_LineID_2] 220819,98 5 RVreplace start: [$RV[Conf_LineID_2]] 220819,98 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220819,98 5 RVreplace end: [] ====> Though conference is running, it is not informed here !!!!!!!! 220821,58 5 cl RvGet RV[Conf_DevName_1] 220821,58 5 RVreplace start: [$RV[Conf_DevName_1]] 220821,58 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220821,58 5 RVreplace end: [] 220821,89 5 cl RvGet RV[Conf_DevName_2] 220821,89 5 RVreplace start: [$RV[Conf_DevName_2]] 220821,89 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220821,89 5 RVreplace end: [] 220822,19 5 cl RvGet RV[Conf_LineID_1] 220822,19 5 RVreplace start: [$RV[Conf_LineID_1]] 220822,19 5 RVns [partner]{operador}[lineaoper]{102}[OutDial_RetriesLeft]{0}[OutDial_Result]{Cont cted_Human}[scriptEnd_Time]{08/05/2004 10:07:16 p.m.}[scriptEnd_Goto_Script]{c:\telefono\scripts\script conecta oper.vgs}[scriptEnd_Goto_Module]{}[scriptStart_Time]{08/05/2004 10:07:16 p.m.}[scriptStart_CalledFrom_Module]{Play 5}[scriptsPath]{c:\telefono\scripts\} 220822,19 5 RVreplace end: [] 220822,42 5 Timer fired EV_TIMEOUT_GOTOMODULE 220822,42 5 ScriptEventCode 9002 iLineState=1301 220822,42 5 LsGetNbrsRxDigits EV_TIMEOUT_GOTOMODULE 220822,42 5 rv add [pidenro]{} 220822,42 5 AddRVns [pidenro_PathTaken]{timeout} 220822,42 5 TimeoutClear Why are you using $RV[Conf_LineID_1] and $RV[Conf_LineID_2] ? Script trace shows that you do not set/create these RV's beforehand... No RV's are created by VG when the Bridge_Connect COM function is called. I think wht you should do here is to create the RV's yourself using the RvSet COM function - then you will be able to retrieve the values you set i these variables later in the script... Share this post Link to post
Guest Guest Report post Posted 05/09/2004 04:22 AM From the manual. Conference & Call Transfers related Result Variables $RV[Conf_DevName_X] The device name of party X in a conference call. eg: $RV[Conf_DevName_2] would be the device name of device carrying the 2nd leg of a call in the "Dial and Conference" call. $RV[Conf_LineID_X] The Line number of party X in a conference call. eg: $RV[Conf_LineId_2] would be the Line ID number of device carrying the 2nd leg of a call in the "Dial and Conference" call. I thought these variables were created by VG after bridge connect was issued. Must I create them after issuing the command in vb? It would require some effort to check normal completion of bridge operation.... But how can I check that bridge ended well?. It seemed to be natural that such variables were created by VG after normal completion. So, if Vg does not create them, what is the procedure, apart from listening both phones, to verify that bridge is built? Thank you for incredibly fast response. Share this post Link to post
SupportTeam Report post Posted 05/09/2004 05:03 AM Those RV's are set when the "Dial and Conference" option is used in the "Call Transfer" module. No RV's are created when Bridge_Connect COM function is called. You can set whatever RV's your app requires using the RvSet COM command. But how can I check that bridge ended well?. Bridge_Connect COM function returns a string. Empty string means all is OK, otherwise an error message is returned. The example which should be in Help file: set vg = CreateObject("VoiceGuide.CommandLink") sErr = vg.Bridge_Connect("dxxxB1T3", "dxxxB4T1") set vg = Nothing Similar for Bridge_Disconnect... Share this post Link to post
Guest rmonicat Report post Posted 05/09/2004 12:57 PM Thats just what I need. Thank You. Share this post Link to post