]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
revert files
authorBrian West <brian@freeswitch.org>
Thu, 16 Jul 2009 20:12:55 +0000 (20:12 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 16 Jul 2009 20:12:55 +0000 (20:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14277 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/Makefile
libs/esl/python/Makefile
libs/esl/python/esl_wrap.cpp
src/mod/say/mod_say_es/mod_say_es.c
src/switch_ivr.c

index 3afc3f8230613b8d8971b49716c87b8c5b4b486c..1ddcb2db07803b3349473b6782eb8f837a79f25b 100644 (file)
@@ -12,8 +12,7 @@ LDFLAGS=-L.
 OBJS=src/esl.o src/esl_event.o src/esl_threadmutex.o src/esl_config.o
 SRC=src/esl.c src/esl_event.c src/esl_threadmutex.c src/esl_config.c src/esl_oop.cpp
 HEADERS=src/include/esl_config.h src/include/esl_event.h src/include/esl.h src/include/esl_threadmutex.h src/include/esl_oop.h
-//SOLINK=-shared -Xlinker -x
-SOLINK=-dynamiclib -Xlinker -x
+SOLINK=-shared -Xlinker -x
 # comment the next line to disable c++ (no swig mods for you then)
 OBJS += src/esl_oop.o
 
index 84d5243a471fff0ab0ff298bc20f8aeb86fac8c2..a231b1e74fa2d971920abeb489de8f8095d54731 100644 (file)
@@ -1,6 +1,5 @@
 LOCAL_CFLAGS=-I/usr/include/python2.4
-LOCAL_LDFLAGS=-framework python
-#LOCAL_LDFLAGS=-lpython2.4
+LOCAL_LDFLAGS=-lpython2.4
 
 all: _ESL.so
 
index 76a6e7967db375d6331b26130a238bcbb60a6f8b..f2090b79436a79e762d17470ac78b3e25b8fb1e9 100644 (file)
@@ -137,8 +137,7 @@ template <typename T> T SwigValueInit() {
 
 
 /* Python.h has to appear first */
-//#include <Python.h>
-#include <Python/Python.h>
+#include <Python.h>
 
 /* -----------------------------------------------------------------------------
  * swigrun.swg
index a730020d089e43ddbfdaf03e1a47e7e5dc652b43..0f488100ab4dfc299a770524333482230a711e8f 100644 (file)
@@ -501,7 +501,6 @@ static switch_status_t es_say(switch_core_session_t *session, char *tosay, switc
        }
 
        if (say_cb) {
-        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Using es callback [tosay: %s, type: %d, method: %d]\n", tosay, type, method);
                return say_cb(session, tosay, type, method, args);
        }
 
index 313f0c64ae28356afde2a9419f0970899b17373d..78b809769e19d88de1ae857ed01e0b1e52ad3902 100644 (file)
@@ -2039,7 +2039,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_say(switch_core_session_t *session, c
 
        if ((si = switch_loadable_module_get_say_interface(module_name))) {
                /* should go back and proto all the say mods to const.... */
-        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Using SAY Interface %s\n", module_name);
                status = si->say_function(session, (char *) tosay, switch_ivr_get_say_type_by_name(say_type), switch_ivr_get_say_method_by_name(say_method), args);
        } else {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid SAY Interface [%s]!\n", module_name);