Re: TSP is not getting Started after installation



On Jul 10, 7:25 pm, Goms.c...@xxxxxxxxx wrote:
On Jul 10, 6:27 pm, "Andreas Marschall [MVP TAPI]"





<Andreas.Marsch...@xxxxxxxxxx> wrote:
<Goms.c...@xxxxxxxxx> schrieb im Newsbeitragnews:c6de5529-5d13-4b9d-bafc-f39aabc6f3a6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

       I have my own TSP. Here after installation with my switch name,
the TSP is not getting started. In the Computer Management under
Telephony Services, my TSP doesn't show any available lines. But if I
delete the provider and add it again using manage providers, then the
TSP is showing all the available lines.
        I guess the problem could  be because of lineInitializeEx(), a
function to be called once, to register our service provider with
TAPI.dll. But I am confused on how to call the function and when to
call the function.
     Is this function be called inside the provider or the application
which uses the service provider?

Gomathy,
a TSP usually doesn't call any TAPI functions.

For installation you need to copy your .TSP file and UI.dll file (if
TUISPI_functions are not integrated in your .TSP file) to /system32/ and then
you need either add it manually via ControlPanel or programatically via
lineAddProvider().

Do you have any tracing capabilities built i n to your TSP?
If not then this highly recommended for *all* TSPI_functions.
Is TSPI_providerInstall() called during installation?
Are TSPI_providerEnumDevices() and TSPI_providerInit() called after
installation?
What do your return in their params, e.g. *lpdwNumLines etc.?

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):http://www.frappr.com/TAPIaroundTheWorld
* 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.

Hi Andreas,

        My tsp file and UI.dll file is copied properly during
installation.
I have implemented TSPI_providerInstall() function but nothing is
written inside it. lineAddProvider() function is not called I guess.
But how the problem is solved when I remove and add the service
provider through control panel?
Now I found out a new issue, the lineNegotiateAPIVersion() returns an
error. This I found using a diagnostic tool we use for our
applications.
This issue is also happening only after the installation and is
resolved after adding the provider through control panel.

Gomathy- Hide quoted text -

- Show quoted text -

Just a correction, lineAddProvider is called during installation. I am
able to view my tsp in the list of providers after installation. But
the lines are not visible.
.



Relevant Pages

  • 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: OLEDB Error
    ... I am able to use the Add Data Source and Add Connection wizards in VS to add a SQL Compact database as a data source, for example, or are you referring to some other functionality you get by adding this registry key yourself? ... I assume that by removing the key and then repairing the SQL Compact installation not fixing it, that VS installs that key so perhaps a repair of VS might return it after it's removed. ... the OleDb support in SQL Compact doesn't ... Also the SQLCE OleDB provider does not show up in the listed OleDB ...
    (microsoft.public.sqlserver.ce)
  • 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: OLEDB Error
    ... I just reread your message and see you are trying to access SQL Compact from Visual Objects. ... If I remove the complete key and repait the SqlCE installation, the OLE DB Provider-entry it is not added. ... the OleDb support in SQL Compact doesn't ... Also the SQLCE OleDB provider does not show up in the listed OleDB ...
    (microsoft.public.sqlserver.ce)
  • RE: Failed MSSCCI installation
    ... the MSSCCI installation went smooth and no error where displayed. ... The error is shown when I try to set the provider on vs 2003 ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.setup)