Re: Writing a TSP: Assigning Users

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 04/13/04


Date: Tue, 13 Apr 2004 11:54:31 +0200

Calvin,
I didn't want to confuse you: this permanent array list is an internal
structure of the TAPI MMC.
If you don't get the "Couldn't find the provider in the permanent array list!"
debug output then it seems not to be related to your problem.

So it seems to be related to dynamic creation/removal what is the other
possible case for the "SetDeviceInfo: bad provider/device
IDs (x%x/x%x)" debug output.

Does this problem only occur if you use tapimgmt.msc when TAPISRV is _not_
running or even when it is _already_ running and your TSP is initialized and
has LINE_CREATEd its devices dynamically?

Can you provide some traces / logs from your TSP startup (debug output for
TapiSrv, Tapi32 and a corrsponding TB20.log)?

Is it possible to run your TSP without additional HW?
If so I'd like to run it here to see what happens.

-- 
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.
"Calvin Cestari" <ccestari@electrodynamics.co.za> schrieb im Newsbeitrag
news:c5g8t4$5gn$1@ctb-nnrp2.saix.net...
> Andreas,
>
> permanent array list?  how is a provider added to that list?  My TSP is
> declared in the registry with a correct provider ID and the specified file
> is correct.  My thinking is that if initialization of the file (TSP) is
> successful then it should be added to the permanent list.
>
> I've set the debugging levels for all 3 - TapiSrv, Tapi32 and RemoteSP to
> 0xFF.  Which should be full debugging.
>
> My TSP establishes connection to the telephony server once requested to
> startup.  This startup does'nt take too long but does take longer than the
> TAPI initialization routines therefore I have to call LINE_CREATE as the
> lines are acquired.  This is in effect dynamic creation/removal.
>
> I have not really based much of my TSP on any other TSP but rather gone
> blindly into it and looked at those references whenever I have hit a
> problem.  I will look to the ATSP and Julmar references.
>
> I have not tried to setup the TSP on another server, maybe that would reveal
> some answers.
>
> Thanks again for the help.
> Calvin.
>
> "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de> wrote in
> message news:#6c9g7LIEHA.3988@tk2msftngp13.phx.gbl...
> > Calvin,
> > I've checked some things and TAPISRV dumps "SetDeviceInfo: bad
> provider/device
> > IDs (x%x/x%x)" with dwProviderID, dwPermanentDeviceID (line/phone device).
> > This may occur if TAPI MMC "Couldn't find the provider in the permanent
> array
> > list!" on parsing the the device lists.
> > Did you get that DebugOutputString ?
> > You may need to increase the debug level to 3 to see it.
> > What debug level did you use?
> > Please provide complete DebugOutput.
> >
> > Does your TSP do any dynamic creation / removal of devices?
> > This may also be related to the problem.
> >
> >
> > Btw. can you reproduce the problem on more the on PC?
> >
> > What is the basis your TSP is built on?
> > ATSP.TSP from MS ?
> > JulMar's TSP++ ?
> > If ATSP is the basis you may want to use the original ATSP.TSP as it
> should
> > work and check for differences.


Relevant Pages

  • Re: blank line in Providers section on Advanced tab of Phone and M
    ... I was able to get rid of the empty provider by deleting the registry key. ... on the second computer in my office that is working properly with our NBX ... I know the dialer was working inside Outlook 2003 and my NBX Tapi Dialer ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP is not getting Started after installation
    ... delete the provider and add it again using manage providers, ... Is TSPI_providerInstallcalled during installation? ... TAPI / TSP Developer and Tester ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP is not getting Started after installation
    ... delete the provider and add it again using manage providers, ... Is TSPI_providerInstallcalled during installation? ... TAPI / TSP Developer and Tester ... resolved after adding the provider through control panel. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: IVRS Project
    ... the App must do or what the telephony equipment is etc. ... Tapi is a technology that is quite difficult to get your head around ... provider quirks to come to grips with. ... buffers, and the struct will get populated with offsets into the ...
    (microsoft.public.dotnet.languages.csharp)