forked from Mirrors/freeswitch
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:
parent
c64813f4fd
commit
67240d2905
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user