|
|
|
date: Wed, 11 Jun 2008 22:58:58 +0200,
group: microsoft.public.win32.programmer.tapi
back
Re: unique ID for every call
Carsten,
with TAPI3 you only option is to compare the object pointers
of ITCallInfo, e.g. in VB6:
If objCall Is objMyCall1 Then.....
Or you could use ObjPtr(objCall).
I am not sure if this will work with .NET (due to the Com Interop layer).
Please note also:
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 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
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
-------------------------------------
"Carsten Giesen" wrote in message
news:OiXtKxKzIHA.2360@TK2MSFTNGP05.phx.gbl...
> Hello Andreas,
>
> I'm using TAPI3
>
> As PBX I use a OpenCom 131 by DeTeWe. I code with VB2005.
>
> Regards and thanks
>
> Carsten
>
> "Andreas Marschall [MVP TAPI]" schrieb im
> Newsbeitrag news:uwbXAiBzIHA.548@TK2MSFTNGP06.phx.gbl...
>> "Carsten Giesen" schrieb im Newsbeitrag
>> news:BEB5DB5A-F4B0-4C59-8EED-D54B308654AD@microsoft.com...
>>> I code a call monitor based on TAPI. Every think is running fine, but
>>> one
>>> think I have a problem.
>>> When I have a active call, and a other additional call is coming, than I
>>> have a problem to handle both call.
>>> I need to identify each call.
>>>
>>> Is there a unique number for every call? Not only the callerid ;)
>>> I have it twice druring testing, that I have 2 calles with the same
>>> callerid
>>> (I don't know why this company have such stupid PBX settings!?!?)
>>
>> Carsten,
>> are you using TAPI2 or TAPI3 ?
>> With TAPI2 you will get a different hCall for each call with the
>> LINE_APPNEWCALL message.
>> What device / TSP are you using?
>>
>> --
>> 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.
>>
>>
>>
>
date: Thu, 12 Jun 2008 20:52:14 +0200
author: Matthias Moetje [MVP]
|
|