diff options
author | Corey Farrell <git@cfware.com> | 2016-01-04 19:20:35 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-01-05 12:07:43 -0500 |
commit | 09a9b93896a4a027528d98d0447c8e9175fb80ff (patch) | |
tree | 8e51fc95ec5071ed4434d5cf40279acf424138c1 /main/asterisk.c | |
parent | c608274a39f9916ed72d7b3f8f971ac7e8218f32 (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 bc74ecaa8..31cb90cc5 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -4658,6 +4658,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); |