]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5757 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 5 Sep 2013 15:58:23 +0000 (20:58 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 5 Sep 2013 15:58:23 +0000 (20:58 +0500)
src/mod/endpoints/mod_sofia/sofia.c

index 0b2e221ec2e83cec0ef471053c56231097dd0ac1..8a2da43c69d58d015071a6592d094f3aeb453e18 100644 (file)
@@ -8707,8 +8707,6 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
                                                tech_pvt->caller_profile->callee_id_name = switch_core_strdup(tech_pvt->caller_profile->pool, name);
                                                tech_pvt->caller_profile->callee_id_number = switch_core_strdup(tech_pvt->caller_profile->pool, num);
 
-                                               tech_pvt->caller_profile->originatee_caller_profile = switch_caller_profile_dup(tech_pvt->caller_profile->pool, bcp->originatee_caller_profile);
-
                                                tech_pvt->caller_profile->destination_number = switch_core_sprintf(tech_pvt->caller_profile->pool, 
                                                                                                                                                                                   "%sanswer,sofia_sla:%s", codec_str, b_private->uuid);
                                        }
@@ -8737,7 +8735,6 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
                nua_handle_unref(bnh);
        }
 
-                               tech_pvt->caller_profile->originator_caller_profile = switch_caller_profile_dup(tech_pvt->caller_profile->pool, orig_cp);
 
 
        if (tech_pvt->caller_profile) {