mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 03:34:15 +00:00
add origination_caller_profile to log all attempted calls for a paticular leg
This commit is contained in:
1 parent
f3c6512ca0
commit
977a8ad7ce
5 files changed
+68
No files matched your search
@@ -524,6 +524,14 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_
|
||||
switch_channel_set_originator_caller_profile(peer_channel, cloned_profile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ((profile = switch_channel_get_caller_profile(peer_channel))) {
|
||||
if ((cloned_profile = switch_caller_profile_clone(session, profile)) != 0) {
|
||||
switch_channel_set_origination_caller_profile(channel, cloned_profile);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_OUTGOING) == SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user