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
This commit is contained in:
Corey Farrell
2016-01-04 19:20:35 -05:00
parent c608274a39
commit 09a9b93896
5 changed files with 143 additions and 80 deletions

View File

@@ -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);