Commit Graph

6 Commits

Author SHA1 Message Date
Richard Mudgett
0764556d4f Merged revisions 337973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r337973 | rmudgett | 2011-09-26 14:30:39 -0500 (Mon, 26 Sep 2011) | 30 lines
  
  Fix deadlock when using dummy channels.
  
  Dummy channels created by ast_dummy_channel_alloc() should be destoyed by
  ast_channel_unref().  Using ast_channel_release() needlessly grabs the
  channel container lock and can cause a deadlock as a result.
  
  * Analyzed use of ast_dummy_channel_alloc() and made use
  ast_channel_unref() when done with the dummy channel.  (Primary reason for
  the reported deadlock.)
  
  * Made app_dial.c:dial_exec_full() not call ast_call() holding any channel
  locks.  Chan_local could not perform deadlock avoidance correctly.
  (Potential deadlock exposed by this issue.  Secondary reason for the
  reported deadlock since the held lock was part of the deadlock chain.)
  
  * Fixed some uses of ast_dummy_channel_alloc() not checking the returned
  channel pointer for failure.
  
  * Fixed some potential chan=NULL pointer usage in func_odbc.c.  Protected
  by testing the bogus_chan value.
  
  * Fixed needlessly clearing a 1024 char auto array when setting the first
  char to zero is enough in manager.c:action_getvar().
  
  (closes issue ASTERISK-18613)
  Reported by: Thomas Arimont
  Patches:
        jira_asterisk_18613_v1.8.patch (license #5621) patch uploaded by rmudgett
  Tested by: Thomas Arimont
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@337974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-26 19:35:23 +00:00
Leif Madsen
7caa2349af Merged revisions 328209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r328209 | lmadsen | 2011-07-14 16:13:06 -0400 (Thu, 14 Jul 2011) | 6 lines
  
  Introduce <support_level> tags in MODULEINFO.
  This change introduces MODULEINFO into many modules in Asterisk in order to show
  the community support level for those modules. This is used by changes committed
  to menuselect by Russell Bryant recently (r917 in menuselect). More information about
  the support level types and what they mean is available on the wiki at
  https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.10@328247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-14 20:25:31 +00:00
Russell Bryant
15b8740f80 Merged revisions 317480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r317480 | russell | 2011-05-05 18:00:55 -0500 (Thu, 05 May 2011) | 8 lines
  
  Don't lose cdr_syslog config on a reload.
  
  (closes issue #18679)
  Reported by: enegaard
  Patches:
        issue18679_seanbright.patch uploaded by seanbright (license 71)
  Tested by: enegaard
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-05 23:02:11 +00:00
Tilghman Lesher
b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 19:35:02 +00:00
Russell Bryant
a297f2d04e formatting tweaks and constification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-26 08:45:11 +00:00
Sean Bright
a4284a507b Add a new module, cdr_syslog, which allows writing CDRs to syslog.
The original patch for this was written by Brett Bryant, and I split it out into
it's own module.

(closes issue #12876)
Reported by: bbryant
Patches:
      06162008_cdr_custom_syslog.diff uploaded by bbryant (license 36)
      05212009_cdr_syslog.patch uploaded by seanbright (license 71)
Tested by: seanbright

Review: https://reviewboard.asterisk.org/r/297/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-26 22:08:05 +00:00