mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-26 12:13:14 +00:00
add context
This commit is contained in:
1 parent
b8b6756a44
commit
d125147dd8
1 file changed
+1
-1
@@ -4548,7 +4548,7 @@ void sofia_presence_handle_sip_i_message(int status,
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "from_sip_port", "%d", network_port);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "to", to_addr);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "SIMPLE MESSAGE");
|
||||
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "context", profile->context);
|
||||
|
||||
if (sip->sip_content_type && sip->sip_content_type->c_subtype) {
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "type", sip->sip_content_type->c_type);
|
||||
|
||||
Reference in new issue
Block a user