mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
app_mixmonitor: Add AMI events MixMonitorStart, -Stop and -Mute.
ASTERISK-29244 Change-Id: I1862d58264c2c8b5d8983272cb29734b184d67c5
This commit is contained in:
committed by
Sébastien Duthil
parent
5699eb7b0f
commit
435d68be97
@@ -1315,6 +1315,9 @@ STASIS_MESSAGE_TYPE_DEFN(ast_channel_moh_start_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_moh_stop_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_monitor_start_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_monitor_stop_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_mixmonitor_start_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_mixmonitor_stop_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_mixmonitor_mute_type);
|
||||
STASIS_MESSAGE_TYPE_DEFN(ast_channel_agent_login_type,
|
||||
.to_ami = agent_login_to_ami,
|
||||
);
|
||||
@@ -1358,6 +1361,9 @@ static void stasis_channels_cleanup(void)
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_moh_stop_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_monitor_start_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_monitor_stop_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_mixmonitor_start_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_mixmonitor_stop_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_mixmonitor_mute_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_agent_login_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_agent_logoff_type);
|
||||
STASIS_MESSAGE_TYPE_CLEANUP(ast_channel_talking_start);
|
||||
@@ -1409,6 +1415,9 @@ int ast_stasis_channels_init(void)
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_moh_stop_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_monitor_start_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_monitor_stop_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_mixmonitor_start_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_mixmonitor_stop_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_mixmonitor_mute_type);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_talking_start);
|
||||
res |= STASIS_MESSAGE_TYPE_INIT(ast_channel_talking_stop);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user