mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-04 05:55:58 -07:00
clear the 'delay PBX' flag when we are ready to start the PBX
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6714,6 +6714,7 @@ retryowner:
|
||||
}
|
||||
|
||||
if (ast_test_flag(iaxs[fr->callno], IAX_DELAYPBXSTART)) {
|
||||
ast_clear_flag(iaxs[fr->callno], IAX_DELAYPBXSTART);
|
||||
if (ast_pbx_start(iaxs[fr->callno]->owner)) {
|
||||
ast_log(LOG_WARNING, "Unable to start PBX on %s\n", iaxs[fr->callno]->owner->name);
|
||||
ast_hangup(iaxs[fr->callno]->owner);
|
||||
|
||||
Reference in New Issue
Block a user