]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add context
authorRaymond Chandler <intralanman@gmail.com>
Fri, 10 May 2013 20:31:06 +0000 (16:31 -0400)
committerRaymond Chandler <intralanman@gmail.com>
Fri, 10 May 2013 20:32:22 +0000 (16:32 -0400)
src/mod/endpoints/mod_sofia/sofia_presence.c

index dbcb5c05b9790740428b639690b2023af3b2ca2c..0e9bf18305b7358c911aca04c2f4356b9c37e9b9 100644 (file)
@@ -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);