Modified: freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen.h (15767 => 15768)
--- freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen.h 2009-12-03 11:29:47 UTC (rev 15767)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen.h 2009-12-03 12:29:48 UTC (rev 15768)
@@ -69,9 +69,9 @@
#ifndef WIN32
#include <sys/time.h>
-#include <X11/Xlib.h>
-#include <X11/Xlibint.h>
-#include <X11/Xatom.h>
+//#include <X11/Xlib.h>
+//#include <X11/Xlibint.h>
+//#include <X11/Xatom.h>
#endif //WIN32
#ifdef _MSC_VER
Modified: freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp (15767 => 15768)
--- freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp 2009-12-03 11:29:47 UTC (rev 15767)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp 2009-12-03 12:29:48 UTC (rev 15768)
@@ -2513,7 +2513,7 @@
//switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "chatname", tech_pvt->chatmessages[which].chatname);
//switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "id", tech_pvt->chatmessages[which].id);
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "SIMPLE MESSAGE");
- switch_event_add_body(event, "%s", tech_pvt->sms_body);
+ switch_event_add_body(event, "%s\n", tech_pvt->sms_body);
if (session) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "during-call", "true");
if (switch_core_session_queue_event(session, &event) != SWITCH_STATUS_SUCCESS) {
@@ -2545,7 +2545,7 @@
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "SIMPLE MESSAGE");
//switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "chatname", tech_pvt->chatmessages[which].chatname);
//switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "id", tech_pvt->chatmessages[which].id);
- switch_event_add_body(event, "%s", tech_pvt->sms_body);
+ switch_event_add_body(event, "%s\n", tech_pvt->sms_body);
if (session) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "during-call", "true");
} else { //no session