Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SIPTAPI Windows 8

Posted on 2013-01-22
5
Medium Priority
?
1,413 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
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 this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

718 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