asterisk/channels/misdn
Richard Mudgett e9e753d6f3 Merged revisions 206706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
  r206706 | rmudgett | 2009-07-15 15:44:55 -0500 (Wed, 15 Jul 2009) | 26 lines
  
  Merged revision 206700 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...
  
  ..........
    Fixed chan_misdn crash because mISDNuser library is not thread safe.
  
    With Asterisk the mISDNuser library is driven by two threads concurrently:
    1. channels/misdn/isdn_lib.c::manager_event_handler()
    2. channels/misdn/isdn_lib.c::misdn_lib_isdn_event_catcher()
  
    Calls into the library are done concurrently and recursively from
    isdn_lib.c.
  
    Both threads can fiddle with the master/child layer3_proc_t lists.  One
    thread may traverse the list when the other interrupts it and then removes
    the list element which the first thread was currently handling.  This is
    exactly what caused the crash.  About 60 calls were needed to a Gigaset
    CX475 before it occurred once.
  
    This patch adds locking when calling into the mISDNuser library.
    This also fixes some cb_log calls with wrong port parameter.
  
    JIRA ABE-1913
        Patches: misdn-locking.patch (Modified with mostly cosmetic changes)
  ..........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-15 21:14:41 +00:00
..
Makefile Removed trailing whitespace in chan_misdn files. 2009-03-23 22:35:02 +00:00
chan_misdn_config.h Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
ie.c Added CCBS/CCNR Party A support and enhanced COLP support. 2009-04-21 17:44:01 +00:00
isdn_lib.c Merged revisions 206706 via svnmerge from 2009-07-15 21:14:41 +00:00
isdn_lib.h Merged revisions 206487 via svnmerge from 2009-07-14 17:01:48 +00:00
isdn_lib_intern.h Merged revisions 206706 via svnmerge from 2009-07-15 21:14:41 +00:00
isdn_msg_parser.c Add outgoing_colp misdn.conf port parameter. 2009-05-14 22:03:49 +00:00
portinfo.c Removed trailing whitespace in chan_misdn files. 2009-03-23 22:35:02 +00:00