From b8d4e573f1292688d07063542d263490536c2bc9 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Mon, 8 Apr 2013 14:26:37 +0000 Subject: Add multi-channel Stasis messages; refactor Dial AMI events to Stasis This patch does the following: * A new Stasis payload has been defined for multi-channel messages. This payload can store multiple ast_channel_snapshot objects along with a single JSON blob. The payload object itself is opaque; the snapshots are stored in a container keyed by roles. APIs have been provided to query for and retrieve the snapshots from the payload object. * The Dial AMI events have been refactored onto Stasis. This includes dial messages in app_dial, as well as the core dialing framework. The AMI events have been modified to send out a DialBegin/DialEnd events, as opposed to the subevent type that was previously used. * Stasis messages, types, and other objects related to channels have been placed in their own file, stasis_channels. Unit tests for some of these objects/messages have also been written. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384910 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_realtime.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pbx/pbx_realtime.c') diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c index 65685e030..f9f9cb2be 100644 --- a/pbx/pbx_realtime.c +++ b/pbx/pbx_realtime.c @@ -52,6 +52,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/astdb.h" #include "asterisk/app.h" #include "asterisk/astobj2.h" +#include "asterisk/stasis_channels.h" #define MODE_MATCH 0 #define MODE_MATCHMORE 1 -- cgit v1.2.3