summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_enum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/funcs/func_enum.c b/funcs/func_enum.c
index 806118a59..2713b2451 100644
--- a/funcs/func_enum.c
+++ b/funcs/func_enum.c
@@ -84,6 +84,9 @@ static int function_enum(struct ast_channel *chan, char *cmd, char *data,
ast_copy_string(tech, args.tech ? args.tech : "sip", sizeof(tech));
+ if (!args.zone)
+ args.zone = "e164.arpa";
+
if (!args.options)
args.options = "1";