mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
fix originatee_caller_profile issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15962 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f40fecf441
commit
3963930e26
2 files changed
+1
-7
No files matched your search
@@ -515,12 +515,6 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_
|
||||
switch_channel_set_originator_caller_profile(peer_channel, cloned_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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_OUTGOING) == SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user