Files
asterisk/main
Richard Mudgett 252aee4228 ISDN AOC: Fix crash from an AOC-E message that doesn't have a channel association.
Processing an AOC-E event that does not or no longer has a channel
association causes a crash.

The problem with posting AOC events to the channel topic is that AOC-E
events don't always have a channel association and posting the event to
the all channels topic is just wrong.  AOC-E events do however have their
own charging association method to refer to the agreement with the
charging entity.

* Changed the AOC events to post to the AMI manager topic instead of the
channel topics.  If a channel is associated with the event then channel
snapshot information is supplied with the AMI event.

* Eliminated RAII_VAR() usage in aoc_to_ami() and ast_aoc_manager_event().

This patch supercedes the patch on Review: https://reviewboard.asterisk.org/r/4427/

ASTERISK-22670 #close
Reported by: klaus3000

ASTERISK-24689 #close
Reported by: Marcel Manz

ASTERISK-24740 #close
Reported by: Panos Gkikakis

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

Merged revisions 431974 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-02-19 18:26:49 +00:00
..
2015-01-26 14:50:40 +00:00
2013-08-20 15:36:10 +00:00
2015-01-30 16:49:59 +00:00
2014-10-10 13:03:18 +00:00
2013-07-04 13:06:15 +00:00
2013-06-29 00:18:57 +00:00
2014-09-05 17:45:03 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2014-08-05 21:44:09 +00:00
2015-01-30 16:49:59 +00:00
2015-01-30 16:49:59 +00:00
2015-01-26 14:50:40 +00:00
2015-01-26 14:50:40 +00:00
2012-09-21 17:14:59 +00:00
2015-01-30 16:49:59 +00:00
2013-02-14 18:47:56 +00:00
2015-01-30 16:49:59 +00:00