mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
manager.c: Update AMI Status event documentation
The AMI Status event had linkedid listed twice and was missing the effective connected line name and number headers. NOTE: The linkedid and other standard channel snapshot fields in the XML documentation are part of the <channel_snapshot/> XML template defined in doc/appdocsxml.xslt. Change-Id: I004c4c4f9e7b40ef55035c831702721bec82496c
This commit is contained in:
@@ -253,14 +253,16 @@
|
|||||||
<parameter name="DNID">
|
<parameter name="DNID">
|
||||||
<para>Dialed number identifier</para>
|
<para>Dialed number identifier</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
<parameter name="EffectiveConnectedLineNum">
|
||||||
|
</parameter>
|
||||||
|
<parameter name="EffectiveConnectedLineName">
|
||||||
|
</parameter>
|
||||||
<parameter name="TimeToHangup">
|
<parameter name="TimeToHangup">
|
||||||
<para>Absolute lifetime of the channel</para>
|
<para>Absolute lifetime of the channel</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="BridgeID">
|
<parameter name="BridgeID">
|
||||||
<para>Identifier of the bridge the channel is in, may be empty if not in one</para>
|
<para>Identifier of the bridge the channel is in, may be empty if not in one</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="Linkedid">
|
|
||||||
</parameter>
|
|
||||||
<parameter name="Application">
|
<parameter name="Application">
|
||||||
<para>Application currently executing on the channel</para>
|
<para>Application currently executing on the channel</para>
|
||||||
</parameter>
|
</parameter>
|
||||||
@@ -4614,7 +4616,6 @@ static void generate_status(struct mansession *s, struct ast_channel *chan, char
|
|||||||
"EffectiveConnectedLineName: %s\r\n"
|
"EffectiveConnectedLineName: %s\r\n"
|
||||||
"TimeToHangup: %ld\r\n"
|
"TimeToHangup: %ld\r\n"
|
||||||
"BridgeID: %s\r\n"
|
"BridgeID: %s\r\n"
|
||||||
"Linkedid: %s\r\n"
|
|
||||||
"Application: %s\r\n"
|
"Application: %s\r\n"
|
||||||
"Data: %s\r\n"
|
"Data: %s\r\n"
|
||||||
"Nativeformats: %s\r\n"
|
"Nativeformats: %s\r\n"
|
||||||
@@ -4635,7 +4636,6 @@ static void generate_status(struct mansession *s, struct ast_channel *chan, char
|
|||||||
S_COR(effective_id.name.valid, effective_id.name.str, "<unknown>"),
|
S_COR(effective_id.name.valid, effective_id.name.str, "<unknown>"),
|
||||||
(long)ast_channel_whentohangup(chan)->tv_sec,
|
(long)ast_channel_whentohangup(chan)->tv_sec,
|
||||||
bridge ? bridge->uniqueid : "",
|
bridge ? bridge->uniqueid : "",
|
||||||
ast_channel_linkedid(chan),
|
|
||||||
ast_channel_appl(chan),
|
ast_channel_appl(chan),
|
||||||
ast_channel_data(chan),
|
ast_channel_data(chan),
|
||||||
ast_format_cap_get_names(ast_channel_nativeformats(chan), &codec_buf),
|
ast_format_cap_get_names(ast_channel_nativeformats(chan), &codec_buf),
|
||||||
|
Reference in New Issue
Block a user