mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
manager: Add <see-also> links between related events
This patch adds some see-also references between related AMI events. It focuses primarily on those events that are guaranteed to come in pairs, such as DTMFBegin/DTMFEnd, as well as those that occur during the life cycle of an Asterisk channel, such as Newchannel/Hangup. Change-Id: Iaab600477052018d0f8c03d0c624c0856e9ff1f3
This commit is contained in:
@@ -44,6 +44,10 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<syntax>
|
<syntax>
|
||||||
<channel_snapshot/>
|
<channel_snapshot/>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">Newstate</ref>
|
||||||
|
<ref type="managerEvent">Hangup</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="Newstate">
|
<managerEvent language="en_US" name="Newstate">
|
||||||
@@ -52,6 +56,10 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<syntax>
|
<syntax>
|
||||||
<channel_snapshot/>
|
<channel_snapshot/>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">Newchannel</ref>
|
||||||
|
<ref type="managerEvent">Hangup</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="Hangup">
|
<managerEvent language="en_US" name="Hangup">
|
||||||
@@ -66,6 +74,12 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<para>A description of why the channel was hung up.</para>
|
<para>A description of why the channel was hung up.</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">Newchannel</ref>
|
||||||
|
<ref type="managerEvent">SoftHangupRequest</ref>
|
||||||
|
<ref type="managerEvent">HangupRequest</ref>
|
||||||
|
<ref type="managerEvent">Newstate</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="HangupRequest">
|
<managerEvent language="en_US" name="HangupRequest">
|
||||||
@@ -75,6 +89,10 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<channel_snapshot/>
|
<channel_snapshot/>
|
||||||
<xi:include xpointer="xpointer(/docs/managerEvent[@name='Hangup']/managerEventInstance/syntax/parameter[@name='Cause'])" />
|
<xi:include xpointer="xpointer(/docs/managerEvent[@name='Hangup']/managerEventInstance/syntax/parameter[@name='Cause'])" />
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">SoftHangupRequest</ref>
|
||||||
|
<ref type="managerEvent">Hangup</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="SoftHangupRequest">
|
<managerEvent language="en_US" name="SoftHangupRequest">
|
||||||
@@ -84,6 +102,10 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<channel_snapshot/>
|
<channel_snapshot/>
|
||||||
<xi:include xpointer="xpointer(/docs/managerEvent[@name='Hangup']/managerEventInstance/syntax/parameter[@name='Cause'])" />
|
<xi:include xpointer="xpointer(/docs/managerEvent[@name='Hangup']/managerEventInstance/syntax/parameter[@name='Cause'])" />
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">HangupRequest</ref>
|
||||||
|
<ref type="managerEvent">Hangup</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="NewExten">
|
<managerEvent language="en_US" name="NewExten">
|
||||||
@@ -114,6 +136,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<para>A description of the Caller ID presentation.</para>
|
<para>A description of the Caller ID presentation.</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="function">CALLERID</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="NewAccountCode">
|
<managerEvent language="en_US" name="NewAccountCode">
|
||||||
@@ -125,6 +150,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<para>The channel's previous account code</para>
|
<para>The channel's previous account code</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="function">CHANNEL</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="DialBegin">
|
<managerEvent language="en_US" name="DialBegin">
|
||||||
@@ -139,6 +167,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
</syntax>
|
</syntax>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="application">Dial</ref>
|
<ref type="application">Dial</ref>
|
||||||
|
<ref type="application">Originate</ref>
|
||||||
|
<ref type="manager">Originate</ref>
|
||||||
|
<ref type="managerEvent">DialEnd</ref>
|
||||||
</see-also>
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
@@ -219,6 +250,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
</syntax>
|
</syntax>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="application">Dial</ref>
|
<ref type="application">Dial</ref>
|
||||||
|
<ref type="application">Originate</ref>
|
||||||
|
<ref type="manager">Originate</ref>
|
||||||
|
<ref type="managerEvent">DialBegin</ref>
|
||||||
</see-also>
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
@@ -231,6 +265,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<para>The suggested MusicClass, if provided.</para>
|
<para>The suggested MusicClass, if provided.</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">Unhold</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="Unhold">
|
<managerEvent language="en_US" name="Unhold">
|
||||||
@@ -239,6 +276,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<syntax>
|
<syntax>
|
||||||
<channel_snapshot/>
|
<channel_snapshot/>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">Hold</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="ChanSpyStart">
|
<managerEvent language="en_US" name="ChanSpyStart">
|
||||||
@@ -249,7 +289,8 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<channel_snapshot prefix="Spyee"/>
|
<channel_snapshot prefix="Spyee"/>
|
||||||
</syntax>
|
</syntax>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="application">ChanSpyStop</ref>
|
<ref type="managerEvent">ChanSpyStop</ref>
|
||||||
|
<ref type="application">ChanSpy</ref>
|
||||||
</see-also>
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
@@ -261,7 +302,8 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<channel_snapshot prefix="Spyee"/>
|
<channel_snapshot prefix="Spyee"/>
|
||||||
</syntax>
|
</syntax>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="application">ChanSpyStart</ref>
|
<ref type="managerEvent">ChanSpyStart</ref>
|
||||||
|
<ref type="application">ChanSpy</ref>
|
||||||
</see-also>
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
@@ -274,6 +316,9 @@ ASTERISK_REGISTER_FILE()
|
|||||||
<para>Hangup handler parameter string passed to the Gosub application.</para>
|
<para>Hangup handler parameter string passed to the Gosub application.</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="function">CHANNEL</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="HangupHandlerPop">
|
<managerEvent language="en_US" name="HangupHandlerPop">
|
||||||
@@ -380,6 +425,7 @@ ASTERISK_REGISTER_FILE()
|
|||||||
</syntax>
|
</syntax>
|
||||||
<see-also>
|
<see-also>
|
||||||
<ref type="managerEvent">MusicOnHoldStop</ref>
|
<ref type="managerEvent">MusicOnHoldStop</ref>
|
||||||
|
<ref type="application">StartMusicOnHold</ref>
|
||||||
<ref type="application">MusicOnHold</ref>
|
<ref type="application">MusicOnHold</ref>
|
||||||
</see-also>
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
@@ -856,6 +902,9 @@ static void channel_dtmf_begin_cb(void *data, struct stasis_subscription *sub,
|
|||||||
</enumlist>
|
</enumlist>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">DTMFEnd</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
***/
|
***/
|
||||||
manager_event(EVENT_FLAG_DTMF, "DTMFBegin",
|
manager_event(EVENT_FLAG_DTMF, "DTMFBegin",
|
||||||
@@ -902,6 +951,9 @@ static void channel_dtmf_end_cb(void *data, struct stasis_subscription *sub,
|
|||||||
</enumlist>
|
</enumlist>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">DTMFBegin</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
***/
|
***/
|
||||||
manager_event(EVENT_FLAG_DTMF, "DTMFEnd",
|
manager_event(EVENT_FLAG_DTMF, "DTMFEnd",
|
||||||
|
@@ -102,6 +102,9 @@
|
|||||||
and sending this report.</para>
|
and sending this report.</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">RTCPReceived</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
<managerEvent language="en_US" name="RTCPReceived">
|
<managerEvent language="en_US" name="RTCPReceived">
|
||||||
@@ -131,6 +134,9 @@
|
|||||||
<xi:include xpointer="xpointer(/docs/managerEvent[@name='RTCPSent']/managerEventInstance/syntax/parameter[@name='SentOctets'])" />
|
<xi:include xpointer="xpointer(/docs/managerEvent[@name='RTCPSent']/managerEventInstance/syntax/parameter[@name='SentOctets'])" />
|
||||||
<xi:include xpointer="xpointer(/docs/managerEvent[@name='RTCPSent']/managerEventInstance/syntax/parameter[contains(@name, 'ReportX')])" />
|
<xi:include xpointer="xpointer(/docs/managerEvent[@name='RTCPSent']/managerEventInstance/syntax/parameter[contains(@name, 'ReportX')])" />
|
||||||
</syntax>
|
</syntax>
|
||||||
|
<see-also>
|
||||||
|
<ref type="managerEvent">RTCPSent</ref>
|
||||||
|
</see-also>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
***/
|
***/
|
||||||
|
Reference in New Issue
Block a user