From bdcaf87bf249c64228862961550c947bf02da164 Mon Sep 17 00:00:00 2001 From: Naveen Albert Date: Sat, 5 Feb 2022 01:46:27 +0000 Subject: [PATCH] documentation: Adds missing default attributes. The configObject tag contains a default attribute which allows the default value to be specified, if applicable. This allows for the default value to show up specially on the wiki in a way that is clear to users. There are a couple places in the tree where default values are included in the description as opposed to as attributes, which means these can't be parsed specially for the wiki. These are changed to use the attribute instead of being included in the text description. ASTERISK-29898 #close Change-Id: I9d7ea08f50075f41459ea7b76654906b674ec755 --- main/cdr.c | 4 ++-- res/res_ari.c | 4 ++-- res/res_pjsip.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main/cdr.c b/main/cdr.c index abc5cb36c8..0b4bed177b 100644 --- a/main/cdr.c +++ b/main/cdr.c @@ -90,10 +90,10 @@ of use when debugging CDR behavior. - + Enable/disable CDR logging. Define whether or not to use CDR logging. Setting this to "no" will override - any loading of backend CDR modules. Default is "yes". + any loading of backend CDR modules. diff --git a/res/res_ari.c b/res/res_ari.c index e8d1fee722..025fa90ca4 100644 --- a/res/res_ari.c +++ b/res/res_ari.c @@ -96,12 +96,12 @@ https://wiki.asterisk.org/wiki/display/AST/Asterisk+Builtin+mini-HTTP+Server - + The timeout (in milliseconds) to set on WebSocket connections. If a websocket connection accepts input slowly, the timeout for writes to it can be increased to keep it from being disconnected. - Value is in milliseconds; default is 100 ms. + Value is in milliseconds. diff --git a/res/res_pjsip.c b/res/res_pjsip.c index bed94dd864..753cc53cf2 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -1795,12 +1795,12 @@ or the wss protocols. - + The timeout (in milliseconds) to set on WebSocket connections. If a websocket connection accepts input slowly, the timeout for writes to it can be increased to keep it from being disconnected. - Value is in milliseconds; default is 100 ms. + Value is in milliseconds.