Re: Error in TAPI3..

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Grant Schenck (schenckg_at_optonline.net)
Date: 06/25/04

  • Next message: Andreas Marschall [MVP TAPI]: "Re: How to use TAPI to send SMS message?"
    Date: Fri, 25 Jun 2004 16:48:55 -0400
    
    

    BTW, just be aware that depending on the TSP you may get the
    LINECALLSTATE_IDLE before the LINE_REPLY associated with the lineDrop
    request.

    --
    Grant Schenck
    Grant Schenck Software
    schenckg@optonline.net
    http://grantschenck.tripod.com
    "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de> wrote in
    message news:OnjuwxpWEHA.3528@TK2MSFTNGP10.phx.gbl...
    > "updesh" <updesh@callshift.com> schrieb im Newsbeitrag
    > news:Ov%23jrBhWEHA.1000@TK2MSFTNGP12.phx.gbl...
    > > I have some  issues....I use this code to hang up the line..
    > >
    > > void HangupCall()
    > > {
    > >
    > >    lineDeallocateCall(hLineApp);
    > >    lineClose(hLineApp);
    > >    lineShutdown(hLineApp);
    > >    hLineApp=NULL;
    > >    hLine=NULL;
    > >    lphCall=NULL;
    > >
    > > }
    > >
    > > it doesn't  hangs up.. what's missing here..
    >
    > Updesh,
    > to hang up (end a call) you need to:
    > - lineDrop(hCall)
    > - wait for corresponding LINE_REPLY
    > - wait for LINECALLSTATE_IDLE
    > - lineDeallocateCall(hCall)
    >
    > You DON'T need to:
    > >    lineClose(hLine);
    > >    lineShutdown(hLineApp);
    > This needs only to be be done on program exit.
    >
    > --
    > Best Regards
    > Andreas Marschall
    > Microsoft MVP for TAPI / Windows SDK
    > TAPI / TSP Developer and Tester
    > http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
    > * 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.
    >
    >
    

  • Next message: Andreas Marschall [MVP TAPI]: "Re: How to use TAPI to send SMS message?"

    Relevant Pages

    • Re: Monitor for silence AND a tone at the same time?
      ... "Grant Schenck" schrieb im Newsbeitrag ... I can't see anyway to request silence ... > and any other tone. ... Microsoft MVP for TAPI / Windows SDK ...
      (microsoft.public.win32.programmer.tapi)
    • Re: TAPI ? Does it support NDID or not?
      ... "Grant Schenck" schrieb im Newsbeitrag ... I'm speculating that you expect to be able to pass a string ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: lineSetAppPriority() out of step with reality
      ... the request. ... TAPI / TSP Developer and Tester ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: VB and TAPI - further question on the samples/
      ... I know request a popluar item... ... > phoned about 200 people the phone message "OK, ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: how save information about traffic (tapi 2.1)
      ... "Grant Schenck" schrieb im Newsbeitrag ... unfortunately no mapping information provided. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)