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

This commit is contained in:
Giovanni Maruzzelli 2012-05-04 16:32:38 +02:00
parent c64813f4fd
commit 67240d2905

View File

@ -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) {