Files
asterisk/main
David Vossel 16203af95e Merged revisions 238635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238635 | dvossel | 2010-01-08 13:39:30 -0600 (Fri, 08 Jan 2010) | 22 lines
  
  fixes AUDIOHOOK_INHERIT regression
  
  During the process of removing an audiohook from one channel
  and attaching it to another the audiohook's status is updated
  to DONE and then back to whatever it was previously.  Typically
  updating the status after setting it to DONE is not a good idea
  because DONE can trigger unrecoverable audiohook destruction
  events... because of this a conditional check was added to
  audiohook_update_status to explicitly prevent the audiohook
  from ever changing after being set to DONE.  It was this check
  that prevented audiohook inherit from work properly though.
  
  Now ast_audiohook_move_by_source is treated as a special exception,
  as the audiohook must be returned to its previous status after
  attaching it to the new channel.  This is only a safe operation
  because the audiohook's lock is held the entire time, otherwise
  this could cause trouble.
  
  (closes issue #16522)
  Reported by: corruptor
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@238638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-08 19:44:28 +00:00
..
2009-07-18 02:09:13 +00:00
2009-08-10 19:30:55 +00:00
2009-08-10 19:30:55 +00:00
2007-12-11 22:20:22 +00:00
2009-03-17 05:54:07 +00:00
2009-08-10 19:30:55 +00:00
2009-08-10 19:30:55 +00:00
2008-07-21 21:00:47 +00:00
2009-08-10 19:30:55 +00:00
2008-03-04 23:04:29 +00:00
2009-08-10 19:30:55 +00:00
2009-03-18 14:32:47 +00:00
2009-08-21 03:40:07 +00:00
2008-03-04 23:04:29 +00:00
2008-03-04 23:04:29 +00:00