diff options
author | Corey Farrell <git@cfware.com> | 2016-01-04 20:46:25 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-04 20:46:25 -0500 |
commit | 3507494b8aa31a0813ab1a4413be301ae4bd1f40 (patch) | |
tree | 0f28af375da0c61d7bd8f2720117888b4c4f05a1 /main/asterisk.c | |
parent | 54a8f1a396bb1866573b6c85bac34abcda18581f (diff) |
main/pbx: Move dialplan application management routines to pbx_app.c.
This is the sixth patch in a series meant to reduce the bulk of pbx.c.
This moves dialplan application management functions to their own source.
Change-Id: I444c10fb90a3cdf9f3047605d6a8aad49c22c44c
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 86e224080..448d627df 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4615,6 +4615,11 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou exit(1); } + if (load_pbx_app()) { + printf("Failed: load_pbx_app\n%s", term_quit()); + exit(1); + } + if (ast_local_init()) { printf("Failed: ast_local_init\n%s", term_quit()); exit(1); |