Solved

SIPTAPI Windows 8

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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