c***@ngi.it
2008-07-23 14:15:17 UTC
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
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