Microsoft TAPI (en)
 

Thanks: I turned from Tapi3 into Tapi2


 
Thanks: I turned from Tapi3 into Tapi2 Post Reply
06.05.2008 01:49 carlx

Hi, I would like to thank the newsgroup for the help of the last
month.
Finally, I decided to leave Tapi3 and develop my application (mainly
call monitoring, and transferring through Panasonic PBX) using Tapi2.

Now I'm using Julmar Atapi classes and following "Phone" example.

Bye , have a good week!
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
06.05.2008 12:11 Andreas Marschall [MVP TAPI]

"carlx" schrieb im Newsbeitrag
news:9a77c3cb-ad2e-4f86-914b-4433c4fdf6a0@m3g2000hsc.googlegroups.com...
> Hi, I would like to thank the newsgroup for the help of the last
> month.

carlx, you are welcome.

> Finally, I decided to leave Tapi3 and develop my application (mainly
> call monitoring, and transferring through Panasonic PBX) using Tapi2.
>
> Now I'm using Julmar Atapi classes and following "Phone" example.

Thanks for the feedback.
I guess it is a good decision to use TAPI2 unless you don't need any specific
TAPI3 stuff (e.g. media streaming that is only sufforted by an MSP).

> Bye , have a good week!

Thanks, U2.

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


Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
07.05.2008 22:45 Frank Rizzo

Can either one of you expand on why you would use Tapi2 over Tapi3?
What are the pros and cons of each?  One would think that Tapi3 is
better since it's a maintained version???

Thanks.

Andreas Marschall [MVP TAPI] wrote:
> "carlx" schrieb im Newsbeitrag
> news:9a77c3cb-ad2e-4f86-914b-4433c4fdf6a0@m3g2000hsc.googlegroups.com...
>> Hi, I would like to thank the newsgroup for the help of the last
>> month.
>
> carlx, you are welcome.
>
>> Finally, I decided to leave Tapi3 and develop my application (mainly
>> call monitoring, and transferring through Panasonic PBX) using Tapi2.
>>
>> Now I'm using Julmar Atapi classes and following "Phone" example.
>
> Thanks for the feedback.
> I guess it is a good decision to use TAPI2 unless you don't need any specific
> TAPI3 stuff (e.g. media streaming that is only sufforted by an MSP).
>
>> Bye , have a good week!
>
> Thanks, U2.
>
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
08.05.2008 01:30 carlx

> Can either one of you expand on why you would use Tapi2 over Tapi3?
> What are the pros and cons of each?  One would think that Tapi3 is
> better since it's a maintained version???

I think Andreas will give you some "generic" answers.(or read his very
useful FAQs o his site!)

I'll give you the answer related to the application I have to develop:
I have to control a Panasonic TDA100. This device is controlled
through the TSP server that Panasonic tells
it supports TAPI2.1
I began using TAPI3, but I didn't succeed in some tasks (mainly: call
transfer).
May be this is due to some kind of bugs in panasonic TSP, but
Panasonic won't fix them.

I've heard about some other PBX : almost all "brands" support
TAPI2 ,only a few support TAPI3.
So, if you don't need tapi3 specific features, and you want to develop
library/application which could control
[with a few changes] many kinds of PBXs....
Bye
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
08.05.2008 11:49 Andreas Marschall [MVP TAPI]

"Frank Rizzo" schrieb im Newsbeitrag
news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
> Can either one of you expand on why you would use Tapi2 over Tapi3?
> What are the pros and cons of each?  One would think that Tapi3 is
> better since it's a maintained version???

Frank,
please clarify why TAPI3 should be a maintained version, opposed to TAPI2.

IMO TAPI2 has the most complete feature set compared to TAPI3.
See my TAPI and TSPI FAQ:

Q: Is there a TAPI 2.x to TAPI 3.x Cross-Reference ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_5

Q: Has TAPI3 any advantages over TAPI2 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3_1

Q: Has TAPI3 any disadvantages over TAPI2 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3

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

Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
08.05.2008 17:56 William DePalo [MVP VC++]

"Frank Rizzo" wrote in message
news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
> Can either one of you expand on why you would use Tapi2 over Tapi3? What
> are the pros and cons of each?  One would think that Tapi3 is better since
> it's a maintained version???

You didn't ask me but I'll weigh in anyway. ;-)

As I see it, those who failed to learn the lesson taught in the story of the
three little pigs won't get it, but basically the choice centers one's
ability to deal with complexity. TAPI2 is much harder to understand, to use
and to most of all to get right. But a skilled developer tasked with
building scalable applications and who understands the eventing model of the
platform can make better use of the procedural v2 API.

Of course, if Win32 concepts like I/O completion ports and events which
allow a developer to build scalable applications by not waiting on long
running operations are foreign then the point is moot.

Lastly, the choice of programming language has a bearing as well. TAPI3 is
friendly to Visual Basic "developers" where TAPI2 is flat out hostile to
them because of its reliance on pointers and data structures with variably
sized fields etc.

Regards,
Will
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
09.05.2008 02:21 Matthias Moetje [MVP]

Carl,

> I've heard about some other PBX : almost all "brands" support
> TAPI2 ,only a few support TAPI3.

This is wrong. Every TSP can be used from TAPI3, there is no such
thing like a "TAPI3 TSP".
(there are a few 3.0 features a TSP can support, but that's not required)

Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------  

Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
09.05.2008 02:25 Matthias Moetje [MVP]

Hi,

from my point of view there are two main reasons to use TAPI3:

1. It is COM based, so if you are used to COM programming in C++
or you are using VB, it's the API of choice

2. TAPI3 has DirectShow based media support which let's you do some
tasks easier than with TAPI2.

The downsides of TAPI3 have been explained by the others...


Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------

"Frank Rizzo" wrote in message
news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
> Can either one of you expand on why you would use Tapi2 over Tapi3? What
> are the pros and cons of each?  One would think that Tapi3 is better since
> it's a maintained version???
>
> Thanks.
>
> Andreas Marschall [MVP TAPI] wrote:
>> "carlx" schrieb im Newsbeitrag
>> news:9a77c3cb-ad2e-4f86-914b-4433c4fdf6a0@m3g2000hsc.googlegroups.com...
>>> Hi, I would like to thank the newsgroup for the help of the last
>>> month.
>>
>> carlx, you are welcome.
>>
>>> Finally, I decided to leave Tapi3 and develop my application (mainly
>>> call monitoring, and transferring through Panasonic PBX) using Tapi2.
>>>
>>> Now I'm using Julmar Atapi classes and following "Phone" example.
>>
>> Thanks for the feedback.
>> I guess it is a good decision to use TAPI2 unless you don't need any
>> specific
>> TAPI3 stuff (e.g. media streaming that is only sufforted by an MSP).
>>
>>> Bye , have a good week!
>>
>> Thanks, U2.
>>

Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
09.05.2008 10:47 Frank Rizzo

Andreas Marschall [MVP TAPI] wrote:
> "Frank Rizzo" schrieb im Newsbeitrag
> news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
>> Can either one of you expand on why you would use Tapi2 over Tapi3?
>> What are the pros and cons of each?  One would think that Tapi3 is
>> better since it's a maintained version???
>
> Frank,
> please clarify why TAPI3 should be a maintained version, opposed to TAPI2.

I am not saying that it should be, but it seems like it is.  For
instance, TAPI2 hasn't been updated since Win2k, while TAPI3 has been
updated for WinXP.  There have been TAPI 3.0 and 3.1.

>
> IMO TAPI2 has the most complete feature set compared to TAPI3.
> See my TAPI and TSPI FAQ:
>
> Q: Is there a TAPI 2.x to TAPI 3.x Cross-Reference ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_5
>
> Q: Has TAPI3 any advantages over TAPI2 ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3_1
>
> Q: Has TAPI3 any disadvantages over TAPI2 ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3
>
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
09.05.2008 10:50 Frank Rizzo

Matthias Moetje [MVP] wrote:
> Hi,
>
> from my point of view there are two main reasons to use TAPI3:
>
> 1. It is COM based, so if you are used to COM programming in C++
> or you are using VB, it's the API of choice
>
> 2. TAPI3 has DirectShow based media support which let's you do some
> tasks easier than with TAPI2.
>
> The downsides of TAPI3 have been explained by the others...

No, I haven't heard any real downsides of TAPI3.  Per
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3
, most of the downsides have been fixed in TAPI 3.1

So what are the downsides of TAPI 3?  If there are any (e.g. APIs not
working or what not) , are they due to driver bugs or API bugs?


>
>
> Best regards,
>
> Matthias Moetje
> -------------------------------------
> TAPI WIKI: http://www.tapi.info
> -------------------------------------
> TERASENS GmbH
> Augustenstraße 24
> 80333 Munich, GERMANY
> -------------------------------------
> e-mail: moetje at terasens dot com
> www:   www.terasens.com
> -------------------------------------
>
> "Frank Rizzo" wrote in message
> news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
>> Can either one of you expand on why you would use Tapi2 over Tapi3? What
>> are the pros and cons of each?  One would think that Tapi3 is better since
>> it's a maintained version???
>>
>> Thanks.
>>
>> Andreas Marschall [MVP TAPI] wrote:
>>> "carlx" schrieb im Newsbeitrag
>>> news:9a77c3cb-ad2e-4f86-914b-4433c4fdf6a0@m3g2000hsc.googlegroups.com...
>>>> Hi, I would like to thank the newsgroup for the help of the last
>>>> month.
>>> carlx, you are welcome.
>>>
>>>> Finally, I decided to leave Tapi3 and develop my application (mainly
>>>> call monitoring, and transferring through Panasonic PBX) using Tapi2.
>>>>
>>>> Now I'm using Julmar Atapi classes and following "Phone" example.
>>> Thanks for the feedback.
>>> I guess it is a good decision to use TAPI2 unless you don't need any
>>> specific
>>> TAPI3 stuff (e.g. media streaming that is only sufforted by an MSP).
>>>
>>>> Bye , have a good week!
>>> Thanks, U2.
>>>
>
>
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
10.05.2008 00:47 Andreas Marschall [MVP TAPI]

"Frank Rizzo" schrieb im Newsbeitrag
news:eH3v8yfsIHA.2064@TK2MSFTNGP05.phx.gbl...
> > please clarify why TAPI3 should be a maintained version, opposed to TAPI2.
>
> I am not saying that it should be, but it seems like it is.  For
> instance, TAPI2 hasn't been updated since Win2k, while TAPI3 has been
> updated for WinXP.  There have been TAPI 3.0 and 3.1.

Frank,
an TAPI3 has been downgraded on Vista by removinf H323.TSP and IPconf.TSP :-(
See my TAPI and TSPI FAQ:
Q: What about H323.TSP and IPconf.TSP in Windows® VistaTM ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_What_about

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


Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
10.05.2008 00:51 Andreas Marschall [MVP TAPI]

"Frank Rizzo" schrieb im Newsbeitrag
news:e6tMc0fsIHA.2064@TK2MSFTNGP05.phx.gbl...
> > The downsides of TAPI3 have been explained by the others...
>
> No, I haven't heard any real downsides of TAPI3.  Per
>
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3
> , most of the downsides have been fixed in TAPI 3.1

Frank,
I strongly disagree on your last statement, because these disadvantages are
still present in TAPI 3.1:
·       Partially available Extended Services in TAPI 3.1 don't support
lineDevSpecificFeature function, LINE_DEVSPECIFICFEATURE message from TAPI2

·       LINECALLSTATE_ Constants from TAPI2 are not fully ported to TAPI3
CALL_STATE enums (especially LINECALLSTATE_RINGBACK is missing)

·       CallStateDetail (LINEBUSYMODE_, LINECONNECTEDMODE_, LINEDIALTONEMODE_,
LINEOFFERINGMODE_, LINESPECIALINFO_, LINEDISCONNECTMODE_ Constants) from TAPI2
LINE_CALLSTATE message only partially available in TAPI3 as
CALL_STATE_EVENT_CAUSE enums (only CEC_DISCONNECT_)

·       LINE_LINEDEVSTATE (LINEDEVSTATE_RINGING, ring mode, ring count)
message from TAPI2 only partially available in TAPI3 as ADDRESS_EVENT
AE_RINGING but ring mode, ring count are not available on any TAPI3 interface

·       LINECALLSTATUS.tStateEntryTime from TAPI2 is not available on any
TAPI3 interface

·       LINEDEVCAPS.ProviderInfo / PHONECAPS.ProviderInfo from TAPI2 is not
available on any TAPI3 interface

·       lineGetProviderList from TAPI2 is not available on any TAPI3 interface

·       ITLegacyCallMediaControl::GetID /
ITLegacyCallMediaControl2::GetIDAsVariant / ITLegacyAddressMediaControl::GetID
from TAPI 3.0/3.1 are only available if a call exists as opposed to lineGetID
from TAPI2 were it is possible to retrieve an ID with LINECALLSELECT_LINE

·       APPINFO array (part of LINEDEVSTATUS from TAPI2) has no correspondence
in TAPI3

·       See KB article 841712 - Telephony Application Programming Interface
(TAPI) functionality is not supported from managed code

·       To be continued ...


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


Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
12.05.2008 19:20 Ravi

Hi All,

I am using Cisco TSP 4.1. Does this tsp compatible to TAPI3?

Because i read from one PDF that CISCO TSP doesnot support TAPI3
applications and another one says that lower

version of the TSP does not support TAPI3

Please suggest me in this regards

Ravi

url:http://www.ureader.com/msg/14811932.aspx
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
12.05.2008 18:52 Matthias Moetje [MVP]

Frank,

TAPI3 doesn't have any bugs or non-working APIs. It is just missing
a few features (which Andreas posted).
Though, in my opinion these features are rather unimported in most
cases and we never got any serious problems through these omissions
in our TAPI3 development.


Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------

"Frank Rizzo" wrote in message
news:e6tMc0fsIHA.2064@TK2MSFTNGP05.phx.gbl...
> Matthias Moetje [MVP] wrote:
>> Hi,
>>
>> from my point of view there are two main reasons to use TAPI3:
>>
>> 1. It is COM based, so if you are used to COM programming in C++
>> or you are using VB, it's the API of choice
>>
>> 2. TAPI3 has DirectShow based media support which let's you do some
>> tasks easier than with TAPI2.
>>
>> The downsides of TAPI3 have been explained by the others...
>
> No, I haven't heard any real downsides of TAPI3.  Per
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Has_TAPI3 ,
> most of the downsides have been fixed in TAPI 3.1
>
> So what are the downsides of TAPI 3?  If there are any (e.g. APIs not
> working or what not) , are they due to driver bugs or API bugs?
>
>
>>
>>
>> Best regards,
>>
>> Matthias Moetje
>> -------------------------------------
>> TAPI WIKI: http://www.tapi.info
>> -------------------------------------
>> TERASENS GmbH
>> Augustenstraße 24
>> 80333 Munich, GERMANY
>> -------------------------------------
>> e-mail: moetje at terasens dot com
>> www:   www.terasens.com
>> -------------------------------------
>>
>> "Frank Rizzo" wrote in message
>> news:OPRX86MsIHA.1872@TK2MSFTNGP04.phx.gbl...
>>> Can either one of you expand on why you would use Tapi2 over Tapi3? What
>>> are the pros and cons of each?  One would think that Tapi3 is better
>>> since it's a maintained version???
>>>
>>> Thanks.
>>>
>>> Andreas Marschall [MVP TAPI] wrote:
>>>> "carlx" schrieb im Newsbeitrag
>>>> news:9a77c3cb-ad2e-4f86-914b-4433c4fdf6a0@m3g2000hsc.googlegroups.com...
>>>>> Hi, I would like to thank the newsgroup for the help of the last
>>>>> month.
>>>> carlx, you are welcome.
>>>>
>>>>> Finally, I decided to leave Tapi3 and develop my application (mainly
>>>>> call monitoring, and transferring through Panasonic PBX) using Tapi2.
>>>>>
>>>>> Now I'm using Julmar Atapi classes and following "Phone" example.
>>>> Thanks for the feedback.
>>>> I guess it is a good decision to use TAPI2 unless you don't need any
>>>> specific
>>>> TAPI3 stuff (e.g. media streaming that is only sufforted by an MSP).
>>>>
>>>>> Bye , have a good week!
>>>> Thanks, U2.
>>>>
>>
Re: Thanks: I turned from Tapi3 into Tapi2 Post Reply
12.05.2008 18:56 Matthias Moetje [MVP]

Andreas,

> ·       See KB article 841712 - Telephony Application Programming
> Interface
> (TAPI) functionality is not supported from managed code

I wouldn't regard this as a TAPI3 downside to TAPI2. The article suggests
using
TAPI2 from C++ with managed extensions. TAPI3 can be perfectly used from
C++ with managed extensions (although the article doesn't mention it).

Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------  

 
 
 Write Us|  Add to favorites
 
 
 ©2007 TERASENS GmbH. All rights reserved. Copyright Notice