Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Wed, 11 Jun 2008 22:58:58 +0200,    group: microsoft.public.win32.programmer.tapi        back       


unique ID for every call   
Hello all,

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!?!?)

Regards

Carsten
date: Wed, 11 Jun 2008 22:58:58 +0200   author:   Carsten Giesen

Re: unique ID for every call   
"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 01:11:28 +0200   author:   Andreas Marschall [MVP TAPI]

Re: unique ID for every call   
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 18:49:13 +0200   author:   Carsten Giesen

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]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us