From dfe5b94baf3e93cf2b9b8608231c678606ed650f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 5 May 2006 16:52:19 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1374 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libspeakup/config.log | 963 ------------------ .../endpoints/mod_dingaling/mod_dingaling.c | 3 +- src/switch_rtp.c | 39 +- 3 files changed, 24 insertions(+), 981 deletions(-) delete mode 100644 libs/libspeakup/config.log diff --git a/libs/libspeakup/config.log b/libs/libspeakup/config.log deleted file mode 100644 index e8cbdc44e2..0000000000 --- a/libs/libspeakup/config.log +++ /dev/null @@ -1,963 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by FULL-PACKAGE-NAME configure VERSION, which was -generated by GNU Autoconf 2.59. Invocation command line was - - $ ./configure --prefix=/usr/local/freeswitch - -## --------- ## -## Platform. ## -## --------- ## - -hostname = sipxchange.pingtel-demo.vw -uname -m = i686 -uname -r = 2.6.9-34.EL -uname -s = Linux -uname -v = #1 Fri Feb 24 16:44:51 EST 2006 - -/usr/bin/uname -p = unknown -/bin/uname -X = unknown - -/bin/arch = i686 -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/kerberos/sbin -PATH: /usr/kerberos/bin -PATH: /sbin -PATH: /usr/sbin -PATH: /bin -PATH: /usr/bin -PATH: /usr/X11R6/bin -PATH: /opt/bin -PATH: /usr/local/bin -PATH: /usr/local/sbin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:1551: checking for a BSD-compatible install -configure:1606: result: /usr/bin/install -c -configure:1617: checking whether build environment is sane -configure:1660: result: yes -configure:1725: checking for gawk -configure:1741: found /bin/gawk -configure:1751: result: gawk -configure:1761: checking whether /usr/bin/gmake sets $(MAKE) -configure:1781: result: yes -configure:1999: checking for gcc -configure:2015: found /usr/bin/gcc -configure:2025: result: gcc -configure:2269: checking for C compiler version -configure:2272: gcc --version &5 -gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2) -Copyright (C) 2004 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:2275: $? = 0 -configure:2277: gcc -v &5 -Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux -Thread model: posix -gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) -configure:2280: $? = 0 -configure:2282: gcc -V &5 -gcc: `-V' option must have argument -configure:2285: $? = 1 -configure:2308: checking for C compiler default output file name -configure:2311: gcc conftest.c >&5 -configure:2314: $? = 0 -configure:2360: result: a.out -configure:2365: checking whether the C compiler works -configure:2371: ./a.out -configure:2374: $? = 0 -configure:2391: result: yes -configure:2398: checking whether we are cross compiling -configure:2400: result: no -configure:2403: checking for suffix of executables -configure:2405: gcc -o conftest conftest.c >&5 -configure:2408: $? = 0 -configure:2433: result: -configure:2439: checking for suffix of object files -configure:2460: gcc -c conftest.c >&5 -configure:2463: $? = 0 -configure:2485: result: o -configure:2489: checking whether we are using the GNU C compiler -configure:2513: gcc -c conftest.c >&5 -configure:2519: $? = 0 -configure:2523: test -z - || test ! -s conftest.err -configure:2526: $? = 0 -configure:2529: test -s conftest.o -configure:2532: $? = 0 -configure:2545: result: yes -configure:2551: checking whether gcc accepts -g -configure:2572: gcc -c -g conftest.c >&5 -configure:2578: $? = 0 -configure:2582: test -z - || test ! -s conftest.err -configure:2585: $? = 0 -configure:2588: test -s conftest.o -configure:2591: $? = 0 -configure:2602: result: yes -configure:2619: checking for gcc option to accept ANSI C -configure:2689: gcc -c -g -O2 conftest.c >&5 -configure:2695: $? = 0 -configure:2699: test -z - || test ! -s conftest.err -configure:2702: $? = 0 -configure:2705: test -s conftest.o -configure:2708: $? = 0 -configure:2726: result: none needed -configure:2744: gcc -c -g -O2 conftest.c >&5 -conftest.c:2: error: syntax error before "me" -configure:2750: $? = 1 -configure: failed program was: -| #ifndef __cplusplus -| choke me -| #endif -configure:2894: checking for style of include used by /usr/bin/gmake -configure:2922: result: GNU -configure:2950: checking dependency style of gcc -configure:3040: result: gcc3 -configure:3057: checking whether /usr/bin/gmake sets $(MAKE) -configure:3077: result: yes -configure:3164: checking build system type -configure:3182: result: i686-pc-linux-gnu -configure:3190: checking host system type -configure:3204: result: i686-pc-linux-gnu -configure:3212: checking for a sed that does not truncate output -configure:3266: result: /bin/sed -configure:3269: checking for egrep -configure:3279: result: grep -E -configure:3295: checking for ld used by gcc -configure:3362: result: /usr/bin/ld -configure:3371: checking if the linker (/usr/bin/ld) is GNU ld -configure:3386: result: yes -configure:3391: checking for /usr/bin/ld option to reload object files -configure:3398: result: -r -configure:3416: checking for BSD-compatible nm -configure:3458: result: /usr/bin/nm -B -configure:3462: checking whether ln -s works -configure:3466: result: yes -configure:3473: checking how to recognise dependent libraries -configure:3645: result: pass_all -configure:3859: checking how to run the C preprocessor -configure:3894: gcc -E conftest.c -configure:3900: $? = 0 -configure:3932: gcc -E conftest.c -conftest.c:11:28: ac_nonexistent.h: No such file or directory -configure:3938: $? = 1 -configure: failed program was: -| /* confdefs.h. */ -| -| #define PACKAGE_NAME "FULL-PACKAGE-NAME" -| #define PACKAGE_TARNAME "full-package-name" -| #define PACKAGE_VERSION "VERSION" -| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -| #define PACKAGE "libspeakup" -| #define VERSION "0.1" -| /* end confdefs.h. */ -| #include -configure:3977: result: gcc -E -configure:4001: gcc -E conftest.c -configure:4007: $? = 0 -configure:4039: gcc -E conftest.c -conftest.c:11:28: ac_nonexistent.h: No such file or directory -configure:4045: $? = 1 -configure: failed program was: -| /* confdefs.h. */ -| -| #define PACKAGE_NAME "FULL-PACKAGE-NAME" -| #define PACKAGE_TARNAME "full-package-name" -| #define PACKAGE_VERSION "VERSION" -| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -| #define PACKAGE "libspeakup" -| #define VERSION "0.1" -| /* end confdefs.h. */ -| #include -configure:4089: checking for ANSI C header files -configure:4114: gcc -c -g -O2 conftest.c >&5 -configure:4120: $? = 0 -configure:4124: test -z - || test ! -s conftest.err -configure:4127: $? = 0 -configure:4130: test -s conftest.o -configure:4133: $? = 0 -configure:4222: gcc -o conftest -g -O2 conftest.c >&5 -configure:4225: $? = 0 -configure:4227: ./conftest -configure:4230: $? = 0 -configure:4245: result: yes -configure:4269: checking for sys/types.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for sys/stat.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for stdlib.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for string.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for memory.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for strings.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for inttypes.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for stdint.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4269: checking for unistd.h -configure:4285: gcc -c -g -O2 conftest.c >&5 -configure:4291: $? = 0 -configure:4295: test -z - || test ! -s conftest.err -configure:4298: $? = 0 -configure:4301: test -s conftest.o -configure:4304: $? = 0 -configure:4315: result: yes -configure:4341: checking dlfcn.h usability -configure:4353: gcc -c -g -O2 conftest.c >&5 -configure:4359: $? = 0 -configure:4363: test -z - || test ! -s conftest.err -configure:4366: $? = 0 -configure:4369: test -s conftest.o -configure:4372: $? = 0 -configure:4382: result: yes -configure:4386: checking dlfcn.h presence -configure:4396: gcc -E conftest.c -configure:4402: $? = 0 -configure:4422: result: yes -configure:4457: checking for dlfcn.h -configure:4464: result: yes -configure:4529: checking for g++ -configure:4545: found /usr/bin/g++ -configure:4555: result: g++ -configure:4571: checking for C++ compiler version -configure:4574: g++ --version &5 -g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2) -Copyright (C) 2004 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -configure:4577: $? = 0 -configure:4579: g++ -v &5 -Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux -Thread model: posix -gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) -configure:4582: $? = 0 -configure:4584: g++ -V &5 -g++: `-V' option must have argument -configure:4587: $? = 1 -configure:4590: checking whether we are using the GNU C++ compiler -configure:4614: g++ -c conftest.cc >&5 -configure:4620: $? = 0 -configure:4624: test -z - || test ! -s conftest.err -configure:4627: $? = 0 -configure:4630: test -s conftest.o -configure:4633: $? = 0 -configure:4646: result: yes -configure:4652: checking whether g++ accepts -g -configure:4673: g++ -c -g conftest.cc >&5 -configure:4679: $? = 0 -configure:4683: test -z - || test ! -s conftest.err -configure:4686: $? = 0 -configure:4689: test -s conftest.o -configure:4692: $? = 0 -configure:4703: result: yes -configure:4745: g++ -c -g -O2 conftest.cc >&5 -configure:4751: $? = 0 -configure:4755: test -z - || test ! -s conftest.err -configure:4758: $? = 0 -configure:4761: test -s conftest.o -configure:4764: $? = 0 -configure:4790: g++ -c -g -O2 conftest.cc >&5 -conftest.cc: In function `int main()': -conftest.cc:26: error: `exit' was not declared in this scope -configure:4796: $? = 1 -configure: failed program was: -| /* confdefs.h. */ -| -| #define PACKAGE_NAME "FULL-PACKAGE-NAME" -| #define PACKAGE_TARNAME "full-package-name" -| #define PACKAGE_VERSION "VERSION" -| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -| #define PACKAGE "libspeakup" -| #define VERSION "0.1" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| /* end confdefs.h. */ -| -| int -| main () -| { -| exit (42); -| ; -| return 0; -| } -configure:4745: g++ -c -g -O2 conftest.cc >&5 -configure:4751: $? = 0 -configure:4755: test -z - || test ! -s conftest.err -configure:4758: $? = 0 -configure:4761: test -s conftest.o -configure:4764: $? = 0 -configure:4790: g++ -c -g -O2 conftest.cc >&5 -configure:4796: $? = 0 -configure:4800: test -z - || test ! -s conftest.err -configure:4803: $? = 0 -configure:4806: test -s conftest.o -configure:4809: $? = 0 -configure:4834: checking dependency style of g++ -configure:4924: result: gcc3 -configure:4951: checking how to run the C++ preprocessor -configure:4982: g++ -E conftest.cc -configure:4988: $? = 0 -configure:5020: g++ -E conftest.cc -conftest.cc:25:28: ac_nonexistent.h: No such file or directory -configure:5026: $? = 1 -configure: failed program was: -| /* confdefs.h. */ -| -| #define PACKAGE_NAME "FULL-PACKAGE-NAME" -| #define PACKAGE_TARNAME "full-package-name" -| #define PACKAGE_VERSION "VERSION" -| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -| #define PACKAGE "libspeakup" -| #define VERSION "0.1" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #ifdef __cplusplus -| extern "C" void std::exit (int) throw (); using std::exit; -| #endif -| /* end confdefs.h. */ -| #include -configure:5065: result: g++ -E -configure:5089: g++ -E conftest.cc -configure:5095: $? = 0 -configure:5127: g++ -E conftest.cc -conftest.cc:25:28: ac_nonexistent.h: No such file or directory -configure:5133: $? = 1 -configure: failed program was: -| /* confdefs.h. */ -| -| #define PACKAGE_NAME "FULL-PACKAGE-NAME" -| #define PACKAGE_TARNAME "full-package-name" -| #define PACKAGE_VERSION "VERSION" -| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -| #define PACKAGE "libspeakup" -| #define VERSION "0.1" -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_DLFCN_H 1 -| #ifdef __cplusplus -| extern "C" void std::exit (int) throw (); using std::exit; -| #endif -| /* end confdefs.h. */ -| #include -configure:5230: checking for g77 -configure:5246: found /usr/bin/g77 -configure:5256: result: g77 -configure:5271: checking for Fortran 77 compiler version -configure:5274: g77 --version &5 -GNU Fortran (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2) -Copyright (C) 2004 Free Software Foundation, Inc. - -GNU Fortran comes with NO WARRANTY, to the extent permitted by law. -You may redistribute copies of GNU Fortran -under the terms of the GNU General Public License. -For more information about these matters, see the file named COPYING -or type the command `info -f g77 Copying'. -configure:5277: $? = 0 -configure:5279: g77 -v &5 -Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux -Thread model: posix -gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) -configure:5282: $? = 0 -configure:5284: g77 -V &5 -g77: `-V' option must have argument -configure:5287: $? = 1 -configure:5295: checking whether we are using the GNU Fortran 77 compiler -configure:5309: g77 -c conftest.F >&5 -configure:5315: $? = 0 -configure:5319: test -z - || test ! -s conftest.err -configure:5322: $? = 0 -configure:5325: test -s conftest.o -configure:5328: $? = 0 -configure:5341: result: yes -configure:5347: checking whether g77 accepts -g -configure:5359: g77 -c -g conftest.f >&5 -configure:5365: $? = 0 -configure:5369: test -z - || test ! -s conftest.err -configure:5372: $? = 0 -configure:5375: test -s conftest.o -configure:5378: $? = 0 -configure:5390: result: yes -configure:5420: checking the maximum length of command line arguments -configure:5512: result: 32768 -configure:5523: checking command to parse /usr/bin/nm -B output from gcc object -configure:5619: gcc -c -g -O2 conftest.c >&5 -configure:5622: $? = 0 -configure:5626: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm -configure:5629: $? = 0 -configure:5681: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 -configure:5684: $? = 0 -configure:5722: result: ok -configure:5726: checking for objdir -configure:5741: result: .libs -configure:5831: checking for ar -configure:5847: found /usr/bin/ar -configure:5858: result: ar -configure:5911: checking for ranlib -configure:5927: found /usr/bin/ranlib -configure:5938: result: ranlib -configure:5991: checking for strip -configure:6007: found /usr/bin/strip -configure:6018: result: strip -configure:6305: checking if gcc static flag works -configure:6333: result: yes -configure:6351: checking if gcc supports -fno-rtti -fno-exceptions -configure:6369: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 -cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C -configure:6373: $? = 0 -configure:6386: result: no -configure:6401: checking for gcc option to produce PIC -configure:6605: result: -fPIC -configure:6613: checking if gcc PIC flag -fPIC works -configure:6631: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 -configure:6635: $? = 0 -configure:6648: result: yes -configure:6672: checking if gcc supports -c -o file.o -configure:6693: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 -configure:6697: $? = 0 -configure:6719: result: yes -configure:6745: checking whether the gcc linker (/usr/bin/ld) supports shared libraries -configure:7641: result: yes -configure:7667: checking whether -lc should be explicitly linked in -configure:7672: gcc -c -g -O2 conftest.c >&5 -configure:7675: $? = 0 -configure:7689: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 -configure:7692: $? = 0 -configure:7704: result: no -configure:7712: checking dynamic linker characteristics -configure:8258: result: GNU/Linux ld.so -configure:8262: checking how to hardcode library paths into programs -configure:8287: result: immediate -configure:8301: checking whether stripping libraries is possible -configure:8306: result: yes -configure:9136: checking if libtool supports shared libraries -configure:9138: result: yes -configure:9141: checking whether to build shared libraries -configure:9162: result: yes -configure:9165: checking whether to build static libraries -configure:9169: result: yes -configure:9261: creating libtool -configure:9839: checking for ld used by g++ -configure:9906: result: /usr/bin/ld -configure:9915: checking if the linker (/usr/bin/ld) is GNU ld -configure:9930: result: yes -configure:9981: checking whether the g++ linker (/usr/bin/ld) supports shared libraries -configure:10868: result: yes -configure:10886: g++ -c -g -O2 conftest.cc >&5 -configure:10889: $? = 0 -configure:10985: checking for g++ option to produce PIC -configure:11253: result: -fPIC -configure:11261: checking if g++ PIC flag -fPIC works -configure:11279: g++ -c -g -O2 -fPIC -DPIC conftest.cc >&5 -configure:11283: $? = 0 -configure:11296: result: yes -configure:11320: checking if g++ supports -c -o file.o -configure:11341: g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 -configure:11345: $? = 0 -configure:11367: result: yes -configure:11393: checking whether the g++ linker (/usr/bin/ld) supports shared libraries -configure:11418: result: yes -configure:11489: checking dynamic linker characteristics -configure:12035: result: GNU/Linux ld.so -configure:12039: checking how to hardcode library paths into programs -configure:12064: result: immediate -configure:12078: checking whether stripping libraries is possible -configure:12083: result: yes -configure:13419: checking if libtool supports shared libraries -configure:13421: result: yes -configure:13424: checking whether to build shared libraries -configure:13444: result: yes -configure:13447: checking whether to build static libraries -configure:13451: result: yes -configure:13463: checking for g77 option to produce PIC -configure:13667: result: -fPIC -configure:13675: checking if g77 PIC flag -fPIC works -configure:13693: g77 -c -g -O2 -fPIC conftest.f >&5 -configure:13697: $? = 0 -configure:13710: result: yes -configure:13734: checking if g77 supports -c -o file.o -configure:13755: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 -configure:13759: $? = 0 -configure:13781: result: yes -configure:13807: checking whether the g77 linker (/usr/bin/ld) supports shared libraries -configure:14683: result: yes -configure:14754: checking dynamic linker characteristics -configure:15300: result: GNU/Linux ld.so -configure:15304: checking how to hardcode library paths into programs -configure:15329: result: immediate -configure:15343: checking whether stripping libraries is possible -configure:15348: result: yes -configure:19602: checking for a BSD-compatible install -configure:19657: result: /usr/bin/install -c -configure:19678: checking for dirent.h that defines DIR -configure:19702: gcc -c -g -O2 conftest.c >&5 -configure:19708: $? = 0 -configure:19712: test -z - || test ! -s conftest.err -configure:19715: $? = 0 -configure:19718: test -s conftest.o -configure:19721: $? = 0 -configure:19732: result: yes -configure:19745: checking for library containing opendir -configure:19775: gcc -o conftest -g -O2 conftest.c >&5 -configure:19781: $? = 0 -configure:19785: test -z - || test ! -s conftest.err -configure:19788: $? = 0 -configure:19791: test -s conftest -configure:19794: $? = 0 -configure:19864: result: none required -configure:20000: checking for ANSI C header files -configure:20156: result: yes -configure:20169: checking for an ANSI C-conforming const -configure:20236: gcc -c -g -O2 conftest.c >&5 -configure:20242: $? = 0 -configure:20246: test -z - || test ! -s conftest.err -configure:20249: $? = 0 -configure:20252: test -s conftest.o -configure:20255: $? = 0 -configure:20266: result: yes -configure:20276: checking for inline -configure:20297: gcc -c -g -O2 conftest.c >&5 -configure:20303: $? = 0 -configure:20307: test -z - || test ! -s conftest.err -configure:20310: $? = 0 -configure:20313: test -s conftest.o -configure:20316: $? = 0 -configure:20328: result: inline -configure:20347: checking for size_t -configure:20371: gcc -c -g -O2 conftest.c >&5 -configure:20377: $? = 0 -configure:20381: test -z - || test ! -s conftest.err -configure:20384: $? = 0 -configure:20387: test -s conftest.o -configure:20390: $? = 0 -configure:20401: result: yes -configure:20413: checking whether time.h and sys/time.h may both be included -configure:20438: gcc -c -g -O2 conftest.c >&5 -configure:20444: $? = 0 -configure:20448: test -z - || test ! -s conftest.err -configure:20451: $? = 0 -configure:20454: test -s conftest.o -configure:20457: $? = 0 -configure:20468: result: yes -configure:20478: checking whether struct tm is in sys/time.h or time.h -configure:20501: gcc -c -g -O2 conftest.c >&5 -configure:20507: $? = 0 -configure:20511: test -z - || test ! -s conftest.err -configure:20514: $? = 0 -configure:20517: test -s conftest.o -configure:20520: $? = 0 -configure:20531: result: time.h -configure:20544: checking whether gcc needs -traditional -configure:20586: result: no -configure:20598: checking for stdlib.h -configure:20603: result: yes -configure:20743: checking for GNU libc compatible malloc -configure:20772: gcc -o conftest -g -O2 conftest.c >&5 -configure:20775: $? = 0 -configure:20777: ./conftest -configure:20780: $? = 0 -configure:20794: result: yes -configure:20824: checking return type of signal handlers -configure:20855: gcc -c -g -O2 conftest.c >&5 -configure:20861: $? = 0 -configure:20865: test -z - || test ! -s conftest.err -configure:20868: $? = 0 -configure:20871: test -s conftest.o -configure:20874: $? = 0 -configure:20885: result: void -configure:20897: checking for strftime -configure:20954: gcc -o conftest -g -O2 conftest.c >&5 -conftest.c:55: warning: conflicting types for built-in function 'strftime' -configure:20960: $? = 0 -configure:20964: test -z - || test ! -s conftest.err -configure:20967: $? = 0 -configure:20970: test -s conftest -configure:20973: $? = 0 -configure:20985: result: yes -configure:21221: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by FULL-PACKAGE-NAME config.status VERSION, which was -generated by GNU Autoconf 2.59. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on sipxchange.pingtel-demo.vw - -config.status:706: creating Makefile -config.status:889: executing depfiles commands - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_build=i686-pc-linux-gnu -ac_cv_build_alias=i686-pc-linux-gnu -ac_cv_c_compiler_gnu=yes -ac_cv_c_const=yes -ac_cv_c_inline=inline -ac_cv_cxx_compiler_gnu=yes -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_CXXCPP_set= -ac_cv_env_CXXCPP_value= -ac_cv_env_CXXFLAGS_set= -ac_cv_env_CXXFLAGS_value= -ac_cv_env_CXX_set= -ac_cv_env_CXX_value= -ac_cv_env_F77_set= -ac_cv_env_F77_value= -ac_cv_env_FFLAGS_set= -ac_cv_env_FFLAGS_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_exeext= -ac_cv_f77_compiler_gnu=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_strftime=yes -ac_cv_header_dirent_dirent_h=yes -ac_cv_header_dlfcn_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_time=yes -ac_cv_header_unistd_h=yes -ac_cv_host=i686-pc-linux-gnu -ac_cv_host_alias=i686-pc-linux-gnu -ac_cv_objext=o -ac_cv_path_install='/usr/bin/install -c' -ac_cv_prog_AWK=gawk -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_CXXCPP='g++ -E' -ac_cv_prog_ac_ct_AR=ar -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_ac_ct_CXX=g++ -ac_cv_prog_ac_ct_F77=g77 -ac_cv_prog_ac_ct_RANLIB=ranlib -ac_cv_prog_ac_ct_STRIP=strip -ac_cv_prog_cc_g=yes -ac_cv_prog_cc_stdc= -ac_cv_prog_cxx_g=yes -ac_cv_prog_egrep='grep -E' -ac_cv_prog_f77_g=yes -ac_cv_prog_gcc_traditional=no -ac_cv_prog_make__usr_bin_gmake_set=yes -ac_cv_search_opendir='none required' -ac_cv_struct_tm=time.h -ac_cv_type_signal=void -ac_cv_type_size_t=yes -am_cv_CC_dependencies_compiler_type=gcc3 -am_cv_CXX_dependencies_compiler_type=gcc3 -lt_cv_deplibs_check_method=pass_all -lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_ld_reload_flag=-r -lt_cv_objdir=.libs -lt_cv_path_LD=/usr/bin/ld -lt_cv_path_LDCXX=/usr/bin/ld -lt_cv_path_NM='/usr/bin/nm -B' -lt_cv_path_SED=/bin/sed -lt_cv_prog_compiler_c_o=yes -lt_cv_prog_compiler_c_o_CXX=yes -lt_cv_prog_compiler_c_o_F77=yes -lt_cv_prog_compiler_rtti_exceptions=no -lt_cv_prog_gnu_ld=yes -lt_cv_prog_gnu_ldcxx=yes -lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' -lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' -lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' -lt_cv_sys_max_cmd_len=32768 -lt_lt_cv_prog_compiler_c_o='"yes"' -lt_lt_cv_prog_compiler_c_o_CXX='"yes"' -lt_lt_cv_prog_compiler_c_o_F77='"yes"' -lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' -lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' -lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run aclocal-1.9' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run tar' -AR='ar' -AUTOCONF='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run autoconf' -AUTOHEADER='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run autoheader' -AUTOMAKE='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run automake-1.9' -AWK='gawk' -CC='gcc' -CCDEPMODE='depmode=gcc3' -CFLAGS='-g -O2' -CPP='gcc -E' -CPPFLAGS='' -CXX='g++' -CXXCPP='g++ -E' -CXXDEPMODE='depmode=gcc3' -CXXFLAGS='-g -O2' -CYGPATH_W='echo' -DEFS='-DPACKAGE_NAME=\"FULL-PACKAGE-NAME\" -DPACKAGE_TARNAME=\"full-package-name\" -DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"FULL-PACKAGE-NAME\ VERSION\" -DPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\" -DPACKAGE=\"libspeakup\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 ' -DEPDIR='.deps' -ECHO='echo' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='grep -E' -EXEEXT='' -F77='g77' -FFLAGS='-g -O2' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' -LDFLAGS='' -LIBOBJS='' -LIBS='' -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -LN_S='ln -s' -LTLIBOBJS='' -MAKEINFO='${SHELL} /usr/src/SVN/freeswitch/libs/libspeakup/missing --run makeinfo' -OBJEXT='o' -PACKAGE='libspeakup' -PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' -PACKAGE_NAME='FULL-PACKAGE-NAME' -PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' -PACKAGE_TARNAME='full-package-name' -PACKAGE_VERSION='VERSION' -PATH_SEPARATOR=':' -RANLIB='ranlib' -SET_MAKE='' -SHELL='/bin/sh' -STRIP='strip' -VERSION='0.1' -ac_ct_AR='ar' -ac_ct_CC='gcc' -ac_ct_CXX='g++' -ac_ct_F77='g77' -ac_ct_RANLIB='ranlib' -ac_ct_STRIP='strip' -am__fastdepCC_FALSE='#' -am__fastdepCC_TRUE='' -am__fastdepCXX_FALSE='#' -am__fastdepCXX_TRUE='' -am__include='include' -am__leading_dot='.' -am__quote='' -am__tar='${AMTAR} chof - "$$tardir"' -am__untar='${AMTAR} xf -' -bindir='${exec_prefix}/bin' -build='i686-pc-linux-gnu' -build_alias='' -build_cpu='i686' -build_os='linux-gnu' -build_vendor='pc' -datadir='${prefix}/share' -exec_prefix='${prefix}' -host='i686-pc-linux-gnu' -host_alias='' -host_cpu='i686' -host_os='linux-gnu' -host_vendor='pc' -includedir='${prefix}/include' -infodir='${prefix}/info' -install_sh='/usr/src/SVN/freeswitch/libs/libspeakup/install-sh' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localstatedir='${prefix}/var' -mandir='${prefix}/man' -mkdir_p='mkdir -p --' -oldincludedir='/usr/include' -prefix='/usr/local/freeswitch' -program_transform_name='s,x,x,' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target_alias='' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -#define HAVE_DIRENT_H 1 -#define HAVE_DLFCN_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_MALLOC 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRFTIME 1 -#define HAVE_STRINGS_H 1 -#define HAVE_STRING_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_UNISTD_H 1 -#define PACKAGE "libspeakup" -#define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" -#define PACKAGE_NAME "FULL-PACKAGE-NAME" -#define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" -#define PACKAGE_TARNAME "full-package-name" -#define PACKAGE_VERSION "VERSION" -#define RETSIGTYPE void -#define STDC_HEADERS 1 -#define STDC_HEADERS 1 -#define TIME_WITH_SYS_TIME 1 -#define VERSION "0.1" -#endif -#ifdef __cplusplus -extern "C" void std::exit (int) throw (); using std::exit; - -configure: exit 0 diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 8d866d38f9..8978d3c343 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -703,7 +703,6 @@ static switch_status_t channel_waitfor_write(switch_core_session_t *session, int static switch_status_t channel_send_dtmf(switch_core_session_t *session, char *dtmf) { struct private_object *tech_pvt = NULL; - char digits[80] = ""; tech_pvt = switch_core_session_get_private(session); assert(tech_pvt != NULL); @@ -713,7 +712,7 @@ static switch_status_t channel_send_dtmf(switch_core_session_t *session, char *d //ldl_handle_send_msg(tech_pvt->profile->handle, tech_pvt->recip, NULL, digits); return switch_rtp_queue_rfc2833(tech_pvt->rtp_session, - digits, + dtmf, 100 * (tech_pvt->read_codec.implementation->samples_per_second / 1000)); //return SWITCH_STATUS_SUCCESS; diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 0319d590bb..123de33f43 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -643,7 +643,7 @@ static void do_2833(switch_rtp_t *rtp_session) if (switch_queue_trypop(rtp_session->dtmf_data.dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) { int x, ts; struct rfc2833_digit *rdigit = pop; - + memset(rtp_session->dtmf_data.out_digit_packet, 0, 4); rtp_session->dtmf_data.out_digit_sofar = 0; rtp_session->dtmf_data.out_digit_dur = rdigit->duration; @@ -744,29 +744,34 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ } } - if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER)) { - if ((switch_time_now() - rtp_session->next_read) > 1000) { + if ((switch_time_now() - rtp_session->next_read) > 1000) { + do_2833(rtp_session); + + if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER)) { /* We're late! We're Late!*/ memset(&rtp_session->recv_msg, 0, SWITCH_RTP_CNG_PAYLOAD); rtp_session->recv_msg.header.pt = SWITCH_RTP_CNG_PAYLOAD; *flags |= SFF_CNG; - /* Set the next waypoint and return a CNG frame */ - if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_TIMER_RECLOCK)) { - rtp_session->next_read = switch_time_now() + rtp_session->ms_per_packet; - } else { - rtp_session->next_read += rtp_session->ms_per_packet; - } + /* Return a CNG frame */ *payload_type = SWITCH_RTP_CNG_PAYLOAD; - do_2833(rtp_session); return SWITCH_RTP_CNG_PAYLOAD; } - if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_NOBLOCK) && status == SWITCH_STATUS_BREAK) { - switch_yield(1000); - continue; + /* Set the next waypoint */ + if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_TIMER_RECLOCK)) { + rtp_session->next_read = switch_time_now() + rtp_session->ms_per_packet; + } else { + rtp_session->next_read += rtp_session->ms_per_packet; + } + + if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER)) { + if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_NOBLOCK) && status == SWITCH_STATUS_BREAK) { + switch_yield(1000); + continue; + } } } - + if (status == SWITCH_STATUS_BREAK || bytes == 0) { return 0; } @@ -1065,14 +1070,16 @@ static int rtp_common_write(switch_rtp_t *rtp_session, void *data, uint32_t data rtp_session->recv_msg.header.pt = 102; } - if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_VAD)) { + if (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_VAD) && + rtp_session->recv_msg.header.pt == rtp_session->vad_data.read_codec->codec_interface->ianacode && + datalen == rtp_session->vad_data.read_codec->implementation->encoded_bytes_per_frame) { int16_t decoded[SWITCH_RECCOMMENDED_BUFFER_SIZE/sizeof(int16_t)]; uint32_t rate; uint32_t flags; uint32_t len = sizeof(decoded); time_t now = time(NULL); send = 0; - + if (rtp_session->vad_data.scan_freq && rtp_session->vad_data.next_scan <= now) { rtp_session->vad_data.bg_count = rtp_session->vad_data.bg_level = 0; rtp_session->vad_data.next_scan = now + rtp_session->vad_data.scan_freq;