summaryrefslogtreecommitdiff
path: root/pbx/pbx_realtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/pbx_realtime.c')
-rw-r--r--pbx/pbx_realtime.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index 2b17cbcee..977898415 100644
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -155,11 +155,11 @@ static int extension_length_comparator(struct ast_category *p, struct ast_catego
[context@][realtimetable][/options]
- If the realtimetable is omitted it is assumed to be "extensions". If no context is
+ If the realtimetable is omitted it is assumed to be "extensions". If no context is
specified the context is assumed to be whatever is the container.
The realtime table should have entries for context,exten,priority,app,args
-
+
The realtime table currently does not support callerid fields.
*/
@@ -196,7 +196,7 @@ static struct ast_variable *realtime_switch_common(const char *table, const char
}
var = ast_load_realtime(table, ematch, rexten, "context", context, "priority", pri, SENTINEL);
if (!var && !ast_test_flag(&flags, OPTION_PATTERNS_DISABLED)) {
- cfg = ast_load_realtime_multientry(table, "exten LIKE", "\\_%", "context", context, "priority", pri, SENTINEL);
+ cfg = ast_load_realtime_multientry(table, "exten LIKE", "\\_%", "context", context, "priority", pri, SENTINEL);
if (cfg) {
char *cat = NULL;
@@ -417,4 +417,3 @@ static int load_module(void)
}
AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Realtime Switch");
-