Re: Is it safe to disconnect the H323 call while handling CME_STREAM_INACTIVE?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 12/04/04

  • Next message: dave: "Re: notl a 100% tapi question, but.."
    Date: Sat, 4 Dec 2004 18:53:54 +0100
    
    

    "David Yu" <y2wei@ @ 163.net> schrieb im Newsbeitrag
    news:Onf5lkB2EHA.208@TK2MSFTNGP12.phx.gbl...
    > Thank you for your two responses. Yes i have sent a post regarding
    CS_DISCONNECT missing. I made many tests about this and got a
    > conclusion: it related to the W2k OS of the PC -- maybe some system files
    are incorrect. Because only one PC has this problem,
    > others are all right.
    >
    > This time I only care about the reliability of the server app, whether
    CS_DISCONNECT received or missing. I found that about 30
    > seconeds after the client disconnects, the server will get a
    CME_STREAM_INACTIVE event, and the cause of this event is
    > CMC_MEDIA_TIMEOUT. So i think it is a right place to disconnect and free the
    H323 call resources while receiving
    > CME_STREAM_INACTIVE. But I don't know the exact meaning of the event and the
    cause code -- MSDN talks only a few sentences about
    > them.

    David,
    do you get this CME_STREAM_INACTIVE only on the that single machine with the
    CS_DISCONNECT issue or on all of your installations?

    Did you encounter any side effects when "disconnect the call while the server
    handling CME_STREAM_INACTIVE event?"

    In case you didn't already took a look at the TAPI3 samples from P-SDK
    regarding CME_STREAM_INACTIVE, these files have a reference to it:
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\VB\dtmf\DTMF.Frm
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\Cpp\tapirecv\Processing.cpp
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\Cpp\Incoming\Callnot.Cpp
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\Cpp\AnsMach\Callnot.Cpp
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\Cpp\AnsMach\Term.Cpp
    \Core-SDK\Samples\NetDS\Tapi\Tapi3\Cpp\FileTerm\CallNot.cpp

    -- 
    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: dave: "Re: notl a 100% tapi question, but.."

    Relevant Pages

    • Re: TAPI Client/Server Problem
      ... > configured correctly for our extensions on the server. ... Microsoft MVP for TAPI / Windows SDK ... Tools (a collection of free, mostly TAPI related tools): ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: Is it safe to disconnect the H323 call while handling CME_STREAM_INACTIVE?
      ... This time I only care about the reliability of the server app, whether CS_DISCONNECT received or missing. ... But when the client disconnects the call, ... > * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: LINE_NEWCALL during TSPI_lineOpen or TSPI_lineSetDefaultMediaDetection
      ... I have set up a Server 2003 as telephony server and a xp sp2 as client, ... There must be a way to report the calls to the Tapi ... > * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: TSP lines not accessable in TAPI manger console
      ... client users on the the same system (in 32 and 64 bit from XP to Server ... TAPI / TSP Developer and Tester ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: about TAPI client/server architecture
      ... >> I'm going to start developing a TAPI application using TAPI ... >> Domain Controller because it isn't able to find the DC. ... > * Please post all messages and replies to the newsgroup so all may ... Sorry but I haven't almost experience in W2K server administration. ...
      (microsoft.public.win32.programmer.tapi)