diff options
author | Corey Farrell <git@cfware.com> | 2015-12-30 21:51:47 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-01 14:01:15 -0500 |
commit | 2ffade45742a5c4361998625bef58eca0fbdb95e (patch) | |
tree | 8314333a4838cdb4439d7178707284aa51c3cfc7 /main/asterisk.c | |
parent | bc7c882326a7f8176fbec018581046068ec0b592 (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 18b5ddf87..0e179a397 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4648,6 +4648,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); |