main/pbx: Move variable routines to pbx_variables.c.

This is the third patch in a series meant to reduce the bulk of pbx.c.
This moves channel and global variable routines to their own source.

Change-Id: Ibe8fb4647db11598591d443a99e3f99200a56bc6
This commit is contained in:
Corey Farrell
2016-01-04 17:22:59 -05:00
parent f42036bf6b
commit 7fdcfd7724
5 changed files with 1187 additions and 1114 deletions

View File

@@ -4653,6 +4653,11 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou
exit(1);
}
if (load_pbx_variables()) {
printf("Failed: load_pbx_variables\n%s", term_quit());
exit(1);
}
if (ast_local_init()) {
printf("Failed: ast_local_init\n%s", term_quit());
exit(1);