1. Party A goes off-hook
|
NewCallEvent,
CH = C1,
GCH = G1,
Calling = A,
Called = NP,
OrigCalled = NP,
LR = NP,
State = Dialtone,
Origin = OutBound,
Reason = Direct,
RIU = false
|
LINE_APPNEWCALL
hDevice = A
dwCallbackInstance = 0
dwParam1 = 0
dwParam2 = hCall-1
dwParam3 = OWNER
|
LINECALLINFO (hCall-1)
hLine = A
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A
dwCalledID = NP
dwConnectedID = NP
dwRedirectionID = NP
dwRedirectionID = NP
|
|
CallStateChangedEvent,
CH = C1,
State = Dialtone,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = NP,
OrigCalled = NP,
LR = NP,
RIU = false
|
LINE_CALLSTATE
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = DIALTONE
dwParam2 = UNAVAIL
dwParam3 = 0
|
No change
|
1. Party A goes off-hook
|
Party A’
|
|
|
|
NewCallEvent,
CH = C1,
GCH = G1,
Calling = A’,
Called = NP,
OrigCalled = NP,
LR = NP, S
tate = Dialtone,
Origin = OutBound,
Reason = Direct,
RIU = true
|
LINE_APPNEWCALL
hDevice = A’
dwCallbackInstance = 0
dwParam1 = 0
dwParam2 = hCall-2
dwParam3 = OWNER
|
LINECALLINFO (hCall-2)
hLine = A’
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A’
dwCalledID = NP
dwConnectedID = NP
dwRedirectionID = NP
dwRedirectionID = NP
|
|
CallStateChangedEvent,
CH = C1,
State = Dialtone,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = NP,
OrigCalled = NP,
LR = NP,
RIU = true
|
LINE_CALLSTATE
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 = CONNECTED
dwParam2 = INACTIVE
dwParam3 = 0
|
No change
|
2. Party A dials Party B
|
Party A
|
|
|
|
CallStateChangedEvent,
CH = C1,
State = Dialing,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = NP,
OrigCalled = NP,
LR = NP,
RIU = false
|
LINE_CALLSTATE
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = DIALING
dwParam2 = 0
dwParam3 = 0
|
No change
|
|
Party A’
|
|
|
|
None
|
None
|
None
|
3. Party B accepts call
|
Party A
|
|
|
|
CallPartyInfoChangedEvent,
CH = C1,
CallingChanged = False,
Calling = A,
CalledChanged = true,
Called = B,
Reason = Direct,
RIU = false
|
Ignored
|
No change
|
|
CallStateChangedEvent,
CH = C1,
State = Proceeding,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = B,
OrigCalled = B,
LR = NP,
RIU = false
|
LINE_CALLSTATE
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = PROCEEDING
dwParam2 = 0
dwParam3 = 0
LINE_CALLINFO
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 =
CALLERID, CALLEDID
dwParam2 = 0
dwParam3 = 0
|
LINECALLINFO (hCall-1)
hLine = A
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A
dwCalledID = B
dwConnectedID = NP
dwRedirectionID = NP
dwRedirectionID = NP
|
|
CallStateChangedEvent,
CH = C1,
State = Ringback,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = B,
OrigCalled = B,
LR = NP,
RIU = false
|
LINE_CALLSTATE
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = RINGBACK
dwParam2 = 0
dwParam3 = 0
|
No change
|
3. Party B accepts call (continued)
|
Party A’
|
|
|
|
CallPartyInfoChangedEvent,
CH = C1,
CallingChanged = False,
Calling = A’,
CalledChanged = true,
Called = B,
Reason = Direct,
RIU = true
|
Ignored
|
No change
|
|
CallStateChangedEvent,
CH = C1,
State = Proceeding,
Cause = CauseNoError,
Reason = Direct,
Calling = A’,
Called = B,
OrigCalled = B,
LR = NP,
RIU = true
|
LINE_CALLSTATE
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 = CONNECTED
dwParam2 = INACTIVE
dwParam3 = 0
LINE_CALLINFO
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 =
CALLERID, CALLEDID
dwParam2 = 0
dwParam3 = 0
|
LINECALLINFO (hCall-2)
hLine = A’
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A’
dwCalledID = B
dwConnectedID = NP
dwRedirectionID = NP
dwRedirectionID = NP
|
|
CallStateChangedEvent,
CH = C1, State = Ringback,
Cause = CauseNoError,
Reason = Direct,
Calling = A’, Called = B,
OrigCalled = B,
LR = NP, RIU = true
|
LINE_CALLSTATE
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 = CONNECTED
dwParam2 = INACTIVE
dwParam3 = 0
|
No change
|
4. Party B answers call
|
Party A
|
|
|
|
CallStateChangedEvent,
CH = C1,
State = Connected,
Cause = CauseNoError,
Reason = Direct,
Calling = A,
Called = B,
OrigCalled = B,
LR = NP,
RIU = false
|
LINE_CALLSTATE
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = CONNECTED
dwParam2 = ACTIVE
dwParam3 = 0
LINE_CALLINFO
hDevice = hCall-1
dwCallbackInstance = 0
dwParam1 = CONNECTEDID
dwParam2 = 0, dwParam3 = 0
|
LINECALLINFO (hCall-1)
hLine = A
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A
dwCalledID = B
dwConnectedID = B
dwRedirectionID = NP
dwRedirectionID = NP
|
|
Party A’
|
|
|
|
CallStateChangedEvent, CH = C1,
State = Connected,
Cause = CauseNoError,
Reason = Direct,
Calling = A’,
Called = B,
OrigCalled = B,
LR = NP,
RIU = true
|
LINE_CALLSTATE
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 = CONNECTED
dwParam2 = INACTIVE
dwParam3 = 0
LINE_CALLINFO
hDevice = hCall-2
dwCallbackInstance = 0
dwParam1 = CONNECTEDID
dwParam2 = 0, dwParam3 = 0
|
LINECALLINFO (hCall-2)
hLine = A’
dwCallID = T1
dwOrigin = OUTBOUND
dwReason = DIRECT
dwCallerID = A’
dwCalledID = B
dwConnectedID = B
dwRedirectionID = NP
dwRedirectionID = NP
|