FS-6517 skypopen: mod_skypopen not using configured context with mod_sms chatplan with PATCH, thanks Russell Treleaven

This commit is contained in:
Giovanni Maruzzelli 2014-05-12 16:07:02 +02:00
parent c006db6fc6
commit 7dbab7b1c6
1 changed files with 1 additions and 0 deletions

View 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);