[asterisk-commits] seanbright: branch 1.8 r355448 - /branches/1.8/channels/chan_iax2.c

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


Author: seanbright
Date: Wed Feb 15 11:24:22 2012
New Revision: 355448

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355448
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.

Modified:
    branches/1.8/channels/chan_iax2.c

Modified: branches/1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_iax2.c?view=diff&rev=355448&r1=355447&r2=355448
==============================================================================
--- branches/1.8/channels/chan_iax2.c (original)
+++ branches/1.8/channels/chan_iax2.c Wed Feb 15 11:24:22 2012
@@ -3431,7 +3431,7 @@
 		ast_channel_unlock(owner);
 	}
 
-	if (callno & 0x4000) {
+	if (callno & TRUNK_CALL_START) {
 		update_max_trunk();
 	}
 }




More information about the asterisk-commits mailing list