From d125147dd87186fbc7531990cbcad64390fa21bf Mon Sep 17 00:00:00 2001 From: Raymond Chandler Date: Fri, 10 May 2013 16:31:06 -0400 Subject: [PATCH] add context --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index dbcb5c05b9..0e9bf18305 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -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);