Re: Any troubleshooting tips for remotesp.tsp?
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Mon, 6 Jun 2005 22:12:47 +0200
<dhey@xxxxxx> schrieb im Newsbeitrag
news:1118085999.842504.256700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> We are developing a Visual C++ application for Windows XP using TAPI
> 3.1 and we are having difficulty obtaining an ITAddress object that is
> associated with the remotesp.tsp service provider.
>
> We are using ITTAPI::EnumerateAddresses and IEnumAddress::Next to
> obtain the ITAddress objects. When we traverse the enumeration and call
> ITAddress::get_ServiceProviderName on each item, however, remotesp.tsp
> does not appear in our tracing.
>
> TCMSetup runs successfully on the client machine. Microsoft Windows
> Remote Service Provider appears in the Windows "Phone and Modem
> Options" and we have found and built some sample code that seems to
> show that remotesp.tsp exists.
>
> Our current theory is that the service provider is not among "addresses
> that are currently available" returned by ITTAPI::EnumerateAddresses
> because of server side configuration problems or communication problems
> between the client and server. (Possibly server to client back channel
> RPC?)
>
> We are trying to investigate this and we would greatly appreciate any
> tips or thoughts?
Don,
what OS/SP is running on the TAPI Server?
If WS2k3 please KB article 824692.
See my TAPI and TSPI FAQ:
Q: What is the Microsoft® TAPI client / server architecture ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_What_is_10
Does the number of ITAddresses (ITCollection::get_Count() on the returned
collection from ITTAPI::get_Addresses()) change when you toggle between
"TCMSetup /C remoteservername" and "TCMSetup /C /D"?
Did you assign any lines on the TAPI Server to the user currently logged in on
the client?
Was the currently logged in user on the client the first user to login or did
you do some user switching?
What start mode is set for Telephony Service in SCM? Manual or Automatic?
What Dependencies does Telephony Service have?
What start modes are set for dependant services in SCM? Manual or Automatic?
Are you using / needing RAS?
You may want to try to disable the RAS services.
Please check with NETSTAT:
Right after a client's attempt to connect run netstat in a command window.
Look for two sockets like the following on the client:
Proto Local Foreign State
TCP CLIENT:xxxx SERVER:nbsession ESTABLISHED
TCP CLIENT:251 SERVER:yyyy ESTABLISHED
And on the server:
Proto Local Foreign State
TCP SERVER:nbsession CLIENT:xxxx ESTABLISHED
TCP SERVER:yyyy CLIENT:251 ESTABLISHED
If you don't see the first connection, or it's not in the
established state, this means the client can't connect to the
server's net bios port (over which the RPC takes place).
Make sure the user has "Access this computer from network"
rights on the server.
The same goes for the second connection. Make sure the account
that TAPISRV runs under on the server has "Access this computer
from network" rights.
You may want to trace the TAPI components on client and server:
You can get logs by
netsh ras set tracing <binary_no_extension> enable
e.g.
netsh ras set tracing tapisrv enable
netsh ras set tracing remotesp enable
netsh ras set tracing tapi32 enable
netsh ras set tracing tapi3 enable
The logs will be available in %windir%\tracing
I think logs are not enabled in w2k retail version, please use XP clients or
a
chk build on w2k to get client side logs.
Also netsh is not available on w2k, you need to set on a chk build the
following under the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\<binary_without_extension>
"EnableFileTracing"=dword:00000001
"EnableConsoleTracing"=dword:00000001
"FileTracingMask"=dword:ffff0000
"ConsoleTracingMask"=dword:ffff0000
"MaxFileSize"=dword:00100000
"FileDirectory"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,\
74,00,72,00,61,00,63,00,69,00,6e,00,67,00,00,00
FileDirectory is a REG_EXPAND_SZ set to %windir%\tracing
This is "the common Tracing API that provides a uniform mechanism for
generating diagnostic output for the RRAS components as well as any other
applications that wish to use tracing."
Trace Flags are defined as below
#define TL_ERROR ((DWORD)0x00010000 | TRACE_USE_MASK)
#define TL_WARN ((DWORD)0x00020000 | TRACE_USE_MASK)
#define TL_INFO ((DWORD)0x00040000 | TRACE_USE_MASK)
#define TL_TRACE ((DWORD)0x00080000 | TRACE_USE_MASK)
#define TL_EVENT ((DWORD)0x00100000 | TRACE_USE_MASK)
Please refer to
http://msdn.microsoft.com/library/en-us/rras/rras/configuration.asp
for more details on the Tracing settings and TRACE_USE_MASK
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- References:
- Any troubleshooting tips for remotesp.tsp?
- From: dhey
- Any troubleshooting tips for remotesp.tsp?
- Prev by Date: Re: what tsp's to use for getting phone state?
- Next by Date: Re: Any troubleshooting tips for remotesp.tsp?
- Previous by thread: Any troubleshooting tips for remotesp.tsp?
- Next by thread: Re: Any troubleshooting tips for remotesp.tsp?
- Index(es):
Relevant Pages
|
Loading