Solved

SIPTAPI Windows 8

Posted on 2013-01-22
5
1,382 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

829 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