]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6517 skypopen: mod_skypopen not using configured context with mod_sms chatplan...
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Mon, 12 May 2014 14:07:02 +0000 (16:07 +0200)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Mon, 12 May 2014 14:07:39 +0000 (16:07 +0200)
src/mod/endpoints/mod_skypopen/mod_skypopen.c

index 8f843a00000de656e00e73269c4301ee0d43b017..dd83a7b4fdb3fc1b71885b782f989c1ba771d39d 100644 (file)
@@ -3129,6 +3129,7 @@ int incoming_chatmessage(private_t *tech_pvt, int which)
                //switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "from_full", "from_full");
                switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "to_user", tech_pvt->name);
                //switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "to_host", "to_host");
+               switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "context", tech_pvt->context);
 /* mod_sms end */
 
                switch_event_add_body(event, "%s", tech_pvt->chatmessages[which].body);