mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
FS-9654 introduce origination_aleg_uuid
This commit is contained in:
1 parent
5ef273b4b3
commit
b7578ecd98
2 files changed
+21
No files matched your search
@@ -2181,6 +2181,10 @@ SWITCH_DECLARE(void) switch_ivr_intercept_session(switch_core_session_t *session
|
||||
rchannel = switch_core_session_get_channel(rsession);
|
||||
buuid = switch_channel_get_partner_uuid(rchannel);
|
||||
|
||||
if (!strcasecmp(buuid, switch_core_session_get_uuid(session))) {
|
||||
buuid = NULL;
|
||||
}
|
||||
|
||||
if ((var = switch_channel_get_variable(channel, "intercept_unbridged_only")) && switch_true(var)) {
|
||||
if ((switch_channel_test_flag(rchannel, CF_BRIDGED))) {
|
||||
switch_core_session_rwunlock(rsession);
|
||||
|
||||
Reference in new issue
Block a user