some chat fixes

This commit is contained in:
Anthony Minessale committed 2011-10-07 08:24:19 -05:00
1 parent 1afda8fb39
commit 78a9a6488a
3 files changed
+10 -3

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ SWITCH_MODULE_DEFINITION(mod_sms, mod_sms_load, mod_sms_shutdown, NULL);
static void event_handler(switch_event_t *event)
{
const char *dest_proto = switch_event_get_header(event, "dest_proto");
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "skip_global_process", "true");
switch_core_chat_send(dest_proto, event);
}