[asterisk-commits] rmudgett: branch 1.6.2 r227280 - /branches/1.6.2/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 3 12:16:01 CST 2009


Author: rmudgett
Date: Tue Nov  3 12:15:57 2009
New Revision: 227280

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227280
Log:
Merged revisions 227275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r227275 | rmudgett | 2009-11-03 11:55:47 -0600 (Tue, 03 Nov 2009) | 4 lines

  Make sure the outgoing flag is cleared if a new channel fails to get created for outgoing calls.

  This is the relevant portion of asterisk/trunk -r226648
........

Modified:
    branches/1.6.2/channels/chan_dahdi.c

Modified: branches/1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_dahdi.c?view=diff&rev=227280&r1=227279&r2=227280
==============================================================================
--- branches/1.6.2/channels/chan_dahdi.c (original)
+++ branches/1.6.2/channels/chan_dahdi.c Tue Nov  3 12:15:57 2009
@@ -10986,6 +10986,9 @@
 			}
 			p->outgoing = 1;
 			tmp = dahdi_new(p, AST_STATE_RESERVED, 0, p->owner ? SUB_CALLWAIT : SUB_REAL, 0, 0);
+			if (!tmp) {
+				p->outgoing = 0;
+			}
 #ifdef HAVE_PRI
 			if (p->bearer) {
 				/* Log owner to bearer channel, too */




More information about the asterisk-commits mailing list