Am Sonntag, 26. Mai 2013 11:05:27 UTC+2 schrieb Angus:
> A have a switch which exposes a TAPI interface and for a while I have run a TAPI application on 32 bit Windows XP. I installed a 32 bit TAPI driver and I get most TAPI features including Call ID consistent across calls.
>
> However, I recently tested the application on a Windows 7 64 bit PC. I downloaded a special installer for the TAPI driver, and it installed OK. I get TAPI functionality, eg I can make call. But I am getting weird results for the Call ID.
>
> Example internal incoming call which gets answered then dropped I get a Call ID of:
> 4632475
> 22190
> 7
> Above are decimal values - all for the same call!
Angus,
I don't see any pattern in this, even in hex format:
0x0046AF9B
0x000056AE
0x00000007
> This renders the application pretty useless. The system is an Avaya IP Office running tsp file: tspi2w_64.tsp. I am guessing that this must be a 64 bit driver. It was installed using the USER4_2 CD.
Yes, without proper dwCallID it isn't possible to track call movements.
On a x64 OS a TSP has to be x64 too.
You can check the bit-width easily e.g. with Dependeny Walker:
http://www.dependencywalker.com/
Just drag and drop the TSP file into the Depends windows.
For x64 components it displays a 64 right besides the icon in the tree view.
> My application is 32 bit. Do I need to compile my application as 64 bit to get this to work? Anyone any ideas why I am getting this strange behaviour?
In general you can use 32-bit TAPI apps on x64 OS without problem.
E.g. some years ago I ported a 32-bit TSP to x64 and tested it with some 32-bit TAPI test tools from JulMar.
There was no problem on Win7x64 displaying the correct LINECALLINFO.dwCallID with TCMon or Phone.exe.
If you can reproduce the issue with JulMar tools then the bug quite surely is located within the TSP. My guess is an issue with type casting to (DWORD).
--
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
* Please post all messages and replies to the group 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.