diff options
author | Corey Farrell <git@cfware.com> | 2015-12-30 21:51:47 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-01 13:48:36 -0500 |
commit | f9bfc2450e3eb07e86e46bc4721997f038ff1a52 (patch) | |
tree | 97abfbf953733e76d684d6dcb0a800b3fa29d1e0 /main/asterisk.c | |
parent | 11d99e0809058841b3f0db4771b212c683ff92a9 (diff) |
main/pbx: Move custom function routines to pbx_functions.c.
This is the second patch in a series meant to reduce the bulk of pbx.c.
This moves custom function management routines to their own source.
Change-Id: I34a6190282f781cdbbd3ce9d3adeac3c3805e177
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index a72e249e0..ec49c65e0 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4600,6 +4600,11 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou exit(1); } + if (load_pbx_functions_cli()) { + printf("Failed: load_pbx_functions_cli\n%s", term_quit()); + exit(1); + } + if (ast_local_init()) { printf("Failed: ast_local_init\n%s", term_quit()); exit(1); |