mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
abstract out originate_signal_bond to a function to avoid confustion and regressions
This commit is contained in:
1 parent
4d8cdb3276
commit
8bb55ed4bf
27 files changed
+98
-90
No files matched your search
@@ -3439,7 +3439,7 @@ SWITCH_STANDARD_API(break_function)
|
||||
channel = switch_core_session_get_channel(psession);
|
||||
|
||||
if (both) {
|
||||
const char *quuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);
|
||||
const char *quuid = switch_channel_get_partner_uuid(channel);
|
||||
if (quuid && (qsession = switch_core_session_locate(quuid))) {
|
||||
qchannel = switch_core_session_get_channel(qsession);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user