BlindCallTransfer does not complete on 'Alerting'

rated by 0 users
This post has 9 Replies | 2 Followers

Not Ranked
Posts 5
Points 85
Wangsteren Posted: 06-25-2009 8:00 AM

Hi

We have an IVR solution previous built on CAPI interface with Dialogic boards/SoftIP. We have now built a new version based on Diva SDK primarily because we wanted a version made in C#. Also given up a lot af control but having fewer lines and concern :-)

Most of our solution-setups rely on the IVR to put calls in to queues where they will be ringing. Therefore it is vital that a calltransfer can be completed on alerting.

Our problem is that even if we specify that transfer is to completed on alerting, it does not happen. In fact when we specify so, the call transfer never happens :-(

Some of the code:

...

private

 

 

...

DivaCall m_dcCall = null;

m_dcCall = (DivaCall) diDivaInstance.CreateCall();

m_dcCall.EnableDigitDetection = 1;

m_dcCall.TransferUseSameChannel = 1;

m_dcCall.TransferCompleteOnAlerting = 1;

m_dcCall.TransferCompleteOnProceeding = 0;

m_dcCall.TransferNoHold = 0;

m_dcCall.OnSuppServeCompleted +=

 

new _IDivaCallEvents_OnSuppServeCompletedEventHandler

(OnSuppServeCompleted);

...

private

 

 

void BlindTransfer(string sReturnParam)

{

 

   DivaResultCodes drcResult = m_dcCall.BlindCallTransfer(sReturnParam, 70);

   if (drcResult != DivaResultCodes.DivaResultSuccess)

   {

      m_dcCall.Disconnect();

   }

}

...

The first call goes on hold. Nothing is signaled to the application before the transfer-destination answers the call and hangup again (-because there is no-one in the other end). Then the 'OnSuppServeCompleted' method is called due to the 'OnSuppServeCompleted' event from the DivaCall object 'm_dcCall'. The parameter of the event (int bSuccess) is 0 (==false). The first call is still on hold and stays there until we retrieve it.

The calltransfer works out fine if we remove the 'TransferCompleteOnAlerting' and the transfer-destination answers the call.

Drivers and SDK version:

Can anyone tell us if we are doing something wrong or if there is a known bug somewhere?

Thanks.

  • | Post Points: 20
Top 10 Contributor
Posts 1,975
Points 21,804
Dialogic Employee

If you can take the SDK trace, and at the same time record the SIP flow with Wireshark then it should be possible to see what is going wrong.

  • | Post Points: 20
Not Ranked
Posts 5
Points 85

Hi Martyn

By 'SDK Trace', do you mean the trace I can make with the Dialogic Diva Diagnostics? If not, can you then specify how to make it?

Thanks.

  • | Post Points: 20
Top 10 Contributor
Posts 1,975
Points 21,804
Dialogic Employee

No, there's a specific trace tool that records the conversation between your app and the SDK.  You can see the instructions here.

  • | Post Points: 20
Not Ranked
Posts 5
Points 85

Hi Martyn

I made a SDK trace. Unfortunately I don't know how to interpret it. Can you help me to understand what to look for and possibly tell me what I do wrong. Thanks.

The scenario:

975 calls IVR (944) who wants to transfer the call to 955.

The Wireshark trace shows normal SIP-signaling as I would expect it to be:

 

Here is the part where I am lost. Below I have put in a part of the quite comprehensive SDK trace file starting from the point where my application have called 'BlindCallTransfer("955",  70)':

[06/26/2009 08:57:32:087] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:32:087] [COM] [CI1] [07b8] [N:00000000] [Thread 1976] Signal Thread Executes
[06/26/2009 08:57:32:087] [COM] [ENT] [07b8] [N:00000000] [Thread 1976] Enter BlindCallTransfer: State 6, Mode=ASYNC
[06/26/2009 08:57:32:087] [COM] [CI1] [07b8] [N:00000000] [Thread 1976] BlindCallTransfer to Number <955>, MaxSecondsToWait 70
[06/26/2009 08:57:32:087] [COM] [CI1] [07b8] [N:00000000] [Thread 1976] BlindCallTransfer Options 0x00000000, Same Channel 0
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaSetCallProperties() Enter: Type=4001, Size=4
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaSetCallProperties() Leave: Result=0
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaSetCallProperties() Enter: Type=4000, Size=4
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaSetCallProperties() Leave: Result=0
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaBlindCallTransfer() Enter, Destination: 955, Options :0x00000000
[06/26/2009 08:57:32:087] [SDK] [DBH] [07b8] [N:05B7C688] CBlindTransfer::AllocateTransfer() New instance allocated.
[06/26/2009 08:57:32:087] [SDK] [DBG] [07b8] [N:05B7C688] BlindTransfer-Event EvBlindTransferInitiate: state change StateBlindTransfer_Idle->StateBlindTransfer_HoldReq
[06/26/2009 08:57:32:087] [SDK] [DBG] [07b8] [C:00000002] Signalling-Event EventInitiateHold: state change StateD_Connected->StateD_HoldInitiated
[06/26/2009 08:57:32:087] [SDK] [DBH] [07b8] [A:049E1390] SendNotification: Event==DivaEventCallProgress, p1==0x00000000, p2==0x00000007
[06/26/2009 08:57:32:087] [SDK] [DBH] [07b8] [I:00000201] FACILITY_REQ (SS_HOLD)
[06/26/2009 08:57:32:087] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:32:087] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventCallProgress, P1=0x00000000, P2=0x00000007
[06/26/2009 08:57:32:087] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 1. Mode=Async, Events enabled=YES, State=6
[06/26/2009 08:57:32:087] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:32:087] [SDK] [DBH] [0b80] [I:00000201] FACILITY_CONF
[06/26/2009 08:57:32:087] [SDK] [API] [07b8] [C:00000002] DivaBlindCallTransfer() Leave with result 0
[06/26/2009 08:57:32:087] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventFacilityConf: in state StateD_HoldInitiated
[06/26/2009 08:57:32:087] [COM] [LEA] [07b8] [N:00000000] [Thread 1976] Leave BlindCallTransfer with result DivaResultSuccess
[06/26/2009 08:57:32:087] [COM] [CI1] [07b8] [N:00000000] [Thread 1976] Handler returned on Signal Thread
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [I:00010201] DISCONNECT_B3_IND
[06/26/2009 08:57:32:196] [SDK] [DBG] [0b80] [I:00010201] UNBIND FROM CALL [C:00000002]
[06/26/2009 08:57:32:196] [SDK] [DBG] [0b80] [C:00000002] Data-Event EventDisconnectB3Ind: state change StateB_Connected->StateB_Idle
[06/26/2009 08:57:32:196] [SDK] [DBG] [0b80] [C:00000002] ActionProcessDataDisconnect() Enter, pMsg=04F5FCBC, ManualDataChannel=0
[06/26/2009 08:57:32:196] [SDK] [DBG] [0b80] [C:00000002] Process Disconnect, DiscReason=0xc, B3 Reason=0x0
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [C:00000002] CSendJobList::Clear() Remove all
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [C:00000002] CSendJobWaveFile::Deactivate(0x049E2AD0)
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [N:049E2C0C] CWaveFile::Close(C:\MiralixIVR.NET\SFX\VM_Recordings\2\Hilsen.WAV)
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [N:049E2C0C] CWaveFile::~CWaveFile(NULL)
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [C:00000002] ClearTimer() Event==EventStopDataSending, (0)
[06/26/2009 08:57:32:196] [SDK] [DBH] [0b80] [I:00010201] DISCONNECT_B3_RESP
[06/26/2009 08:57:32:196] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventDataChannelDown: in state StateD_HoldInitiated
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [I:00000201] FACILITY_IND selector=3
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventFacilityInd: in state StateD_HoldInitiated
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000002] ActionProcessFacilityInd() Selector=3, Parameter length=5
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventHold: state change StateD_HoldInitiated->StateD_OnHold
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [N:05B7C688] BlindTransfer-Event EvBlindTransferPrimaryOnHold: state change StateBlindTransfer_HoldReq->StateBlindTransfer_ConnectReq
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000000] CSendJobList::Clear() Remove all
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000000] ClearTimer() Event==EventStopDataSending, (0)
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000000] CSendJobList::Clear() Remove all
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000000] ClearTimer() Event==EventStopDataSending, (0)
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [L:00000001] CLine::GetFreeCall() Allocate new call object [C:00000003] / 05B7E640
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [L:00000001] ReserveCall: [A:049E1390], [C:00000003], line device 1
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [C:00000003] ActionBT_InitSecondary() Allocate new outgoing call for transfer
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [C:00000003] AllocateDivaCallHandle: BIND TO SDK CALL HANDLE [E:049E2860]
[06/26/2009 08:57:32:243] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventDial: state change StateD_Idle->StateD_WaitPLCI
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000003] CONNECT_REQ: Ctrl=1, MsgNr=0x0024
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000003] StartTimer() mSec==70000, Event==EventNoAnswerTimer
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [C:00000003] Start no answer timer of 70 seconds
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [A:049E1390] SendNotification: Event==DivaEventHoldCompleted, p1==0x00000000, p2==0x00000000
[06/26/2009 08:57:32:243] [SDK] [DBH] [0b80] [I:00000201] FACILITY_RESP
[06/26/2009 08:57:32:243] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:32:243] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventHoldCompleted, P1=0x00000000, P2=0x00000000
[06/26/2009 08:57:32:243] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 17. Mode=Async, Events enabled=YES, State=6
[06/26/2009 08:57:32:243] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Hold completes, Result=0
[06/26/2009 08:57:32:243] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:32:274] [SDK] [DBH] [0b80] [I:00000101] CONNECT_CONF Info=0x0000 MsgNr=0x0024
[06/26/2009 08:57:32:274] [SDK] [DBG] [0b80] [I:00000101] BIND TO CALL [C:00000003]
[06/26/2009 08:57:32:274] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventConnectConf: state change StateD_WaitPLCI->StateD_Dialing
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x0018 / ''
[06/26/2009 08:57:32:290] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_Dialing
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x0018
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [C:00000003] AssignedBchannel=31, DataChannel=30
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x800D / 'setup acknowledge'
[06/26/2009 08:57:32:290] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_Dialing
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x800d
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:32:290] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoCallProgress: state change StateD_Dialing->StateD_Proceeding
[06/26/2009 08:57:32:290] [SDK] [DBH] [0b80] [C:00000003] ActionCallProgress () No change in public call state
[06/26/2009 08:57:32:462] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x8002 / 'call proceeding'
[06/26/2009 08:57:32:462] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_Proceeding
[06/26/2009 08:57:32:462] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x8002
[06/26/2009 08:57:32:462] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:32:462] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoCallProgress: in state StateD_Proceeding
[06/26/2009 08:57:32:462] [SDK] [DBG] [0b80] [C:00000003] ActionCallProgress () From 1 to 5
[06/26/2009 08:57:32:555] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x8001 / 'alerting'
[06/26/2009 08:57:32:555] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_Proceeding
[06/26/2009 08:57:32:555] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x8001
[06/26/2009 08:57:32:555] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:32:555] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoCallProgress: in state StateD_Proceeding
[06/26/2009 08:57:32:555] [SDK] [DBG] [0b80] [C:00000003] ActionCallProgress () From 5 to 2
[06/26/2009 08:57:34:712] [SDK] [INF] [0ffc] [N:00000000] Thread detached: Handle=0x04890000, Reason=3
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x8007 / 'connect'
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_Proceeding
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x8007
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] CONNECT_ACTIVE_IND
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventConnectActiveInd: state change StateD_Proceeding->StateD_Connected
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [N:05B7C688] BlindTransfer-Event EvBlindTransferSecondaryReady: state change StateBlindTransfer_ConnectReq->StateBlindTransfer_TransferReq
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [C:00000003] ClearTimer() Event==EventNoAnswerTimer, (1)
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [C:00000003] Stop no answer timer
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] CONNECT_ACTIVE_RESP
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] FACILITY_REQ (SS_SET_INFO_MASK)
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInitiateTransfer: state change StateD_Connected->StateD_TransferInitiated
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Data-Event EventTerminateDataChannel: in state StateB_Idle
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] ActionProcessDataDisconnect() Enter, pMsg=00000000, ManualDataChannel=0
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventDataChannelDown: in state StateD_TransferInitiated
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] FACILITY_REQ (SS_ECT) to PLCI I:00000201
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] FACILITY_CONF
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventFacilityConf: in state StateD_TransferInitiated
[06/26/2009 08:57:36:399] [SDK] [DBH] [0b80] [I:00000101] FACILITY_CONF
[06/26/2009 08:57:36:399] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventFacilityConf: in state StateD_TransferInitiated
[06/26/2009 08:57:41:227] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x8045 / 'disconnect'
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_TransferInitiated
[06/26/2009 08:57:41:227] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x8045
[06/26/2009 08:57:41:227] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoDisconnect: in state StateD_TransferInitiated
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] ActionInfoDisconnect () Outgoing=1, EarlyData=0/0
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInitiateDisconnect: state change StateD_TransferInitiated->StateD_DisconnectPending
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] Data-Event EventTerminateDataChannel: in state StateB_Idle
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] ActionProcessDataDisconnect() Enter, pMsg=00000000, ManualDataChannel=0
[06/26/2009 08:57:41:227] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventDataChannelDown: state change StateD_DisconnectPending->StateD_DisconnectRequested
[06/26/2009 08:57:41:227] [SDK] [DBH] [0b80] [I:00000101] DISCONNECT_REQ
[06/26/2009 08:57:41:243] [SDK] [DBH] [0b80] [I:00000101] DISCONNECT_CONF
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000101] INFO_IND, Info=0x805A / 'release complete'
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventInfoInd: in state StateD_DisconnectRequested
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] ActionProcessInfo, InfoNumber=0x805a
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000101] INFO_RESP
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000101] DISCONNECT_IND
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [I:00000101] UNBIND FROM CALL [C:00000003]
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventDisconnectInd: state change StateD_DisconnectRequested->StateD_Disconnected
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [N:05B7C688] BlindTransfer-Event EvBlindTransferInitRetrieve: state change StateBlindTransfer_TransferReq->StateBlindTransfer_ErrorRetrReq
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventInitiateRetrieve: state change StateD_OnHold->StateD_RetrieveInitiated
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000201] FACILITY_REQ (SS_RETRIEVE)
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] ActionProcessDisconnect: DiscReason=0, SignallingReason=0x3490, DataReason=0, LocalDisc=0
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000101] DISCONNECT_RESP
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000003] Signalling-Event EventRelease: state change StateD_Disconnected->StateD_Idle
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000003] Outgoing call released.
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] CSendJobList::Clear() Remove all
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] ClearTimer() Event==EventStopDataSending, (0)
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] CSendJobList::Clear() Remove all
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [C:00000003] ClearTimer() Event==EventStopDataSending, (0)
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000003] [L:00000001] Release call object [0x05B7E640] to idle queue
[06/26/2009 08:57:41:930] [SDK] [DBH] [0b80] [I:00000201] FACILITY_CONF
[06/26/2009 08:57:41:930] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventFacilityConf: in state StateD_RetrieveInitiated
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00000201] INFO_IND, Info=0x0018 / ''
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventInfoInd: in state StateD_RetrieveInitiated
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [C:00000002] ActionProcessInfo, InfoNumber=0x0018
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [C:00000002] AssignedBchannel=1, DataChannel=1
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00000201] INFO_RESP
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00000201] FACILITY_IND selector=3
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventFacilityInd: in state StateD_RetrieveInitiated
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [C:00000002] ActionProcessFacilityInd() Selector=3, Parameter length=5
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventRetrieved: state change StateD_RetrieveInitiated->StateD_Connected
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [A:049E1390] SendNotification: Event==DivaEventCallProgress, p1==0x00000000, p2==0x00000006
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [A:049E1390] SendNotification: Event==DivaEventCallInfo, p1==0x00000000, p2==0x00000000
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Data-Event EventInitiateDataChannel: state change StateB_Idle->StateB_Allocating
[06/26/2009 08:57:42:133] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventCallProgress, P1=0x00000000, P2=0x00000006
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00000201] CONNECT_B3_REQ
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 1. Mode=Async, Events enabled=YES, State=7
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventCallInfo, P1=0x00000000, P2=0x00000000
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 2. Mode=Async, Events enabled=YES, State=7
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00000201] FACILITY_RESP
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00020201] CONNECT_B3_CONF: Info=0x0000
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [I:00020201] BIND TO CALL [C:00000002]
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Data-Event EventConnectB3Conf: state change StateB_Allocating->StateB_Connecting
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00020201] CONNECT_B3_ACTIVE_IND
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Data-Event EventConnectB3ActInd: state change StateB_Connecting->StateB_Connected
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [I:00020201] CONNECT_B3_ACTIVE_RESP
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [C:00000002] Signalling-Event EventDataChannelUp: in state StateD_Connected
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [N:05B7C688] BlindTransfer-Event EvBlindTransferCleanedUp: state change StateBlindTransfer_ErrorRetrReq->StateBlindTransfer_Idle
[06/26/2009 08:57:42:133] [SDK] [DBG] [0b80] [N:00000000] ActionBT_Completed() pPrimaryCall = 0x05B70048, pSecondaryCall = 0x05B7E640, Result = 19
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [A:049E1390] SendNotification: Event==DivaEventTransferCompleted, p1==0x00000000, p2==0x00000013
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [DBH] [0b80] [A:049E1390] SendNotification: Event==DivaEventRetrieveCompleted, p1==0x00000000, p2==0x00000000
[06/26/2009 08:57:42:133] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventTransferCompleted, P1=0x00000000, P2=0x00000013
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 20. Mode=Async, Events enabled=YES, State=7
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Call Transfer completes, Result=19, Active(B/C)=1/0
[06/26/2009 08:57:42:133] [COM] [CI1] [07b8] [N:00000000] [Thread 1976] Signal Thread Executes
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [API] [0e54] [A:049E1390] DivaGetEvent() Event DivaEventRetrieveCompleted, P1=0x00000000, P2=0x00000000
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Handler called for event 18. Mode=Async, Events enabled=YES, State=7
[06/26/2009 08:57:42:133] [COM] [CI2] [0e54] [N:00000000] [Thread 3668] EVENT: Retrieve completed, Result=0
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [SDK] [DBG] [0e54] [A:049E1390] DivaGetEvent()
[06/26/2009 08:57:42:133] [COM] [ENT] [07b8] [N:00000000] [Thread 1976] Enter Retrieve: Call State 6, SuppServeActive=0, Mode=ASYNC
[06/26/2009 08:57:42:133] [COM] [LEA] [07b8] [N:00000000] [Thread 1976] Call already in connected, return with result DivaResultSuccess

  • | Post Points: 20
Top 10 Contributor
Posts 1,975
Points 21,804
Dialogic Employee

There is a transfercompleted event, so the SDK thinks the transfer has completed. When you say that the transfer isn't working, do you mean that the calls are not connected at the end of the procedure, or is it something about the way you are measuring the success of the operation in the application?

Can you attach the actual wireshark trace, I can't see much from a screen shot?

An alternative to using BlindTransfer would be to use supervised call transfer, which will give you more control over the operation.

 

  • | Post Points: 20
Not Ranked
Posts 5
Points 85

Hi Martyn

In the scenario 955 hangs up at 08:57:41 because there is no-one at the other end (just an IVR line that should transfer the call). I only see something about a 'TransferInitiated' before that point. The calls are never connected. My application will just try to transfer again until 975 hangs up. 975 is just on hold until hang up.

I do miss a REFER request in the Wireshark trace to transfer the call.

I have attached the Wireshark trace in a zip-file as the pcap file extension was not allowed.

I have considered Supervised Call Transfer but I am a bit uncertain how it works in regards to have 2 Call objects and what I should do with the second call before calling the 'SetupSupervisedCallTransfer' method. Besides it looked super easy just calling one method to make a blind transfer :-)

Thanks.

  • | Post Points: 20
Top 10 Contributor
Posts 1,975
Points 21,804
Dialogic Employee

Right, I see the HOLD in the wireshark trace, but no REFER.  Let me check on something...

  • | Post Points: 5
Top 10 Contributor
Posts 1,975
Points 21,804
Dialogic Employee

It's not really clear which component is not doing its job.  We'll need to collect some more trace information (CAPI and SIP service).  Please open a problem with the contact center, and they'll give you further instruction.

  • | Post Points: 20
Not Ranked
Posts 5
Points 85

Hi Martyn

OK. Will do.

Thank you for your time.

  • | Post Points: 5
Page 1 of 1 (10 items) | RSS