Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Why do I get wrong return-value when I use lineNegotiateExtVersion?

Hi anyone:

Follow is the example included in Cisco provided at

http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/3_1/tapi/tap_exmp.htm

DWORD retExtVersion;

if (bTermMedia) {

TRESULT tr3;

tracer->tracef(SDI_LEVEL_DETAILED,

"TAC: lineNegotiateExtVersion - appHandle = %d, deviceID = %d, API ver = %d,

HiVer = %d, LoVer = %d\n", CtLine::GetAppHandle(), lineID,

CtLine::GetApiVersion(lineID),

0x80000000 | 0x00010000L,

0x80000000 | 0x00020000L );

tr3=::lineNegotiateExtVersion(CtLine::GetAppHandle(),

lineID, CtLine::GetApiVersion(lineID),

0x80000000 | 0x00010000L, // TAPI v1.3,

0x80000000 | 0x00020000L,

&retExtVersion);

but app run here, I found retExtVersion is 0x00000000, I realy don't beleave it,

when I view the debug info at c:\temp(I use Cisco TSP3.1),YES,info is:

12/26/2001 15:04:24.816 CiscoTSP001.tsp| TSPI_lineNegotiateExtVersion() TSPI_lineNegotiateExtVersion returns = 0x00000000

How can I do?

Can anyone tell me how to resolve it?

Thanks

1 REPLY
Silver

Re: Why do I get wrong return-value when I use lineNegotiateExtV

Try developer support central on Cisco’s website at http://www.cisco.com/warp/public/570/avvid/

119
Views
0
Helpful
1
Replies
CreatePlease to create content