Solved

SIPTAPI Windows 8

Posted on 2013-01-22
5
1,403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

626 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