<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17806">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">documentation: Add missing AMI documentation<br><br>Adds missing documentation for some channel,<br>bridge, and queue events.<br><br>ASTERISK-24427<br>ASTERISK-29515<br><br>Change-Id: I92b06b88c8cadc0155f95ebe3e870b3e795a8c64<br>---<br>M apps/app_queue.c<br>M main/channel.c<br>M main/logger.c<br>M main/manager_bridges.c<br>M main/manager_channels.c<br>M main/manager_mwi.c<br>6 files changed, 185 insertions(+), 84 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/06/17806/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index dcd5aa8..4ce54f8 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -1058,6 +1058,85 @@</span><br><span> </description></span><br><span> </manager></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="QueueParams"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_AGENT"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised in response to the QueueStatus action.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Max"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The name of the queue.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Strategy"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The strategy of the queue.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Calls"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The queue member's channel technology or location.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Holdtime"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The queue's hold time.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="TalkTime"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The queue's talk time.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Completed"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The queue's completion time.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Abandoned"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The queue's call abandonment metric.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="ServiceLevelPerf"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>Primary service level performance metric.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="ServiceLevelPerf2"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>Secondary service level performance metric.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">QueueMember</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">QueueEntry</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ </see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="QueueEntry"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_AGENT"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised in response to the QueueStatus action.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Queue"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The name of the queue.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Position"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The caller's position within the queue.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Channel"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The name of the caller's channel.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Uniqueid"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The unique ID of the channel.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="CallerIDNum"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The Caller ID number.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="CallerIDName"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The Caller ID name.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="ConnectedLineNum"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The bridged party's number.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="ConnectedLineName"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The bridged party's name.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Wait"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The caller's wait time.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Priority"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The caller's priority within the queue.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">QueueParams</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">QueueMember</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ </see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> <managerEvent language="en_US" name="QueueMemberStatus"></span><br><span> <managerEventInstance class="EVENT_FLAG_AGENT"></span><br><span> <synopsis>Raised when a Queue member's status has changed.</synopsis></span><br><span>diff --git a/main/channel.c b/main/channel.c</span><br><span>index 60eea4b..cd7513a 100644</span><br><span>--- a/main/channel.c</span><br><span>+++ b/main/channel.c</span><br><span>@@ -6825,9 +6825,11 @@</span><br><span> static void __ast_change_name_nolink(struct ast_channel *chan, const char *newname)</span><br><span> {</span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when the name of a channel is changed.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="Rename"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_CALL"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when the name of a channel is changed.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> ast_manager_event(chan, EVENT_FLAG_CALL, "Rename",</span><br><span> "Channel: %s\r\n"</span><br><span>diff --git a/main/logger.c b/main/logger.c</span><br><span>index ebc72fe..e9f8f96 100644</span><br><span>--- a/main/logger.c</span><br><span>+++ b/main/logger.c</span><br><span>@@ -1222,14 +1222,16 @@</span><br><span> if (f->disabled) {</span><br><span> f->disabled = 0; /* Re-enable logging at reload */</span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when a logging channel is re-enabled after a reload operation.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- <syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Channel"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>The name of the logging channel.</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- </syntax></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="LogChannel"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_SYSTEM"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when a logging channel is re-enabled after a reload operation.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Channel"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The name of the logging channel.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> manager_event(EVENT_FLAG_SYSTEM, "LogChannel", "Channel: %s\r\nEnabled: Yes\r\n", f->filename);</span><br><span> }</span><br><span>diff --git a/main/manager_bridges.c b/main/manager_bridges.c</span><br><span>index 19c8a79..e6ce39d 100644</span><br><span>--- a/main/manager_bridges.c</span><br><span>+++ b/main/manager_bridges.c</span><br><span>@@ -383,13 +383,15 @@</span><br><span> }</span><br><span> </span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when two bridges are merged.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- <syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <bridge_snapshot prefix="To"/></span><br><span style="color: hsl(0, 100%, 40%);">- <bridge_snapshot prefix="From"/></span><br><span style="color: hsl(0, 100%, 40%);">- </syntax></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="BridgeMerge"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_CALL"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when two bridges are merged.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <bridge_snapshot prefix="To"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <bridge_snapshot prefix="From"/></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> manager_event(EVENT_FLAG_CALL, "BridgeMerge",</span><br><span> "%s"</span><br><span>diff --git a/main/manager_channels.c b/main/manager_channels.c</span><br><span>index 943e9f4..4a5def7 100644</span><br><span>--- a/main/manager_channels.c</span><br><span>+++ b/main/manager_channels.c</span><br><span>@@ -908,24 +908,26 @@</span><br><span> }</span><br><span> </span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when a DTMF digit has started on a channel.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- <syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <channel_snapshot/></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Digit"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>DTMF digit received or transmitted (0-9, A-E, # or *</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Direction"></span><br><span style="color: hsl(0, 100%, 40%);">- <enumlist></span><br><span style="color: hsl(0, 100%, 40%);">- <enum name="Received"/></span><br><span style="color: hsl(0, 100%, 40%);">- <enum name="Sent"/></span><br><span style="color: hsl(0, 100%, 40%);">- </enumlist></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- </syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <see-also></span><br><span style="color: hsl(0, 100%, 40%);">- <ref type="managerEvent">DTMFEnd</ref></span><br><span style="color: hsl(0, 100%, 40%);">- </see-also></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="DTMFBegin"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_DTMF"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when a DTMF digit has started on a channel.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <channel_snapshot/></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Digit"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>DTMF digit received or transmitted (0-9, A-E, # or *</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Direction"></span><br><span style="color: hsl(120, 100%, 40%);">+ <enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="Received"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="Sent"/></span><br><span style="color: hsl(120, 100%, 40%);">+ </enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">DTMFEnd</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ </see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> manager_event(EVENT_FLAG_DTMF, "DTMFBegin",</span><br><span> "%s"</span><br><span>@@ -954,27 +956,29 @@</span><br><span> }</span><br><span> </span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when a DTMF digit has ended on a channel.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- <syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <channel_snapshot/></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Digit"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>DTMF digit received or transmitted (0-9, A-E, # or *</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="DurationMs"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>Duration (in milliseconds) DTMF was sent/received</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Direction"></span><br><span style="color: hsl(0, 100%, 40%);">- <enumlist></span><br><span style="color: hsl(0, 100%, 40%);">- <enum name="Received"/></span><br><span style="color: hsl(0, 100%, 40%);">- <enum name="Sent"/></span><br><span style="color: hsl(0, 100%, 40%);">- </enumlist></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- </syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <see-also></span><br><span style="color: hsl(0, 100%, 40%);">- <ref type="managerEvent">DTMFBegin</ref></span><br><span style="color: hsl(0, 100%, 40%);">- </see-also></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="DTMFEnd"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_DTMF"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when a DTMF digit has ended on a channel.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <channel_snapshot/></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Digit"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>DTMF digit received or transmitted (0-9, A-E, # or *</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="DurationMs"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>Duration (in milliseconds) DTMF was sent/received</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Direction"></span><br><span style="color: hsl(120, 100%, 40%);">+ <enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="Received"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="Sent"/></span><br><span style="color: hsl(120, 100%, 40%);">+ </enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ <ref type="managerEvent">DTMFBegin</ref></span><br><span style="color: hsl(120, 100%, 40%);">+ </see-also></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> manager_event(EVENT_FLAG_DTMF, "DTMFEnd",</span><br><span> "%s"</span><br><span>@@ -996,6 +1000,16 @@</span><br><span> return;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /*** DOCUMENTATION</span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="Flash"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_CALL"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when a hook flash occurs on a channel.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <channel_snapshot/></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span style="color: hsl(120, 100%, 40%);">+ ***/</span><br><span> manager_event(EVENT_FLAG_CALL, "Flash",</span><br><span> "%s",</span><br><span> ast_str_buffer(channel_event_string));</span><br><span>diff --git a/main/manager_mwi.c b/main/manager_mwi.c</span><br><span>index 7542b5b..f39ac19 100644</span><br><span>--- a/main/manager_mwi.c</span><br><span>+++ b/main/manager_mwi.c</span><br><span>@@ -103,33 +103,35 @@</span><br><span> }</span><br><span> </span><br><span> /*** DOCUMENTATION</span><br><span style="color: hsl(0, 100%, 40%);">- <managerEventInstance></span><br><span style="color: hsl(0, 100%, 40%);">- <synopsis>Raised when the state of messages in a voicemail mailbox</span><br><span style="color: hsl(0, 100%, 40%);">- has changed or when a channel has finished interacting with a</span><br><span style="color: hsl(0, 100%, 40%);">- mailbox.</synopsis></span><br><span style="color: hsl(0, 100%, 40%);">- <syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <channel_snapshot/></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Mailbox"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>The mailbox with the new message, specified as <literal>mailbox</literal>@<literal>context</literal></para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Waiting"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>Whether or not the mailbox has messages waiting for it.</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="New"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>The number of new messages.</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- <parameter name="Old"></span><br><span style="color: hsl(0, 100%, 40%);">- <para>The number of old messages.</para></span><br><span style="color: hsl(0, 100%, 40%);">- </parameter></span><br><span style="color: hsl(0, 100%, 40%);">- </syntax></span><br><span style="color: hsl(0, 100%, 40%);">- <description></span><br><span style="color: hsl(0, 100%, 40%);">- <note><para>The Channel related parameters are only present if a</span><br><span style="color: hsl(0, 100%, 40%);">- channel was involved in the manipulation of a mailbox. If no</span><br><span style="color: hsl(0, 100%, 40%);">- channel is involved, the parameters are not included with the</span><br><span style="color: hsl(0, 100%, 40%);">- event.</para></span><br><span style="color: hsl(0, 100%, 40%);">- </note></span><br><span style="color: hsl(0, 100%, 40%);">- </description></span><br><span style="color: hsl(0, 100%, 40%);">- </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEvent language="en_US" name="MessageWaiting"></span><br><span style="color: hsl(120, 100%, 40%);">+ <managerEventInstance class="EVENT_FLAG_CALL"></span><br><span style="color: hsl(120, 100%, 40%);">+ <synopsis>Raised when the state of messages in a voicemail mailbox</span><br><span style="color: hsl(120, 100%, 40%);">+ has changed or when a channel has finished interacting with a</span><br><span style="color: hsl(120, 100%, 40%);">+ mailbox.</synopsis></span><br><span style="color: hsl(120, 100%, 40%);">+ <syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <channel_snapshot/></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Mailbox"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The mailbox with the new message, specified as <literal>mailbox</literal>@<literal>context</literal></para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Waiting"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>Whether or not the mailbox has messages waiting for it.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="New"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The number of new messages.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="Old"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The number of old messages.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ </syntax></span><br><span style="color: hsl(120, 100%, 40%);">+ <description></span><br><span style="color: hsl(120, 100%, 40%);">+ <note><para>The Channel related parameters are only present if a</span><br><span style="color: hsl(120, 100%, 40%);">+ channel was involved in the manipulation of a mailbox. If no</span><br><span style="color: hsl(120, 100%, 40%);">+ channel is involved, the parameters are not included with the</span><br><span style="color: hsl(120, 100%, 40%);">+ event.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ </note></span><br><span style="color: hsl(120, 100%, 40%);">+ </description></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEventInstance></span><br><span style="color: hsl(120, 100%, 40%);">+ </managerEvent></span><br><span> ***/</span><br><span> manager_event(EVENT_FLAG_CALL, "MessageWaiting",</span><br><span> "%s"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17806">change 17806</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17806"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I92b06b88c8cadc0155f95ebe3e870b3e795a8c64 </div>
<div style="display:none"> Gerrit-Change-Number: 17806 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>