diff --git a/apps/app_queue.c b/apps/app_queue.c index ddfa7292b2..8b67ffb8e6 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1058,6 +1058,85 @@ + + + Raised in response to the QueueStatus action. + + + The name of the queue. + + + The strategy of the queue. + + + The queue member's channel technology or location. + + + The queue's hold time. + + + The queue's talk time. + + + The queue's completion time. + + + The queue's call abandonment metric. + + + Primary service level performance metric. + + + Secondary service level performance metric. + + + + QueueMember + QueueEntry + + + + + + Raised in response to the QueueStatus action. + + + The name of the queue. + + + The caller's position within the queue. + + + The name of the caller's channel. + + + The unique ID of the channel. + + + The Caller ID number. + + + The Caller ID name. + + + The bridged party's number. + + + The bridged party's name. + + + The caller's wait time. + + + The caller's priority within the queue. + + + + QueueParams + QueueMember + + + Raised when a Queue member's status has changed. diff --git a/main/channel.c b/main/channel.c index 4d104cef59..e5a6bc9d59 100644 --- a/main/channel.c +++ b/main/channel.c @@ -6813,9 +6813,11 @@ int ast_channel_make_compatible(struct ast_channel *chan, struct ast_channel *pe static void __ast_change_name_nolink(struct ast_channel *chan, const char *newname) { /*** DOCUMENTATION - - Raised when the name of a channel is changed. - + + + Raised when the name of a channel is changed. + + ***/ ast_manager_event(chan, EVENT_FLAG_CALL, "Rename", "Channel: %s\r\n" diff --git a/main/logger.c b/main/logger.c index ebc72fee1c..e9f8f96619 100644 --- a/main/logger.c +++ b/main/logger.c @@ -1222,14 +1222,16 @@ static int reload_logger(int rotate, const char *altconf) if (f->disabled) { f->disabled = 0; /* Re-enable logging at reload */ /*** DOCUMENTATION - - Raised when a logging channel is re-enabled after a reload operation. - - - The name of the logging channel. - - - + + + Raised when a logging channel is re-enabled after a reload operation. + + + The name of the logging channel. + + + + ***/ manager_event(EVENT_FLAG_SYSTEM, "LogChannel", "Channel: %s\r\nEnabled: Yes\r\n", f->filename); } diff --git a/main/manager_bridges.c b/main/manager_bridges.c index 3a0191f8b8..e81a3a45b5 100644 --- a/main/manager_bridges.c +++ b/main/manager_bridges.c @@ -376,13 +376,15 @@ static void bridge_merge_cb(void *data, struct stasis_subscription *sub, } /*** DOCUMENTATION - - Raised when two bridges are merged. - - - - - + + + Raised when two bridges are merged. + + + + + + ***/ manager_event(EVENT_FLAG_CALL, "BridgeMerge", "%s" diff --git a/main/manager_channels.c b/main/manager_channels.c index dae737c3a6..a7cec8def8 100644 --- a/main/manager_channels.c +++ b/main/manager_channels.c @@ -891,24 +891,26 @@ static void channel_dtmf_begin_cb(void *data, struct stasis_subscription *sub, } /*** DOCUMENTATION - - Raised when a DTMF digit has started on a channel. - - - - DTMF digit received or transmitted (0-9, A-E, # or * - - - - - - - - - - DTMFEnd - - + + + Raised when a DTMF digit has started on a channel. + + + + DTMF digit received or transmitted (0-9, A-E, # or * + + + + + + + + + + DTMFEnd + + + ***/ manager_event(EVENT_FLAG_DTMF, "DTMFBegin", "%s" @@ -937,27 +939,29 @@ static void channel_dtmf_end_cb(void *data, struct stasis_subscription *sub, } /*** DOCUMENTATION - - Raised when a DTMF digit has ended on a channel. - - - - DTMF digit received or transmitted (0-9, A-E, # or * - - - Duration (in milliseconds) DTMF was sent/received - - - - - - - - - - DTMFBegin - - + + + Raised when a DTMF digit has ended on a channel. + + + + DTMF digit received or transmitted (0-9, A-E, # or * + + + Duration (in milliseconds) DTMF was sent/received + + + + + + + + + + DTMFBegin + + + ***/ manager_event(EVENT_FLAG_DTMF, "DTMFEnd", "%s" @@ -979,6 +983,16 @@ static void channel_flash_cb(void *data, struct stasis_subscription *sub, return; } + /*** DOCUMENTATION + + + Raised when a hook flash occurs on a channel. + + + + + + ***/ manager_event(EVENT_FLAG_CALL, "Flash", "%s", ast_str_buffer(channel_event_string)); diff --git a/main/manager_mwi.c b/main/manager_mwi.c index 7542b5b1a4..f39ac19b18 100644 --- a/main/manager_mwi.c +++ b/main/manager_mwi.c @@ -103,33 +103,35 @@ static void mwi_update_cb(void *data, struct stasis_subscription *sub, } /*** DOCUMENTATION - - Raised when the state of messages in a voicemail mailbox - has changed or when a channel has finished interacting with a - mailbox. - - - - The mailbox with the new message, specified as mailbox@context - - - Whether or not the mailbox has messages waiting for it. - - - The number of new messages. - - - The number of old messages. - - - - The Channel related parameters are only present if a - channel was involved in the manipulation of a mailbox. If no - channel is involved, the parameters are not included with the - event. - - - + + + Raised when the state of messages in a voicemail mailbox + has changed or when a channel has finished interacting with a + mailbox. + + + + The mailbox with the new message, specified as mailbox@context + + + Whether or not the mailbox has messages waiting for it. + + + The number of new messages. + + + The number of old messages. + + + + The Channel related parameters are only present if a + channel was involved in the manipulation of a mailbox. If no + channel is involved, the parameters are not included with the + event. + + + + ***/ manager_event(EVENT_FLAG_CALL, "MessageWaiting", "%s"