[asterisk-commits] rmudgett: branch 1.6.2 r300165 - /branches/1.6.2/main/features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 3 23:02:17 UTC 2011
Author: rmudgett
Date: Mon Jan 3 17:02:13 2011
New Revision: 300165
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=300165
Log:
Use correct variable for atxfercallbackretries config option.
* Misc formatting changes.
Modified:
branches/1.6.2/main/features.c
Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=300165&r1=300164&r2=300165
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Mon Jan 3 17:02:13 2011
@@ -160,14 +160,14 @@
</application>
***/
-#define DEFAULT_PARK_TIME 45000
-#define DEFAULT_TRANSFER_DIGIT_TIMEOUT 3000
-#define DEFAULT_FEATURE_DIGIT_TIMEOUT 1000
-#define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000
-#define DEFAULT_PARKINGLOT "default" /*!< Default parking lot */
-#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_TRANSFER_DIGIT_TIMEOUT 3000 /*!< ms */
+#define DEFAULT_FEATURE_DIGIT_TIMEOUT 1000 /*!< ms */
+#define DEFAULT_NOANSWER_TIMEOUT_ATTENDED_TRANSFER 15000 /*!< ms */
+#define DEFAULT_PARKINGLOT "default"
+#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
@@ -2818,7 +2818,7 @@
}
config->start_time = ast_tvnow();
config->feature_timer = featuredigittimeout;
- ast_debug(1, "Set time limit to %ld\n", config->feature_timer);
+ ast_debug(1, "Set time limit to %ld ms\n", config->feature_timer);
}
}
if (f)
@@ -3920,7 +3920,7 @@
} 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;
}
More information about the asterisk-commits
mailing list