From: Richard Mudgett Date: Thu, 28 Dec 2017 02:48:40 +0000 (-0600) Subject: manager.c: Update AMI Status event documentation X-Git-Tag: 15.3.0-rc1~150^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d7304495f8e261ae7ef7835e80194dafa5e77df;p=thirdparty%2Fasterisk.git 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 XML template defined in doc/appdocsxml.xslt. Change-Id: I004c4c4f9e7b40ef55035c831702721bec82496c --- diff --git a/main/manager.c b/main/manager.c index 71d7432a0f..576978c31c 100644 --- a/main/manager.c +++ b/main/manager.c @@ -253,14 +253,16 @@ Dialed number identifier + + + + Absolute lifetime of the channel Identifier of the bridge the channel is in, may be empty if not in one - - Application currently executing on the channel @@ -4614,7 +4616,6 @@ static void generate_status(struct mansession *s, struct ast_channel *chan, char "EffectiveConnectedLineName: %s\r\n" "TimeToHangup: %ld\r\n" "BridgeID: %s\r\n" - "Linkedid: %s\r\n" "Application: %s\r\n" "Data: %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, ""), (long)ast_channel_whentohangup(chan)->tv_sec, bridge ? bridge->uniqueid : "", - ast_channel_linkedid(chan), ast_channel_appl(chan), ast_channel_data(chan), ast_format_cap_get_names(ast_channel_nativeformats(chan), &codec_buf),