]> 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:29 +0000 (15:53 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 9fb758f29aeae137e507c43fa46992b6cce7afd3..1739877a5f4c4dfdf5a84419a311c0a052e5b2a9 100644 (file)
@@ -8308,7 +8308,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) {