Discussion:
lineGetID Fails For Wave Device
(too old to reply)
b***@gmail.com
2014-05-22 20:28:44 UTC
Permalink
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
Andreas Marschall [exMVP TAPI]
2014-09-04 12:43:35 UTC
Permalink
Post by b***@gmail.com
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.
I also get the same error if I do the same thing using Microsoft's TAPI Browser.
Ben,
if you can repro the issue with MS TB20 then it is a likely a TSP issue that you may want to report to the TSP manufacturer.

If the DeviceClass simply isn't available then a LINEERR_NOVICE would be expected, but not a LINEERR_OPERATIONFAILED. This indicates actually an issue.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Loading...