Solved

SIPTAPI Windows 8

Posted on 2013-01-22
5
1,355 Views
Last Modified: 2013-02-20
I am trying to install siptapi.tsp on windows 8 without success.
Have copied siptapi.tsp to c:\windows\system32 and try to add it without success.
Attached my customized siptapi.tsp.

siptapi GPL Project

In windows 7 there is no problem.

Whats wrong in windows 8 ?

Seems to be something with tapisrv.exe
siptapi.tsp-renamed2.txt
0
Comment
Question by:wope
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:LifeN-Ti
ID: 38823189
Hi,
Hmm how is it not working exactly? You're not seeing it under the list to add?

Did you also try copying it to:
C:\Windows\SysWOW64
(in addition to \System32 - it needs to be in both)

If I remembered correctly it had to be placed in both, THEN go into Phone & Modem -> Advanced tab -> Add and continue from there. Give that a shot and post back, hopefully it was just that quick addition, good luck!

/edit/
Also, make sure you restart after copying it into the system folders!
0
 
LVL 2

Expert Comment

by:LifeN-Ti
ID: 38828639
If that didn't work or you need any clarification or help with the above just post back:) Good luck & take care!
0
 

Author Comment

by:wope
ID: 38834861
Hi,
I have copied it to c:\windows\SysWOW64 too.
But it was already there?
Seems that windows do it itself.

So
I am able to click the add button,
I see the tapi driver in the selection box.
But when I select it and klick OK nothing happened.

It seems to be some registration problem with svchost.exe?
TSPI_providerUIIdentify() from C:\Windows\System32\svchost.exe

Open in new window

..
0
 

Accepted Solution

by:
wope earned 0 total points
ID: 38892802
The following code-changes in  solves the problem:

/*
  Name: asttapi.cpp
  Copyright: Under the GNU General Public License Version 2 or later (the "GPL")
  Author: Nick Knight
          Klaus Darilion
  Description:
*/

Open in new window


LONG TSPIAPI TSPI_lineNegotiateTSPIVersion(
	DWORD dwDeviceID,
	DWORD dwLowVersion,
	DWORD dwHighVersion,
	LPDWORD lpdwTSPIVersion)
{
	LONG tr = 0;

	if ( dwLowVersion <= TAPI_CURRENT_VERSION ) {
#define MIN(a, b) (a < b ? a : b)

		*lpdwTSPIVersion = MIN(TAPI_CURRENT_VERSION,dwHighVersion);
	}
	else {
		tr = LINEERR_INCOMPATIBLEAPIVERSION;
	}

	return tr;
}

Open in new window


LONG TSPIAPI TSPI_providerEnumDevices(
		DWORD dwPermanentProviderID,
		LPDWORD lpdwNumLines,
		LPDWORD lpdwNumPhones,
		HPROVIDER hProvider,
		LINEEVENT lpfnLineCreateProc,
		PHONEEVENT lpfnPhoneCreateProc)
{
	g_hProvider = hProvider;

	*lpdwNumLines = 1;
	*lpdwNumPhones = 0;
	// won't create line nor phones on the fly so we do not need to store lpfnXXXCreateProcs
	return 0;
}

Open in new window

0
 

Author Closing Comment

by:wope
ID: 38908660
selfservice :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now