Migrate a large number of AMI events over to Stasis-Core
authorMatthew Jordan <mjordan@digium.com>
Fri, 24 May 2013 20:44:07 +0000 (20:44 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 24 May 2013 20:44:07 +0000 (20:44 +0000)
commit06be8463b683333c79845402d55168ef1b582fa9
tree2fe0871cfec4d5edf3aae763541ff7efa32a444a
parentc1b51fd2654736fd7c614d1571f904e236006651
Migrate a large number of AMI events over to Stasis-Core

This patch moves a number of AMI events over to the Stasis-Core message bus.
This includes:
 * ChanSpyStart/Stop
 * MonitorStart/Stop
 * MusicOnHoldStart/Stop
 * FullyBooted/Reload
 * All Voicemail/MWI related events

In addition, it adds some Stasis-Core and AMI support for generic AMI messages,
refactors the message router in AMI to use a single router with topic
forwarding for the topics that AMI cares about, and refactors MWI message
types and topics to be more name compliant.

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

(closes issue ASTERISK-21462)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
37 files changed:
CHANGES
apps/app_chanspy.c
apps/app_fax.c
apps/app_minivm.c
apps/app_voicemail.c
channels/chan_dahdi.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_sip.c
channels/chan_skinny.c
channels/chan_unistim.c
channels/sig_pri.c
include/asterisk/_private.h
include/asterisk/app.h
include/asterisk/json.h
include/asterisk/manager.h
include/asterisk/stasis_channels.h
main/app.c
main/asterisk.c
main/cdr.c
main/cli.c
main/dnsmgr.c
main/enum.c
main/json.c
main/loader.c
main/manager.c
main/manager_channels.c
main/manager_mwi.c [new file with mode: 0644]
main/pbx.c
main/stasis_channels.c
res/parking/parking_manager.c
res/res_fax.c
res/res_jabber.c
res/res_monitor.c
res/res_musiconhold.c
res/res_sip_mwi.c
res/res_xmpp.c