summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-01-03 23:18:20 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-01-03 23:18:20 +0000
commit9be73e35de3ff7455063db96326c351b65dc52fa (patch)
treecd9305621c46fdba688f25d8adade7413282aa16
parent19d14fe577a9196a5f6a4a0aeea4b32a994f999d (diff)
Merged revisions 300166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r300166 | rmudgett | 2011-01-03 17:14:55 -0600 (Mon, 03 Jan 2011) | 11 lines Merged revisions 300165 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r300165 | rmudgett | 2011-01-03 17:02:13 -0600 (Mon, 03 Jan 2011) | 4 lines Use correct variable for atxfercallbackretries config option. * Misc formatting changes. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@300168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/features.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/features.c b/main/features.c
index 032c68b5c..32e739aac 100644
--- a/main/features.c
+++ b/main/features.c
@@ -291,14 +291,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</manager>
***/
-#define DEFAULT_PARK_TIME 45000
-#define DEFAULT_PARK_EXTENSION "700"
-#define DEFAULT_TRANSFER_DIGIT_TIMEOUT 3000
-#define DEFAULT_FEATURE_DIGIT_TIMEOUT 1000
-#define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000
-#define DEFAULT_ATXFER_DROP_CALL 0
-#define DEFAULT_ATXFER_LOOP_DELAY 10000
-#define DEFAULT_ATXFER_CALLBACK_RETRIES 2
+#define DEFAULT_PARK_TIME 45000 /*!< ms */
+#define DEFAULT_PARK_EXTENSION "700"
+#define DEFAULT_TRANSFER_DIGIT_TIMEOUT 3000 /*!< ms */
+#define DEFAULT_FEATURE_DIGIT_TIMEOUT 1000 /*!< ms */
+#define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000 /*!< ms */
+#define DEFAULT_ATXFER_DROP_CALL 0 /*!< Do not drop call. */
+#define DEFAULT_ATXFER_LOOP_DELAY 10000 /*!< ms */
+#define DEFAULT_ATXFER_CALLBACK_RETRIES 2
#define AST_MAX_WATCHERS 256
#define MAX_DIAL_FEATURE_OPTIONS 30
@@ -3412,7 +3412,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
}
config->feature_start_time = ast_tvnow();
config->feature_timer = featuredigittimeout;
- ast_debug(1, "Set feature timer to %ld\n", config->feature_timer);
+ ast_debug(1, "Set feature timer to %ld ms\n", config->feature_timer);
}
}
if (f)
@@ -4585,7 +4585,7 @@ static int load_config(void)
} else if (!strcasecmp(var->name, "atxferdropcall")) {
atxferdropcall = ast_true(var->value);
} else if (!strcasecmp(var->name, "atxfercallbackretries")) {
- if ((sscanf(var->value, "%30u", &atxferloopdelay) != 1)) {
+ if ((sscanf(var->value, "%30u", &atxfercallbackretries) != 1)) {
ast_log(LOG_WARNING, "%s is not a valid atxfercallbackretries\n", var->value);
atxfercallbackretries = DEFAULT_ATXFER_CALLBACK_RETRIES;
}