diff options
author | Corey Farrell <git@cfware.com> | 2016-01-04 19:20:35 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-04 19:20:35 -0500 |
commit | 54a8f1a396bb1866573b6c85bac34abcda18581f (patch) | |
tree | 4df349d8f956658109a5e45f9648b00aee3d74a3 /main/asterisk.c | |
parent | c3c8b8e41dac290cbfbecb3e4a6dfde2d57d4e35 (diff) |
main/pbx: Move switch routines to pbx_switch.c.
This is the fifth patch in a series meant to reduce the bulk of pbx.c.
This moves ast_switch functions to their own source.
Change-Id: Ic2592a18a5c4d8a3c2dcf9786c9a6f650a8c628e
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 7057b944e..86e224080 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4610,6 +4610,11 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou exit(1); } + if (load_pbx_switch()) { + printf("Failed: load_pbx_switch\n%s", term_quit()); + exit(1); + } + if (ast_local_init()) { printf("Failed: ast_local_init\n%s", term_quit()); exit(1); |