From 67240d29056bea783488099a877250b0dea5e338 Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Fri, 4 May 2012 16:32:38 +0200 Subject: [PATCH] skypopen: DISABLED (for the time being) mod_sms hookup needs to CHAT CREATE, then read back the DIALOG. It will have to be spun as a separate thread, but is here as a proof of concept. I disable it right now --- src/mod/endpoints/mod_skypopen/mod_skypopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_skypopen/mod_skypopen.c b/src/mod/endpoints/mod_skypopen/mod_skypopen.c index 4e6fec15f7..76ac991449 100644 --- a/src/mod/endpoints/mod_skypopen/mod_skypopen.c +++ b/src/mod/endpoints/mod_skypopen/mod_skypopen.c @@ -2984,7 +2984,7 @@ int incoming_chatmessage(private_t *tech_pvt, int which) /* mod_sms end */ switch_event_add_body(event, "%s", tech_pvt->chatmessages[which].body); - switch_core_chat_send("GLOBAL", event); /* mod_sms */ + //switch_core_chat_send("GLOBAL", event); /* mod_sms */ 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) {