remove T38_SUPPORT define that is no longer needed
authorKevin P. Fleming <kpfleming@digium.com>
Sun, 30 Apr 2006 08:47:47 +0000 (08:47 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sun, 30 Apr 2006 08:47:47 +0000 (08:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c
build_tools/cflags.xml
channel.c
include/asterisk/frame.h

index bb40906..93f6af8 100644 (file)
@@ -111,9 +111,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/enum.h"
 #include "asterisk/rtp.h"
 #include "asterisk/http.h"
-#if defined(T38_SUPPORT)
 #include "asterisk/udptl.h"
-#endif
 #include "asterisk/app.h"
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
@@ -2582,9 +2580,7 @@ int main(int argc, char *argv[])
                exit(1);
        }
        ast_rtp_init();
-#if defined(T38_SUPPORT)
        ast_udptl_init();
-#endif
        if (ast_image_init()) {
                printf(term_quit());
                exit(1);
index 3bb1393..af8077f 100644 (file)
@@ -17,7 +17,4 @@
                </member>
                <member name="-DMTX_PROFILE">
                </member>
-               <member name="-DT38_SUPPORT">
-                       <defaultenabled>yes</defaultenabled>
-               </member>
        </category>
index 6a8def8..aba97cf 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -3330,9 +3330,7 @@ static enum ast_bridge_result ast_generic_bridge(struct ast_channel *c0, struct
                    (f->frametype == AST_FRAME_VIDEO) ||
                    (f->frametype == AST_FRAME_IMAGE) ||
                    (f->frametype == AST_FRAME_HTML) ||
-#if defined(T38_SUPPORT)
                    (f->frametype == AST_FRAME_MODEM) ||
-#endif
                    (f->frametype == AST_FRAME_TEXT)) {
                        /* monitored dtmf causes exit from bridge */
                        int monitored_source = (who == c0) ? watch_c0_dtmf : watch_c1_dtmf;
index dd1a417..b70b7bc 100644 (file)
@@ -164,22 +164,18 @@ extern struct ast_frame ast_null_frame;
 /*! Comfort Noise frame (subclass is level of CNG in -dBov), 
     body may include zero or more 8-bit quantization coefficients */
 #define AST_FRAME_CNG          10
-#if defined(T38_SUPPORT)
 /*! Modem-over-IP data streams */
 #define AST_FRAME_MODEM                11
-#endif /* T38_SUPPORT */
 /*! DTMF begin event, subclass is the digit */
 #define AST_FRAME_DTMF_BEGIN   12
 /*! DTMF end event, subclass is the digit */
 #define AST_FRAME_DTMF_END     13
 
-#if defined(T38_SUPPORT)
 /* MODEM subclasses */
 /*! T.38 Fax-over-IP */
 #define AST_MODEM_T38          1
 /*! V.150 Modem-over-IP */
 #define AST_MODEM_V150         2
-#endif /* T38_SUPPORT */
 
 /* HTML subclasses */
 /*! Sending a URL */