mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -277,14 +277,14 @@ static struct ast_str *manager_build_parked_call_string(const struct ast_parked_
|
||||
return NULL;
|
||||
}
|
||||
|
||||
parkee_string = ast_manager_build_channel_state_string_suffix(payload->parkee, "Parkee");
|
||||
parkee_string = ast_manager_build_channel_state_string_prefix(payload->parkee, "Parkee");
|
||||
|
||||
if (payload->parker) {
|
||||
parker_string = ast_manager_build_channel_state_string_suffix(payload->parker, "Parker");
|
||||
parker_string = ast_manager_build_channel_state_string_prefix(payload->parker, "Parker");
|
||||
}
|
||||
|
||||
if (payload->retriever) {
|
||||
retriever_string = ast_manager_build_channel_state_string_suffix(payload->retriever, "Retriever");
|
||||
retriever_string = ast_manager_build_channel_state_string_prefix(payload->retriever, "Retriever");
|
||||
}
|
||||
|
||||
ast_str_set(&out, 0,
|
||||
|
Reference in New Issue
Block a user