git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5271
d0543943-73ff-0310-b7d9-
9358b9ac24b2
if (profile->ndlb & PFLAG_NDLB_TO_IN_200_CONTACT) {
tech_pvt->reply_contact = tech_pvt->to_uri;
} else {
- tech_pvt->to_uri = switch_core_session_strdup(session, profile->url);
+ tech_pvt->reply_contact = switch_core_session_strdup(session, profile->url);
}
} else {
- tech_pvt->to_uri = switch_core_session_strdup(session, profile->url);
- tech_pvt->reply_contact = tech_pvt->to_uri;
+ tech_pvt->reply_contact = switch_core_session_strdup(session, profile->url);
}
}