Tapi events bug?
Hi everyone,
someone of you may remember I had a strange problem with Tapi 3
events: I didn't get some of them, mainly CallState CS_DISCONNECTED.
Until now I biased Delphi for it (which do have some troubles with
TAPI, but that's another story).
Keeping on with my attempts, and having exhausted all the "logical"
ways, I tried and "illogical" one: AddRef the incoming event without
Release it. Suddenly all the events started to come in.
Can I reproduce with Tapi Browser 3 ? It requires some luck, but the
answer is "yes".
I belive TB3 does actually AddRef any object it creates without
Release it: that's the way it builds the list of interfaces you can
see in the middle. In example you can always click an ITCallStateEvent
received half an hour ago and execute a get_State on it.
But if I manually Release a CS_OFFERING immediatly after I recevie it,
I no longer get CS_CONNECTED or CS_DISCONNECTED.
The provider is from LG-Nortel, and AFAIK it's a TAPI 2 provider.
Maybe it's a provider bug? Maybe the trouble is the conversion layer
between TAPI 2 and TAPI 3?
Does anyone experienced a similar trouble?
Kind regards,
Corrado
.
Relevant Pages
- Re: Reason for LINEDISCONNECTMODE_NOANSWER
... > I always get in trouble with the callstates used by some TSP's. ... See my TAPI and TSPI FAQ: ... > disconnect reason LINEDISCONNECTMODE_NOANSWER. ... > In one case had a connection but nobody gets on the phone, ... (microsoft.public.win32.programmer.tapi) - Re: Can TAPI3.1 run in Win98?
... >> launching Phone Dialer) is causing trouble... ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ... (microsoft.public.win32.programmer.tapi) - Re: TAPI disconnection problems
... The trouble I was having was that I ... I also realised that it was the Event objects that I was not releasing so I ... I tried monitor true and owner false but the events didn't fire ... >> So my basic question is how do I handle the releasing of call in TAPI so ... (microsoft.public.win32.programmer.tapi) - Re: blank line in Providers section on Advanced tab of Phone and M
... I was able to get rid of the empty provider by deleting the registry key. ... on the second computer in my office that is working properly with our NBX ... I know the dialer was working inside Outlook 2003 and my NBX Tapi Dialer ... (microsoft.public.win32.programmer.tapi) - Re: Writing a TSP: Assigning Users
... If you don't get the "Couldn't find the provider in the permanent array list!" ... debug output then it seems not to be related to your problem. ... Microsoft MVP for TAPI / Windows SDK ... >> Does your TSP do any dynamic creation / removal of devices? ... (microsoft.public.win32.programmer.tapi) |
|