main/pbx: Move hangup handler routines to pbx_hangup_handler.c.

This is the sixth patch in a series meant to reduce the bulk of pbx.c.
This moves hangup handler management functions to their own source.

Change-Id: Ib25a75aa57fc7d5c4294479e5cc46775912fb104
This commit is contained in:
Corey Farrell
2016-01-04 21:23:01 -05:00
parent ab191d124c
commit e462f0063f
4 changed files with 306 additions and 244 deletions

View File

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