cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
255
Views
0
Helpful
1
Replies

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

hongjunzhao
Level 1
Level 1

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 1

a-vazquez
Level 6
Level 6

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