mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 12:28:27 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user