]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7760 add some more params
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 29 Jul 2015 20:53:23 +0000 (15:53 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 29 Jul 2015 20:53:54 +0000 (15:53 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 2c62cb07992ceaceed246765dd466472c793d119..eca43106cb21c3473c7b740ab43314d1cd2bb1b8 100644 (file)
@@ -8159,7 +8159,9 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
                                                                switch_event_add_header_string(xml_params, SWITCH_STACK_BOTTOM, "refer-to-params", refer_to->r_url->url_params ? refer_to->r_url->url_params : "");
                                                                switch_event_add_header_string(xml_params, SWITCH_STACK_BOTTOM, "refer-to-headers", refer_to->r_url->url_headers ? refer_to->r_url->url_headers : "");
                                                                switch_event_add_header_string(xml_params, SWITCH_STACK_BOTTOM, "replaces-call-id", replaces->rp_call_id);
-
+                                                               switch_event_add_header_string(xml_params, SWITCH_STACK_BOTTOM, "refer-from-channel-id", switch_core_session_get_uuid(session));
+                                                               switch_event_add_header_string(xml_params, SWITCH_STACK_BOTTOM, "refer-for-channel-id", br_a);
+                                                                
 
                                                                if (switch_xml_locate("channels", NULL, NULL, NULL,
                                                                                                          &xml_root, &xml_channel, xml_params, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {