lineDeallocateCall operation in synchronous mode.



Hi,

I have a TAPI based phone application. what I am doing is, to
disconnect the call, I am calling lineDrop function. After I get
success in that, I am doing lineDeallocateCall in while loop so that I
will call this function till I get success in return. After which TAPI
used to give LINE_CALLSTATE response with proper reason of
disconnection.

But with Windows Mobile 5.0 device, I am getting some strange behavior
some times. I get lineDeallocateCall return as success in first time
itself but dont LINE_CALLSTATE event from TAPI. So, my call in my GUI
shows connected but lower layer has disconnected the call. And further
try to disconnect the call gives me invalid call handle which is
obvious. So, I was wondering if it is possible that sometimes, if
lineDeallocateCall operates in synchronous mode and returns success in
the first time itself, in that case it will not return any event ?? Is
that possible ?

Regards,
Jigar Mehta

.



Relevant Pages

  • Re: lineDeallocateCall operation in synchronous mode.
    ... disconnect the call, ... success in that, I am doing lineDeallocateCall in while loop so that I ... After which TAPI ...
    (microsoft.public.win32.programmer.tapi)
  • Re: error return from "connect"
    ... > I reran the browser and queried the disconnect status event cause: ... > I suppose I COULD create an event monitoring routine, register it with TAPI, ... Try it with TAPI Browser TB20 before starting to code anything yourself. ... 18:30.10.352: lineInitializeEx returned SUCCESS ...
    (microsoft.public.win32.programmer.tapi)
  • Re: About CTI & topTAPI
    ... Testing with the TAPI ... Grant Schenck Software ... > The best I can suggest is to run the TAPI Browser, ... > and address events and disconnect the phone ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Reason for LINEDISCONNECTMODE_NOANSWER
    ... DestAddress at lineMakeCall(). ... >>>it takes some time and the connection is disconnected and nearly ... This can be regarded as a bug in the TAPI app. ... > We have several disconnect reasons. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Caller ID in C#
    ... This is the Tapi Browser output and Now it gives success full lineOpen ... Privilages Owner and MONITOR in my program. ... 10:17.10.870: Calling lineInitializeEx ...
    (microsoft.public.win32.programmer.tapi)