aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c
index e083b4224..551c72e32 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -26,6 +26,7 @@
#include <asterisk/term.h>
#include <asterisk/manager.h>
#include <asterisk/pbx.h>
+#include <asterisk/enum.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <stdio.h>
@@ -1333,6 +1334,10 @@ int main(int argc, char *argv[])
printf(term_quit());
exit(1);
}
+ if (ast_enum_init()) {
+ printf(term_quit());
+ exit(1);
+ }
/* We might have the option of showing a console, but for now just
do nothing... */
if (option_console && !option_verbose)