b***@gmail.com
2014-05-22 20:28:44 UTC
I have a TAPI application that talks to the Cisco CUCM TSP. The application places a call from a CTI port and when the call is answered it plays a recording. My problem is the call to lineGetDevice ID for the wave driver fails with error LINEERR_OPERATIONFAILED. My code looks like this:
BYTE by[TAPI_MAX_DATA];
VARSTRING* pVS = (VARSTRING*)by;
pVS->dwTotalSize = sizeof(by);
// Get channel information
LONG rc = lineGetID(lineHandle, 0, callHandle, LINECALLSELECT_LINE, pVS, "wave/out");
I also get the same error if I do the same thing using Microsoft's TAPI Browser.
Thanks in advance for your help.
-Ben
BYTE by[TAPI_MAX_DATA];
VARSTRING* pVS = (VARSTRING*)by;
pVS->dwTotalSize = sizeof(by);
// Get channel information
LONG rc = lineGetID(lineHandle, 0, callHandle, LINECALLSELECT_LINE, pVS, "wave/out");
I also get the same error if I do the same thing using Microsoft's TAPI Browser.
Thanks in advance for your help.
-Ben