Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Query regarding pre and post init operations

0 views
Skip to first unread message

Mohit

unread,
Dec 26, 2009, 5:56:01 AM12/26/09
to
Hi friends,

I had a query regarding the pre and post init operation held between TAPI
and TSP.

Suppose that Service Provider is not initialized or it is shutdown or
because of some reason the CTI link of the TSP with its hardware is removed
then in that condition, if any function is called by any TAPI application
with reference of the line, phone or address ID belongs to such Service
Provider then what will be the behavior of TAPI?

Will it call the respetive function over TSPI or TAPI itself will respond to
such functions called from any TAPI application?

Thanks,
Mohit

Andreas Marschall [exMVP TAPI]

unread,
Dec 26, 2009, 12:05:50 PM12/26/09
to
"Mohit" <Mo...@discussions.microsoft.com> schrieb im Newsbeitrag
news:C2D2B984-BB3B-478E...@microsoft.com...

Mohit,
"not initialized" / "shutdown" is totally different from "CTI link of the
TSP with its hardware is removed".

In the latter case this issue is solely to handle by the TSP. It should
report this to TAPISV via LINE_LINEDEVSTATE messages regarding
LINEDEVSTATE_OUTOFSERVICE / LINEDEVSTATE_DISCONNECTED.
The TSP has to try to re-establish the CTI-link and should report success
via LINE_LINEDEVSTATE messages regarding LINEDEVSTATE_CONNECTED/
LINEDEVSTATE_INSERVICE.

In the 1st cases:
If a TSP is not initialized or has been shutdown, which is basically the
same, then it is not running and all other TSPs and TAPISRV and any TAPI app
are not running either,
so in this state there cannot be any function call (neither TAPI nor TSPI).
The 1st TAPI app starting (calling TAPI2 lineIntializeEx() or TAPI3
ITTAPI::Initialize()) will automaitically (by OS) launch TAPISRV.
TAPISRV then will load and initialite all installed TSPs.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
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.

0 new messages