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

From: David Yu (y2wei_at_)
Date: 12/06/04

  • Next message: Mubashir Khan: "Re: Cisco CTI port lineOpen failure"
    Date: Mon, 6 Dec 2004 11:42:02 +0800
    
    

    "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de> wrote in message news:O4TAppi2EHA.3128@TK2MSFTNGP14.phx.gbl...
    > "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?
    >
    Hi Andreas,

    yes. All others can get CS_DISCONNECT event. That single PC only get
    a CME_STREAM_INACTIVE after 30 seconds timeout.

    > Did you encounter any side effects when "disconnect the call while the server
    > handling CME_STREAM_INACTIVE event?"
    >
    No side effect encountered so far. But i am not sure it is always safe. :(

    > 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
    >
    Except for the ANSMACH Sample was removed from the PSDK, I studied all
    the relative files you mentioned above, but found all the samples do
    no more than writing some logs for the CME_STREAM_INACTIVE event. :(

    Thanks for your help. I have just decided to give up studying this strange case.
    Maybe the reason for the strangeness is the version confusion of system files.
    It is not worth so much to solve a problem which may never come up.

    Regard
    David

    > --
    > 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: Mubashir Khan: "Re: Cisco CTI port lineOpen failure"

    Relevant Pages

    • 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, ... CS_DISCONNECT received or missing. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: Remote TSP server
      ... I found that two DLLs are missing: ... I am not missing the first DLL anymore, ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: LINE_MONITORDIGITS is received for remote party.
      ... Can any one help in this regard. ... 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: Remote TSP server
      ... Maybe some function export is missing. ... Microsoft MVP for TAPI / Windows SDK ... TAPI development around the world (Frappr! ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)
    • Re: What causes the dwDeviceID changed?
      ... Lavance, ... I regard this solely as a bug in this TAPI application. ... Any TAPI app needs to be able to handle any valid dwDeviceID (0 ... ... * Please post all messages and replies to the newsgroup so all may ...
      (microsoft.public.win32.programmer.tapi)