FSCORE-331

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12585 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-03-12 16:47:47 +00:00
parent 149e6c15cf
commit 45110ff36e
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -463,7 +463,7 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_
}
}
if (peer_profile) {
if (peer_profile && !(flags & SOF_FORKED_DIAL)) {
if ((cloned_profile = switch_caller_profile_clone(session, peer_profile)) != 0) {
switch_channel_set_originatee_caller_profile(channel, cloned_profile);
}