[Home]

Summary:ASTERISK-03066: [patch] Use ast_flag macros for chan_iax2
Reporter:Russell Bryant (russell)Labels:
Date Opened:2004-12-22 01:11:16.000-0600Date Closed:2008-01-15 15:17:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) iaxflags.diff.txt
Description:This patch gets rid of a lot of ints in favor of using the flag macros in utils.h.

This also gets rid of an "int autoanswer" in the pvt struct that wasn't being used.

****** ADDITIONAL INFORMATION ******

disclaimer is on file
Comments:By: Kevin P. Fleming (kpfleming) 2004-12-22 15:29:25.000-0600

Patch declares "globalflags" non-static, which could potentially conflict with other modules. Otherwise looks excellent to me, eliminates a ton of memory consumption :-)

By: Russell Bryant (russell) 2004-12-22 16:03:50.000-0600

Oops.  Fixed.  :)

Thanks!

By: Mark Spencer (markster) 2004-12-22 20:46:03.000-0600

Added to CVS, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:17:56.000-0600

Repository: asterisk
Revision: 4536

U   trunk/channels/chan_iax2.c

------------------------------------------------------------------------
r4536 | markster | 2008-01-15 15:17:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Move iax2 to flags, too (thanks drumkilla!) (bug ASTERISK-3066)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4536