[asterisk-commits] seanbright: trunk r355450 - in /trunk: ./ channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 15 11:26:34 CST 2012


Author: seanbright
Date: Wed Feb 15 11:26:30 2012
New Revision: 355450

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355450
Log:
Use TRUNK_CALL_START as originally intended.

Back in r646, TRUNK_CALL_START was added and defined as 0x4000.  That same value
was also hard-coded in one part of the IAX2 code instead of using the #define.

TRUNK_CALL_START has changed over the years (for dealing with LOW_MEMORY), but
the hard-coded usage was never updated to match.  This patch fixes that.
........

Merged revisions 355448 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 355449 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=355450&r1=355449&r2=355450
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Feb 15 11:26:30 2012
@@ -3507,7 +3507,7 @@
 		ast_channel_unlock(owner);
 	}
 
-	if (callno & 0x4000) {
+	if (callno & TRUNK_CALL_START) {
 		update_max_trunk();
 	}
 }




More information about the asterisk-commits mailing list