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

TAPI/TSP C#

424 views
Skip to first unread message

christianselten

unread,
Jan 5, 2010, 3:34:48 AM1/5/10
to
Hello,

I've been programming simple things in C# for a while now. But currently I'm working on a project. What I want to do is detect when there is an incoming phone-call and get the number that's calling me. For so far I tried searching the web for a while but no success.
So there are two things I don't understand:
- How do I add a TSP?
- How do I receive information the signal/TAPI?

Description situation:
When there is a phone-call incoming it first get to a telephone central who will direct it to a telephone. While he redirects it it also sends a signal to the computer. It's a Panasonic telephone central.

I hope someone can give some answer or advice.

Thanks in Advanced,
Christian Selten


Submitted via EggHeadCafe - Software Developer Portal of Choice
Build a Script-Only ASP.NET 2.0 Data Editing Page
http://www.eggheadcafe.com/tutorials/aspnet/274279bd-d101-4925-9857-246a66a85014/build-a-scriptonly-aspn.aspx

Andreas Marschall [exMVP TAPI]

unread,
Jan 5, 2010, 8:27:41 AM1/5/10
to
<Christian Selten> schrieb im Newsbeitrag
news:20101533438...@hotmail.com...

> I've been programming simple things in C# for a while now. But currently
> I'm working on a project. What I want to do is detect when there is an
> incoming phone-call and get the number that's calling me. For so far I
> tried searching the web for a while but no success.
> So there are two things I don't understand:
> - How do I add a TSP?

Christian,
TSPs ar either added manually by the user via Control Pabnel / Phone and
Modem Options / Advanced / Add...
or programmatically via lineAddProvider(), e.g. from a setup.exe.


> - How do I receive information the signal/TAPI?

You want to take a look at the MS samples from P-SDK:
http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html
and the TAPI test tools (with open source) from JulMar:
http://www.julmar.com/tapi/


> Description situation:
> When there is a phone-call incoming it first get to a telephone central
> who will direct it to a telephone. While he redirects it it also sends a
> signal to the computer. It's a Panasonic telephone central.

Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712

Please have a look at the following freely available TAPI2 (#2,3,4) / TAPI3
(#1) wrappers:

#1) JulMar's ITAPI3 - TAPI 3.0 wrapper for .NET 2.0
existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx

#2) JulMar's ATAPI.NET.
TAPI 2.x managed library for application development
http://www.julmar.com/tapi/

#3) Helen Warn's C# TAPI2 Wrapper is now available as version 1.2.0.1 with a
small TestApp both for Visual Studio 2005.
Helen agreed that I put the wrapper and sample on my server for download:
http://www.i-b-a-m.de/AgileSoftwareInc/HelenWarnCsharpTapi2LibraryWrapper_Version_1_2_0_1.zip

#4) Angus Comber's Cuba Control:
http://www.iteloffice.com/products/cti_api.html

--
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.


christianselten

unread,
Jan 11, 2010, 3:47:27 AM1/11/10
to

Thanks Andreas.
I didn't watch to all the things, but it's really useful.
Maybe in the future I got more questions.
Until then I'll be busy with looking through all the stuff.
Thanks again.

Christian Selten

Andreas Marschall [exMVP TAPI] wrote:

<Christian Selten> schrieb im NewsbeitragChristian,TSPs ar either added
05-Jan-10

<Christian Selten> schrieb im Newsbeitrag

Christian,


TSPs ar either added manually by the user via Control Pabnel / Phone and
Modem Options / Advanced / Add...
or programmatically via lineAddProvider(), e.g. from a setup.exe.

You want to take a look at the MS samples from P-SDK:


http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html
and the TAPI test tools (with open source) from JulMar:
http://www.julmar.com/tapi/

Regarding TAPI and .NET see KB article "841712 - Telephony Application


Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712

Please have a look at the following freely available TAPI2 (#2,3,4) / TAPI3
(#1) wrappers:

existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx

TAPI 2.x managed library for application development
http://www.julmar.com/tapi/

small TestApp both for Visual Studio 2005.


Helen agreed that I put the wrapper and sample on my server for download:
http://www.i-b-a-m.de/AgileSoftwareInc/HelenWarnCsharpTapi2LibraryWrapper_Version_1_2_0_1.zip

http://www.iteloffice.com/products/cti_api.html

--
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.

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice

Secure Session State Transfer: ASP to ASP.NET
http://www.eggheadcafe.com/tutorials/aspnet/19f8d04a-6bce-4ee0-8d6e-1ef18cbb92e1/secure-session-state-tran.aspx

Andreas Marschall [exMVP TAPI]

unread,
Jan 11, 2010, 4:15:42 AM1/11/10
to
<Christian Selten> schrieb im Newsbeitrag
news:201011134720...@hotmail.com...

> Thanks Andreas.
> I didn't watch to all the things, but it's really useful.
> Maybe in the future I got more questions.
> Until then I'll be busy with looking through all the stuff.
> Thanks again.

Christian, you are welcome.

--
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):

0 new messages