[asterisk-commits] kpfleming: branch 1.4 r65680 - /branches/1.4/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 23 13:35:51 MST 2007


Author: kpfleming
Date: Wed May 23 15:35:50 2007
New Revision: 65680

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65680
Log:
clear the 'delay PBX' flag when we are ready to start the PBX

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=65680&r1=65679&r2=65680
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Wed May 23 15:35:50 2007
@@ -6714,6 +6714,7 @@
 			}
 
 			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);



More information about the asterisk-commits mailing list