Files
asterisk/main
Richard Mudgett 40547e7210 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/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-02-19 18:25:36 +00:00
..
2015-01-26 14:49:32 +00:00
2015-01-30 16:47:50 +00:00
2014-10-10 13:01:41 +00:00
2014-09-05 17:36:35 +00:00
2014-05-09 22:49:26 +00:00
2014-08-05 21:44:09 +00:00
2015-01-30 16:47:50 +00:00
2015-01-30 16:47:50 +00:00
2015-01-26 14:49:32 +00:00
2015-01-26 14:49:32 +00:00
2015-01-30 16:47:50 +00:00
2015-01-30 16:47:50 +00:00