Add ENUM configurable search path

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-05-01 04:29:25 +00:00
parent b7dcee9370
commit 475fc3de54
5 changed files with 113 additions and 8 deletions

View File

@@ -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)