VoiceGuide IVR Software Main Page
Jump to content

Joining Two Calls - Disconnecting

Recommended Posts

In one of our servers we are holding call until end of connection in play module.

 

we join two calls in VBS module:

set vg = CreateObject("vgServices.CommandLink")
vg.Bridge_Connect $RV_LINEID, $RV[call_me_back_lineid]
vg.Run_ResultReturn $RV_LINEID, "Success"
set vg = Nothing
with success connected call.
next we forwarding to empty play module to hold connection on and in play module we set timeout to 3600 seconds but VG disconnecting call after several seconds (maybe default 2 replays and 5 seconds pause)
120114.235 7 25 9 state [utrzymuj połączenie_callback] Playing wav ()
120114.235 7 25 9 q_scr + evScriptEvent 8001 EV_PLAY_FINISHED
120114.235 7 25 9 q_scr run evScriptEvent sCode=[EV_PLAY_FINISHED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:4|00:00:00.0170009
120114.235 7 25 9 se EV_PLAY_FINISHED 8001 0|0|0 || LineState=LS_PLAY_PLAYMSG
120114.235 7 25 9 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED
120114.235 7 25 9 path {EV_PLAY_FINISHED} not found
120114.235 7 25 9 rvns add utrzymuj połączenie_callback_LastPos|-1
120114.236 7 25 9 iCurrReplayCount=2, iMaxReplayCount=2
120114.236 7 25 9 t timer set 10 sec : EV_TIMEOUT_HANGUP
120114.236 7 25 9 t timer set 3600 sec : EV_TIMEOUT_GOTOMODULE
both side of connection was disconnected (bridge disconnected) but stay in play modules ...
In other module the same script this play module working properly (during recording call):
120139.585 7 34 12 state [Wait till end of recorded call] Playing wav ()
120139.586 7 34 12 q_scr + evScriptEvent 8001 EV_PLAY_FINISHED
120139.586 7 34 12 q_scr run evScriptEvent sCode=[EV_PLAY_FINISHED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:4|00:00:00.0170009
120139.586 7 34 12 se EV_PLAY_FINISHED 8001 0|0|0 || LineState=LS_PLAY_PLAYMSG
120139.586 7 34 12 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED
120139.586 7 34 12 path {EV_PLAY_FINISHED} not found
120139.586 7 34 12 rvns add Wait till end of recorded call_LastPos|-1
120139.586 7 34 12 iCurrReplayCount=2, iMaxReplayCount=2
120139.586 7 34 12 t timer set 10 sec : EV_TIMEOUT_HANGUP
120139.586 7 34 12 t timer set 7200 sec : EV_TIMEOUT_GOTOMODULE
not disconnecting.
VG ver 7.4.

vgEngine_connect.zip

1112_ktTel.zip

Share this post


Link to post

The call on port 9 was ended at 12:02:17 as a Disconnect message was received from the other side of the ISDN connection.

 

The cause supplied was "Normal clearing".

 

Call was ended by remote end, not by VoiceGuide.

692 120217.427  5332  25       ev idx=1147 : evttype=2086(2086), crn=2bc0147, data=03E80D28(08FCFC50), len=28(28) q: 0/30
693 120217.427  5332  25 ev    GCEV_DISCONNECTED crn=2bc0147
694 120217.427  5332  25       gc_ResultValue: event 0x826 received on ldev: 25 - Normal completion
695 120217.427  5332  25       gc_ResultValue: GC_ISDN_LIB 0x826 received on ldev: 25 - Normal clearing
696 120217.427  5332  25       Event_CallState GCEV_DISCONNECTED iLineCallState=16384, hCall=2bc0147|45875527 m_pktTelProxyClient=002E1140
697 120217.427  5332  25 r     CallState GCEV_DISCONNECTED
    Line 9557: 120114.235   7  25   9 state [utrzymuj po³¹czenie_callback] Playing wav ()
    Line 9558: 120114.235   7  25   9       q_scr +     evScriptEvent 8001 EV_PLAY_FINISHED
    Line 9559: 120114.235   7  25   9       q_scr run   evScriptEvent sCode=[EV_PLAY_FINISHED] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:4|00:00:00.0170009
    Line 9560: 120114.235   7  25   9       se    EV_PLAY_FINISHED 8001  0|0|0  || LineState=LS_PLAY_PLAYMSG
    Line 9561: 120114.235   7  25   9       LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED
    Line 9562: 120114.235   7  25   9       path {EV_PLAY_FINISHED} not found
    Line 9563: 120114.235   7  25   9       rvns  add   utrzymuj po³¹czenie_callback_LastPos|-1
    Line 9564: 120114.236   7  25   9       iCurrReplayCount=2, iMaxReplayCount=2
    Line 9565: 120114.236   7  25   9 t     timer set   10 sec : EV_TIMEOUT_HANGUP
    Line 9566: 120114.236   7  25   9 t     timer set   3600 sec : EV_TIMEOUT_GOTOMODULE
    Line 80833: 120217.427  22  25   9 ev    CallState GCEV_DISCONNECTED, crn=2bc0147, iEvent=0 ,16384,0,64, s1:, s2:, s3:]. build_date: 27-Feb-15 13:41:52.12
    Line 80834: 120217.427  22  25   9       q_scr +     evCallState 0 GCEV_DISCONNECTED
    Line 80835: 120217.427   7  25   9       q_scr run   evCallState sCode=[GCEV_DISCONNECTED] iActionID=0, crn=2bc0147 [16384|0|64|0|0][|||||] 00:00:00 max:4|00:00:00.0190011
    Line 80836: 120217.427   7  25   9       callstate crn_event=2bc0147 0|GCEV_DISCONNECTED state=16384|Disconnected calldirection=0 gcCallState=64 [||], ScriptState=LS_PLAY_PLAYMSGFINISHED
    Line 80837: 120217.427   7  25   9       LineEvCallState L1_current=Connected crn_event=2bc0147,ev=0,GCEV_DISCONNECTED,0, sParam1=
    Line 80838: 120217.427   7  25   9       LineEvCallState LINECALLSTATE_DISCONNECTED begin
    Line 80839: 120217.427   7  25   9       L1_set Disconnected (iState=LS_PLAY_PLAYMSGFINISHED)
    Line 80840: 120217.427   7  25   9       in LINECALLSTATE_DISCONNECTED iState=LS_PLAY_PLAYMSGFINISHED
    Line 80841: 120217.427   7  25   9       HangupCall (LineEvCallState_DISCONNECTED) crn_in=2bc0147, L1=Disconnected, L2=Running_Normal, lPlayId=0, lRecId=0
    Line 80842: 120217.427   7  25   9       ccrn_connected=0, crn_NewCallArriving=0, crn_CurrentMakeCall=0, crn_InProcessOfReleasing=2bc0147
    Line 80843: 120217.427   7  25   9       rv    add   Hangup Source|LineEvCallState_DISCONNECTED

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×