cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
175
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Senthil Kumar on 09-03-2009 03:12:16 PM
Hi All,
            I am not getting eTransferCallConf message event when make a Transfer() request . Is eTransferCallConf valid for Transfer() API.
 
Thanks,
Senthil.

Subject: RE: New Message from Senthil Kumar in Computer Telephony Integration Object
Replied by: David Lender on 09-03-2009 03:23:57 PM
Is the transfer succeeding?  Is this a blind transfer of a held call or
a completion of a transfer on a consult call?  Did you get an OK status
back from the transfer method?

Per the CTIOS Developer's Guide, the Transfer()  method

The following events are received by the transfer initiator if this
request is successful:

*OnCallTransferred event

*OnCallEnd event

*OnCallEnd event

*OnAgentStateChange event

*OnTransferCallConf event

The following events will be received if this request fails:

*OnControlFailureConf event



Which Cil and version are you using?

Subject: RE: New Message from Senthil Kumar in Computer Telephony Integration Object
Replied by: Senthil Kumar on 09-03-2009 03:38:40 PM
Thanks for your reply.
i trying consult transfer using Transfer() and getting Ok status. Functinality wise its working fine but OnTransferCallConf event not at all triggered.
 
        Arguments & rArgsWaitParams = Arguments::CreateInstance();
        CWaitObject *pWaitCall = pAgentSession->CreateWaitObject(rArgsWaitParams);
        rArgsWaitParams.AddItem("Event1", eTransferCallConf);
        rArgsWaitParams.AddItem("Event2", eControlFailureConf);
        pWaitCall->SetMask(rArgsWaitParams);

        int iRetVal = pCapiCall->Transfer();
 
        pWaitCall->WaitOnMultipleEvents(REQUEST_WAIT_TIME) == pWaitCall->EVENT_SIGNALED)
 
        Here i am waiting for events. But i am getting TImeout.
 
My CTIOS version is 7.5.1
 
Thanks,
Senthil.

Subject: RE: New Message from Senthil Kumar in Computer Telephony Integration Object
Replied by: David Lender on 09-03-2009 03:54:57 PM
Where are you placing this code?

>From the Developers Guide
WarningYou must not use a WaitObject instance within an event handler.
Events are sent to desktop applications by a single thread in the CIL.
If that thread is blocked while waiting for a specific event, the thread
will deadlock and the event handler will not receive any more events.


What timeout are you using?  The default is infinite so you would not
time out.

You can try posting your CIL log of the transfer and I will take a look.
You could have another event handler blocking this event.

Subject: RE: New Message from Senthil Kumar in Computer Telephony Integration Object
Replied by: Senthil Kumar on 09-03-2009 04:27:32 PM
if WaitOnMultipleEvents is not advisable. Then how to get the conf messages from CTIOS. Could you  give some samples.
 
 
Thanks,
Senthil.

Subject: RE: New Message from Senthil Kumar in Computer Telephony Integration Object
Replied by: David Lender on 09-03-2009 05:38:57 PM
You implement an event handler for each event.    You might want to look
at the C++ sample in the CTIOS Toolkit Win32 Cil.
What is the scenario?  Are you creating an agent desktop?  You should
use button enablement events.  Any processing for a transfer
confirmation should be processed in that event handller.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links