diff options
author | Corey Farrell <git@cfware.com> | 2016-01-04 20:46:25 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-05 12:09:38 -0500 |
commit | ab191d124c5f1ac085c6c1e53a9983f879f194e5 (patch) | |
tree | 8491294e80061f23c4a3186d563f992cd1d82cad /main/asterisk.c | |
parent | 09a9b93896a4a027528d98d0447c8e9175fb80ff (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 31cb90cc5..82220b4df 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4663,6 +4663,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); |