Jump to content


< Back to Forum


 

How To Get Other Leg Start Conection Timestamp As Variable Using "


  • Please log in to reply

#1 Maciej 27 January 2016 - 06:33 PM

1. How to get other leg start conection timestamp as Variable using "transfer" module?

 

I try to use status to choose path:

on {OTHER_LEG_CONNECTED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_DISCONNECTED} goto [connecting result fa= busy]

but VG shows something like:

092643.508   7  58  20       ktTel_MakeCall_Enqueue([502131638],CONNECT_IMMEDIATELY, 60,0,2,222054619,<calltype>DialAndConf</calltype><CallerId>222054619</CallerId>) call
092643.508   7  58  20       q_tel +     cmd_MakeCall 0 [0,2,60,0,0][222054619|<calltype>DialAndConf</calltype><CallerId>222054619</CallerId>|502131638|CONNECT_IMMEDIATELY|]

I think CONNECT_IMMEDIATELY cancelling other leg status detection.

 

 

 

 

 

2. How to transfer call like "blind transfer" in VBscript and follow Run_ResultReturn depend of call result?

 

set vg = CreateObject("vgServices.CommandLink")
vg.Dialer_MakeCall "0,5551234", "", "$RV_LINEID", ""
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing

 

 

We need 3 data:

1. dialout status (connected, disconnected, timeout),

2. when dialout connected - start timestamp,

3. action path depending call status (connected, disconnected, timeout)



#2 Maciej 27 January 2016 - 07:55 PM

Hi, I found "Dial And Conference" in transfer module should acting depend of transfer status (no "success" path)

103344.634   7   2   1 state [Dialout_Transfer_Target_blind] Blind Dial and Connect to 502131638
103344.634   7   2   1 t     timer set   0 sec : EV_TIMEOUT_READYTOBEGINTRANSFER
103344.634   7   2   1       q_scr +     evScriptEvent 9012 EV_TIMEOUT_READYTOBEGINTRANSFER
103344.634   7   2   1       q_scr run   evScriptEvent sCode=[EV_TIMEOUT_READYTOBEGINTRANSFER] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103344.635   7   2   1       se    EV_TIMEOUT_READYTOBEGINTRANSFER 9012  0|0|0  || LineState=LS_XFER_1_START
103344.635   7   2   1       LsXfer_1_Start : 9012(EV_TIMEOUT_READYTOBEGINTRANSFER),EV_TIMEOUT_READYTOBEGINTRANSFER,0,0,0,,,
103344.635   7   2   1       path {EV_TIMEOUT_READYTOBEGINTRANSFER} not found
103344.635   7   2   1       timeout on transfer attempt set by  VG.INI [PBX] AnnouncedTransfersMaxWaitTime (30 sec)
103344.635   7   2   1 t     timer set   30 sec : EV_TIMEOUT_ANNOUNCED_TRANSFER_ATTEMPT_TOOK_TOO_LONG
103344.635   7   2   1 state [Dialout_Transfer_Target_blind] Blind Dial and Connect to 502131638
103344.635   7   2   1       dial  IvrDevState strCID=[], strDialoutOptions=[<CallerId>$RV[CLIP_ID]</CallerId>]
103344.635   7   2   1       dial  sCidSentThisCall=$RV[CLIP_ID] (extracted from strDialoutOptions)
103344.635   7   2   1       rv    replace start [$RV[CLIP_ID]]
103344.635   7   2   1       rv    replace end   [222054619]
103344.635   7   2   1       dial  sCidSentThisCall=[222054619] (post RV replace)
103344.635   7   2   1       rv    replace start [<CallerId>$RV[CLIP_ID]</CallerId>]
103344.636   7   2   1       rv    replace end   [<CallerId>222054619</CallerId>]
103344.636   7   2   1       dial  strDialoutOptions=[<CallerId>222054619</CallerId>] (post RV replace)
103344.636   7   2   1       outbound call announce message not defined. vgm=310 [Dialout_Transfer_Target_blind]
103344.636   7   2   1       setting CONNECT_IMMEDIATELY as iXferType = XT_DC_BLIND
103344.636   7   2   1       calling FindFreeLine
103344.636   7               Search for free ports in list [30,29,28,27,26,25,24,23,22,21,20] src=XferDialAndConf
103344.636   7   2   1       CallExistsOnLine true (connected) crn=280002a
103344.636   7   4   2       dial  device [dxxxB1C2,dtiB1T2] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.636   7   7   3       dial  device [dxxxB1C3,dtiB1T3] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.636   7  10   4       dial  device [dxxxB1C4,dtiB1T4] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.636   7  13   5       dial  device [dxxxB2C1,dtiB1T5] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.636   7  16   6       dial  device [dxxxB2C2,dtiB1T6] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  19   7       dial  device [dxxxB2C3,dtiB1T7] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  22   8       dial  device [dxxxB2C4,dtiB1T8] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  25   9       dial  device [dxxxB3C1,dtiB1T9] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  28  10       dial  device [dxxxB3C2,dtiB1T10] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  31  11       dial  device [dxxxB3C3,dtiB1T11] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  34  12       dial  device [dxxxB3C4,dtiB1T12] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  37  13       dial  device [dxxxB4C1,dtiB1T13] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  40  14       dial  device [dxxxB4C2,dtiB1T14] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  43  15       dial  device [dxxxB4C3,dtiB1T15] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  46  16       dial  device [dxxxB4C4,dtiB1T16] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  49  17       dial  device [dxxxB5C1,dtiB1T17] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.637   7  52  18       dial  device [dxxxB5C2,dtiB1T18] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.638   7  55  19       dial  device [dxxxB5C3,dtiB1T19] not in selection list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.638   7  58  20       dial  FindFreeLine: reserving - found in comma delimited id list [,30,29,28,27,26,25,24,23,22,21,20,]
103344.638   7   2   1       dial  found free dev=20 (iLid=2 => iLid_OutboundLeg= 58)
103344.638   7   2   1       dial  str2LineRecordToThisFile=[]
103344.638   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 => 20 502131638
103344.638   7  58  20       rv    clear all
103344.638   7  58  20       Issue_MakeCall begin
103344.638   7  58  20       L1_set Dialing (iState=LS_NULL_AWAITINGCALLS)
103344.638   7  58  20       L2_set Running_Dialing  (called from Issue_MakeCall)
103344.638   7  58  20       rvns  add   OutDial_Result|NOTCONTACTED
103344.638   7  58  20       ktTel_MakeCall_Enqueue([502131638],CONNECT_IMMEDIATELY, 60,0,2,222054619,<calltype>DialAndConf</calltype><CallerId>222054619</CallerId>) call
103344.639   7  58  20       q_tel +     cmd_MakeCall 0 [0,2,60,0,0][222054619|<calltype>DialAndConf</calltype><CallerId>222054619</CallerId>|502131638|CONNECT_IMMEDIATELY|]
103344.639   7   2   1       moh file not specified
103344.639   8  58  20       q_tel run   cmd_MakeCall 0 00:00:00 max:30|00:00:01.3230756
103344.639   7   2   1 t     timer set   3600 sec : EV_TIMEOUT_HANGUP
103344.639   7  58  20 t     timer set   3600 sec : EV_TIMEOUT_HANGUP
103344.639   7   2   1       sRvOutboundLeg=, strDialoutOptions=<CallerId>222054619</CallerId>
103344.639   7   2   1       outbound leg is non-analog. 'Connect immediately' call progress option selected
103344.639   7  58  20       bridge immediately and go down success path as isdn or VoIP used.
103344.639   7   2   1       TwoCalls_Bridge 2<=>58  (dtiB1T1<=>dtiB1T20)
103344.639   7   2   1       TwoCalls_Bridge iConferenceOtherLegLid_crn set to crn_CurrentConnected 280002a
103344.639   7  58  20       TwoCalls_Bridge iConferenceOtherLegLid_crn set to crn_CurrentMakeCallAttempt 0
103344.639   7   2   1       rvns  add   TsRoutedTo|58
103344.639   7  58  20       rvns  add   TsRoutedTo|2
103344.640   7  58  20       rvns  add   Conf_DevName_1|dtiB1T1
103344.640   7  58  20       rvns  add   Conf_LineId_1|2
103344.640   7  58  20       rvns  add   Conf_LineNbr_1|1
103344.640   7  58  20       rv    add   Conf_DevName_2|dtiB1T20
103344.640   7  58  20       rv    add   Conf_LineId_2|58
103344.641   7  58  20       rv    add   Conf_LineNbr_2|20
103344.641   8  58  20 ev    ktTel_Completion (genericEv) 10000 0,Completion_MakeCall, crn=280002b, 41943083,0,0,502131638,222054619,<result>ok</result><crn>41943083</crn><crnx>280002b</crnx>
103344.641   7   2   1       rvns  add   Conf_DevName_1|dtiB1T1
103344.641   8  58  20 WARN  ListEvents_Add clsCdrBag for crn 0x280002b not found
103344.641   7   2   1       rvns  add   Conf_LineId_1|2
103344.641   8  58  20       q_scr +     evktTelCompletion 0 Completion_MakeCall
103344.641   7   2   1       rvns  add   Conf_LineNbr_1|1
103344.641   7   2   1       rv    add   Conf_DevName_2|dtiB1T20
103344.641   7   2   1       rv    add   Conf_LineId_2|58
103344.642   7   2   1       rv    add   Conf_LineNbr_2|20
103344.642   7   2   1       rvns  add   Dialout_Transfer_Target_blind_DevName_1|dtiB1T1
103344.642   7   2   1       rvns  add   Dialout_Transfer_Target_blind_LineId_1|2
103344.642   7   2   1       rvns  add   Dialout_Transfer_Target_blind_LineNbr_1|1
103344.642   7   2   1       rv    add   Dialout_Transfer_Target_blind_DevName_2|dtiB1T20
103344.642   7   2   1       rv    add   Dialout_Transfer_Target_blind_LineId_2|58
103344.643   7   2   1       rv    add   Dialout_Transfer_Target_blind_LineNbr_2|20
103344.643   7               q_tel +     cmd_TsRoute 0 [0,0,0,0,0][dtiB1T1||dtiB1T20||]
103344.643   7   2   1       tsroute dtiB1T1<=>dtiB1T20 SC_FULLDUP returned
103344.643   7  58  20       state from iLineId : vgmidx=310, strVgmTitle=Dialout_Transfer_Target_blind
103344.643   7   2   1 state [Dialout_Transfer_Target_blind] in_leg  1 <=> 20 502131638
103344.643   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638
103344.643   8               q_tel run   cmd_TsRoute 0 00:00:00 max:30|00:00:01.3230756
103344.643   7   2   1       Start2LineRecordIfRequried str2LineRecordToThisFile is empty
103344.644   7  58  20       q_scr run   evktTelCompletion sCode=[Completion_MakeCall] iActionID=0, crn=0 [41943083|0|0|0|0][502131638|222054619|<result>ok</result><crn>41943083</crn><crnx>280002b</crnx>|||] 00:00:00.0020001 max:13|00:00:00.1550089
103344.644   7  58  20       OnCompletion_ktTel_MakeCall sRet=[<result>ok</result><crn>41943083</crn><crnx>280002b</crnx>] sCidSentThisCall=[222054619]
103344.644   7  58  20       set crn_CurrentMakeCallAttempt to: 280002b
103344.644   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638 .
103344.653  19  58  20 ev    CallState GCEV_DIALING, crn=280002b, iEvent=0 ,16,0,16, s1:, s2:, s3:]. build_date: 03-Nov-15 22:41:38.24
103344.653  19  58  20       q_scr +     evCallState 0 GCEV_DIALING
103344.653   7  58  20       q_scr run   evCallState sCode=[GCEV_DIALING] iActionID=0, crn=280002b [16|0|16|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103344.653   7  58  20       callstate crn_event=280002b 0|GCEV_DIALING state=16|Dialing calldirection=0 gcCallState=16 [||], ScriptState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE
103344.653   7  58  20       LineEvCallState L1_current=Dialing crn_event=280002b,ev=0,GCEV_DIALING,0, sParam1=
103344.653   7  58  20       LineEvCallState LINECALLSTATE_DIALING begin
103344.653   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638 ..
103344.653   7  58  20 t     timer set   120 sec : EV_TIMEOUT_AFTERDIALING_AWAIT
103345.777  19  58  20 ev    Dialogic 2081,GCEV_ALERTING, crn=280002b, 2081,0,0,,,
103345.777  19  58  20       rvns  add   OutDial_Result|NOANSWER
103345.777  19  58  20       L1_set Alerting (iState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE)
103345.777  19  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638 ...
103345.777  19  58  20       q_scr +     evScriptEvent 2081 GCEV_ALERTING
103345.778   7  58  20       q_scr run   evScriptEvent sCode=[GCEV_ALERTING] iActionID=0, crn=280002b [2081|0|0|0|0][|||||] 00:00:00.0010001 max:13|00:00:00.1550089
103345.778   7  58  20       se    GCEV_ALERTING 2081  2081|0|0  || LineState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE
103345.778   7  58  20       LsXfer_7_dc_WaitOutcomeOutgoingCall_OutLeg : 2081,GCEV_ALERTING,2081,0,0,,,
103345.778   7  58  20       LsXfer_7_dc_WaitOutcomeOutgoingCall_OutLeg pass event to InLeg. sCode=GCEV_ALERTING
103345.778   7   2   1       q_scr +     evScriptEvent 2081 OTHER_LEG_GCEV_ALERTING
103345.778   7   2   1       q_scr run   evScriptEvent sCode=[OTHER_LEG_GCEV_ALERTING] iActionID=0, crn=0 [2081|0|0|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103345.778   7   2   1       se    OTHER_LEG_GCEV_ALERTING 2081  2081|0|0  || LineState=LS_XFER_9_WAITENDCALL_RequestXferSide
103345.778   7   2   1       LsXfer_9_WaitEndCall_InLeg : 2081(EV_UNKNOWN_2081),OTHER_LEG_GCEV_ALERTING,2081,0,0,,, (iModuleIdx=310)
103345.778   7   2   1       LsXfer_9_WaitEndCall_InLeg OTHER_LEG_ type event
103345.778   7   2   1       LsXfer_9_WaitEndCall_InLeg leg2 type event unhandled
103352.638  19  58  20 ev    CallState GCEV_CONNECTED, crn=280002b, iEvent=0 ,256,2,4, s1:, s2:, s3:]. build_date: 03-Nov-15 22:41:38.24
103352.638  19  58  20       q_scr +     evCallState 0 GCEV_CONNECTED
103352.638   7  58  20       q_scr run   evCallState sCode=[GCEV_CONNECTED] iActionID=0, crn=280002b [256|2|4|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103352.638   7  58  20       callstate crn_event=280002b 0|GCEV_CONNECTED state=256|Connected calldirection=2 gcCallState=4 [||], ScriptState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE
103352.638   7  58  20       LineEvCallState L1_current=Alerting crn_event=280002b,ev=0,GCEV_CONNECTED,2, sParam1=
103352.638   7  58  20       LineEvCallState LINECALLSTATE_CONNECTED begin
103352.639   7  58  20       set crn_connected=280002b (called from LINECALLSTATE_CONNECTED)
103352.639   7  58  20       L1_set Connected (iState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE)
103352.639   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638 ... connected
103352.639   7  58  20       rv    add   $RV_STARTTIME|2016-01-27 10:33:52
103352.639   7  58  20       rv    add   $RV_DEVICEID|58
103352.639   7  58  20       rv    add   DlgcVoice|dxxxB5C4
103352.639   7  58  20       rv    add   DlgcNetwork|dtiB1T20
103352.639   7  58  20       rv    add   $RV_CIDNAME|
103352.640   7  58  20       rv    add   DNIS|
103352.640   7  58  20       rv    add   ISDN_SETUP|
103352.640   7  58  20       rvns  add   PathApp|C:\Program Files (x86)\VoiceGuide
103352.640   7  58  20       rvns  add   PathVoiceGuide|C:\Program Files (x86)\VoiceGuide
103352.640   7  58  20       rv    ScriptsPath could not be set as LineState[iLineId].iVgsIdx = 0 in InitSeedRvs
103352.640   7  58  20       rv    add   $RV_DIALEDNUMBER|502131638
103352.640   7  58  20       LineEvCallState_Connected_OutBound crn=280002b, L2script=Running_Dialing
103352.641   7  58  20       rvns  add   OutDial_Result|ANSWERED
103352.641   7  58  20       L2_set Running_Normal  (called from LineEvCallState_Connected_OutBound)
103352.641   7  58  20       cCallCdrData.dateCallAnswerTime already set to 2016-01-27 10:33:52
103352.641   7  58  20       connected event : this is the outgoing leg of trombone transfer (state=waitoutcome)
103352.641   7  58  20       q_scr +     evScriptEvent 0 CONNECTED
103352.641   7  58  20       q_scr run   evScriptEvent sCode=[CONNECTED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103352.641   7  58  20       se    CONNECTED 0  0|0|0  || LineState=LS_XFER_7_WAITOUTCOMEOUTGOINGCALL_DIALINGSIDE
103352.641   7  58  20       LsXfer_7_dc_WaitOutcomeOutgoingCall_OutLeg : 0,CONNECTED,0,0,0,,,
103352.641   7  58  20       iOtherLegLid=2, [iOtherLegLid].vgm=310
103352.641   7  58  20       LsXfer_7_dc_WaitOutcomeOutgoingCall_OutLeg set iState to LS_XFER_9_WAITENDCALL_DialingSide upon CONNECT
103352.641   7   2   1       q_scr +     evScriptEvent 0 OTHER_LEG_CONNECTED
103352.641   7  58  20 t     timer clear (force=False)
103352.642   7   2   1       q_scr +     evScriptEvent 0 XFER_ANN_ACCEPTED
103352.642   7   2   1       q_scr run   evScriptEvent sCode=[OTHER_LEG_CONNECTED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00.0010001 max:13|00:00:00.1550089
103352.642   7   2   1       se    OTHER_LEG_CONNECTED 0  0|0|0  || LineState=LS_XFER_9_WAITENDCALL_RequestXferSide
103352.642   7   2   1       LsXfer_9_WaitEndCall_InLeg : 0(EV_UNKNOWN_0),OTHER_LEG_CONNECTED,0,0,0,,, (iModuleIdx=310)
103352.642   7   2   1       LsXfer_9_WaitEndCall_InLeg OTHER_LEG_ type event
103352.642   7   2   1       LsXfer_9_WaitEndCall_InLeg leg2 type event unhandled
103352.642   7   2   1       q_scr run   evScriptEvent sCode=[XFER_ANN_ACCEPTED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103352.642   7   2   1       se    XFER_ANN_ACCEPTED 0  0|0|0  || LineState=LS_XFER_9_WAITENDCALL_RequestXferSide
103352.642   7   2   1       LsXfer_9_WaitEndCall_InLeg : 0(EV_UNKNOWN_0),XFER_ANN_ACCEPTED,0,0,0,,, (iModuleIdx=310)
103352.642   7   2   1       call accepted on 2nd leg, while 1st leg alredy in LsXfer_9_WaitEndCall_InLeg
103352.642   7   2   1       TwoCalls_Bridge 2<=>58  (dtiB1T1<=>dtiB1T20)
103352.642   7   2   1       TwoCalls_Bridge iConferenceOtherLegLid_crn set to crn_CurrentConnected 280002a
103352.642   7  58  20       TwoCalls_Bridge iConferenceOtherLegLid_crn set to crn_CurrentConnected 280002a
103352.643   7   2   1       rvns  add   TsRoutedTo|58
103352.643   7  58  20       rvns  add   TsRoutedTo|2
103352.643   7  58  20       rvns  add   Conf_DevName_1|dtiB1T1
103352.643   7  58  20       rvns  add   Conf_LineId_1|2
103352.643   7  58  20       rvns  add   Conf_LineNbr_1|1
103352.643   7  58  20       rv    add   Conf_DevName_2|dtiB1T20
103352.643   7  58  20       rv    add   Conf_LineId_2|58
103352.643   7  58  20       rv    add   Conf_LineNbr_2|20
103352.644   7   2   1       rvns  add   Conf_DevName_1|dtiB1T1
103352.644   7   2   1       rvns  add   Conf_LineId_1|2
103352.644   7   2   1       rvns  add   Conf_LineNbr_1|1
103352.644   7   2   1       rv    add   Conf_DevName_2|dtiB1T20
103352.644   7   2   1       rv    add   Conf_LineId_2|58
103352.644   7   2   1       rv    add   Conf_LineNbr_2|20
103352.644   7   2   1       rvns  add   Dialout_Transfer_Target_blind_DevName_1|dtiB1T1
103352.645   7   2   1       rvns  add   Dialout_Transfer_Target_blind_LineId_1|2
103352.645   7   2   1       rvns  add   Dialout_Transfer_Target_blind_LineNbr_1|1
103352.645   7   2   1       rv    add   Dialout_Transfer_Target_blind_DevName_2|dtiB1T20
103352.645   7   2   1       rv    add   Dialout_Transfer_Target_blind_LineId_2|58
103352.645   7   2   1       rv    add   Dialout_Transfer_Target_blind_LineNbr_2|20
103352.646   7               q_tel +     cmd_TsRoute 0 [0,0,0,0,0][dtiB1T1||dtiB1T20||]
103352.646   7   2   1       tsroute dtiB1T1<=>dtiB1T20 SC_FULLDUP returned
103352.646   7  58  20       state from iLineId : vgmidx=310, strVgmTitle=Dialout_Transfer_Target_blind
103352.646   8               q_tel run   cmd_TsRoute 0 00:00:00 max:30|00:00:01.3230756
103352.646   7   2   1 state [Dialout_Transfer_Target_blind] in_leg  1 <=> 20 502131638
103352.646   7  58  20 state [Dialout_Transfer_Target_blind] out_leg 1 <=> 20 502131638
103352.646   7   2   1       Start2LineRecordIfRequried str2LineRecordToThisFile is empty
103357.219  19  58  20 ev    CallState GCEV_DISCONNECTED, crn=280002b, iEvent=0 ,16384,528,64, s1:, s2:, s3:]. build_date: 03-Nov-15 22:41:38.24
103357.219  19  58  20       q_scr +     evCallState 0 GCEV_DISCONNECTED
103357.219   7  58  20       q_scr run   evCallState sCode=[GCEV_DISCONNECTED] iActionID=0, crn=280002b [16384|528|64|0|0][|||||] 00:00:00 max:13|00:00:00.1550089
103357.219   7  58  20       callstate crn_event=280002b 0|GCEV_DISCONNECTED state=16384|Disconnected calldirection=528 gcCallState=64 [||], ScriptState=LS_XFER_9_WAITENDCALL_DialingSide
103357.219   7  58  20       LineEvCallState L1_current=Connected crn_event=280002b,ev=0,GCEV_DISCONNECTED,528, sParam1=
103357.219   7  58  20       LineEvCallState LINECALLSTATE_DISCONNECTED begin
103357.219   7  58  20       TsReset [LineEvCallState_LINECALLSTATE_DISCONNECTED], OtherLegLid=2
103357.220   7               q_tel +     cmd_TsReset 0 [0,0,0,0,0][dtiB1T20||dtiB1T1||]
103357.220   7  58  20       OtherLegLid_ClearBoth 58 2 caller:LineEvCallState_LINECALLSTATE_DISCONNECTED
103357.220   7   2   1       OtherLegLid_ClearBoth 58 2 caller:LineEvCallState_LINECALLSTATE_DISCONNECTED
103357.220   8               q_tel run   cmd_TsReset 0 00:00:00 max:30|00:00:01.3230756
103357.220   7  58  20       send OTHER_LEG_DISCONNECTED to OtherLegLid=2
103357.220   7   2   1       q_scr +     evScriptEvent 0 OTHER_LEG_DISCONNECTED
103357.220   7  58  20       L1_set Disconnected (iState=LS_XFER_9_WAITENDCALL_DialingSide)
103357.220   7  58  20       in LINECALLSTATE_DISCONNECTED iState=LS_XFER_9_WAITENDCALL_DialingSide
103357.220   7  58  20       HangupCall (LineEvCallState_DISCONNECTED) crn_in=280002b, L1=Disconnected, L2=Running_Normal, lPlayId=0, lRecId=0
103357.220   7  58  20       ccrn_connected=0, crn_NewCallArriving=0, crn_CurrentMakeCall=0, crn_InProcessOfReleasing=280002b
103357.220   7  58  20       rv    add   Hangup Source|LineEvCallState_DISCONNECTED
103357.221   7  58  20       HangupCall sScriptToRunOnHangup=[]
103357.221   7  58  20       no script running on this line. AfterHangup script will not be ran.
103357.221   7  58  20       rv    add   DropCall_Source|
103357.221   7  58  20 state Hanging up... [LineEvCallState_DISCONNECTED]
103357.221   7  58  20       logs not written as LogEntryWritten=1
103357.221   7  58  20       L2_set Idle_WaitingForNextCall  (called from HangupCall)
103357.221   7  58  20 t     timer set   3 sec : EV_TIMEOUT_AFTERIDLE_ALLOWOUT
103357.221   7  58  20       GoOnHoook_IssueDropCall start (crn_in=280002b, crn_connected=0, crn_makecall=0, crn_NewCallArriving=0, crn_InProcessOfReleasing=280002b, L1=Disconnected)
103357.221   7  58  20 t     timer set   20 sec : EV_TIMEOUT_WAITFORIDLEAFTERDropCall
103357.222   7  58  20       set crn_InProcessOfReleasing=280002b
103357.222   7  58  20       not setting crn_CurrentConnected to 0 as crn_CurrentConnected=0 and evnt crn=280002b
103357.222   7  58  20       set crn_connected=0 (called from GoOnHoook_IssueDropCall)
103357.222   7  58  20       q_tel +     cmd_DropCall 280002b [0,0,0,0,0][||||]
103357.222   7  58  20       GoOnHoook_IssueDropCall end
103357.222   7   2   1       q_scr run   evScriptEvent sCode=[OTHER_LEG_DISCONNECTED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00.0020001 max:13|00:00:00.1550089
103357.222   7   2   1       se    OTHER_LEG_DISCONNECTED 0  0|0|0  || LineState=LS_XFER_9_WAITENDCALL_RequestXferSide
103357.222   7   2   1       LsXfer_9_WaitEndCall_InLeg : 0(EV_UNKNOWN_0),OTHER_LEG_DISCONNECTED,0,0,0,,, (iModuleIdx=310)
103357.222   7   2   1       LsXfer_9_WaitEndCall_InLeg OTHER_LEG_ type event
103357.222   7   2   1       LsXfer_9_WaitEndCall_InLeg end of call on leg2 type event
103357.223   7   2   1       path {OTHER_LEG_DISCONNECTED} found (at offset 76)
103357.223   7   2   1       FindNextVgmTitleInPathList: next module title is=[connecting result fa= busy]
103357.223   7   2   1 t     timer clear (force=False)
103357.223   7   2   1       RunModule start Database Query, [connecting result fa= busy], iModuleIdx=261, previous: vgm=310, vgs=3:3
103357.223   7   2   1 state [connecting result fa= busy] DB Query

VG is not looking for paths on following statuses:

on {CONNECTED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_CONNECTED} goto [dialout connecting result fa= connected]
on {ANSWERED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_ANSWERED} goto [dialout connecting result fa= connected]

 

But properly following to next module using path:

on {OTHER_LEG_DISCONNECTED} goto [connecting result fa= busy]

 

WHY?

 

 



#3 SupportTeam 27 January 2016 - 08:46 PM

1. How to get other leg start conection timestamp as Variable using "transfer" module?

 

sReturnValue = vg.RvGet($RV[Conf_LineId_2], "RV_STARTTIME")

 

 

2. How to transfer call like "blind transfer" in VBscript and follow Run_ResultReturn depend of call result?

 

 

The better approach is to stick to using the Transfer Module.  It would be difficult to write a VBScript which does the event monitoring as well.

 

 

We need 3 data:1

1. dialout status (connected, disconnected, timeout),

 

sReturnValue = vg.RvGet($RV[Conf_LineId_2], "RV[OutDial_Result]")

 

 

2. when dialout connected - start timestamp,

 

sReturnValue = vg.RvGet($RV[Conf_LineId_2], "RV_STARTTIME")

 

 

3. action path depending call status (connected, disconnected, timeout)

VG is not looking for paths on following statuses:

on {CONNECTED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_CONNECTED} goto [dialout connecting result fa= connected]
on {ANSWERED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_ANSWERED} goto [dialout connecting result fa= connected]

 

But properly following to next module using path:

on {OTHER_LEG_DISCONNECTED} goto [connecting result fa= busy]

 

WHY?

 

Can you use a 'Monitored' transfer instead of 'Blind' ?

 

Or maybe add a 'on {Success} goto [....]' path that takes you to a temporary module (eg a 'Play' that does not actually play anything) and have that module look out for "OTHER_LEG_" type events.



#4 Maciej 27 January 2016 - 09:02 PM

Hi guys,

 

 

Sorry, but we need to transfer voice from Other_Line to caller and this is possible in blind mode.

VG should acting depend of status as VG declaring.

 

Please fix this problem as is declared in manual.

 

Using "success" path VG not analyzing call status but forwarding to next module.

Success is not call status but only properly executed task in transfer module.



#5 SupportTeam 28 January 2016 - 12:31 PM

On Blind transfers the 'Success' path is taken regardless of call transfer outcome.

 

On Blind transfers 'Success' state is reached as soon as destination number is dialed.

 

If Blind transfer must be used, and you still want to later find out the transfer outcome then have you tried this suggestion:

Or maybe add a 'on {Success} goto [....]' path that takes you to a temporary module (eg a 'Play' that does not actually play anything) and have that module look out for "OTHER_LEG_" type events.

Could you please change script to use this approach and post trace capturing the transfer.

 

Please ensure that the 'holding' Play module has the paths defined:

 

on {OTHER_LEG_CONNECTED} goto [dialout connecting result fa= connected]
on {OTHER_LEG_ANSWERED} goto [dialout connecting result fa= connected]

on {OTHER_LEG_DISCONNECTED} goto [connecting result fa= busy]



#6 Maciej 28 January 2016 - 05:42 PM

Why transfer module not acting as declared in VG Manual?

When using a Dialogic card the following paths can also be specified in the module:

BUSY
	

number was busy

FAX
	

call was answered by a fax

NOANSWER
	

there was no answer

NODIALTONE
	

there was no dialtone

NORINGBACK
	

call was not answered and no ringback was heard

OPERATOR
	

SIT tone was heard indicating number is most likely disconnected
  	 

CONNECT
	

transfer completed successfully

AM
	

transfer completed successfully with Answering Machine answering the call.

VOICE
	

transfer completed successfully with a live Human answering the call.

CADENCE
	

transfer completed successfully based on cadence analysis.

LOOPCURRENT
	

transfer completed successfully based on loop current detection. 


#7 SupportTeam 28 January 2016 - 07:32 PM

That section relates to analog systems only. NODIALTONE, NORINGBACK, CADENCE, LOOPCURRENT <- all these only apply to analog systems.

 

The help file does not state that now and that section will need to be updated accordingly.



#8 SupportTeam 29 January 2016 - 09:54 AM

The new daily build version below should support a
 

on {OTHER_LEG_CONNECTED} goto [...]

 

path in the Transfer module. So you should be able to remain in the Transfer module without resorting to the "holding Play module" workaround.

 

(the on {CONNECT} goto [...] path should now also work for ISDN transfers as well as analog)

 

 

[old link removed]

 

 

 

Please note that this is just a 'daily' build, not a fully tested release.

 

Please post traces as before if you still encounter any problems.

 

 

To change from one release of VoiceGuide v7 to another:

1. Stop VoiceGuide Service and exit all VoiceGuide programs. (eg Script Designer, Voicemail Manager, etc) and all other programs.

2. Run the VoiceGuide install and install into same directory as existing installation. (Do NOT uninstall the previous VoiceGuide installation).

3. Start  VoiceGuide service.

 

Running a VoiceGuide install over the top of an existing install will NOT overwrite existing configuration or license files (Config.xml, ConfigLine.xml, VG.INI, VmBoxList.xml, etc) and will not remove any of users script or sound files, and will not remove any log files etc



#9 Maciej 29 January 2016 - 11:03 PM

Hi,

 

it looks as VG working properly in blind option in evaluation mode.

 

We start at weekend tests on production servers.



#10 Maciej 05 February 2016 - 07:15 PM

HI,

is that fix included in newest available VG version? or we should to install hdys version?



#11 SupportTeam 05 February 2016 - 07:50 PM

The changes outlined above are currently only available in the 'hdys' version. They will be included in other future releases at later time.



#12 Maciej 05 February 2016 - 08:03 PM

Please add changes ti 7.4 version too



#13 SupportTeam 05 February 2016 - 08:11 PM

New features are only available in new version releases.

 

The changes outlined above will be available in v7.5.2 onward.