mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-27 12:14:32 +00:00
MODENDP-157 Add other loopback leg uuid to mod_loopback channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10596 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
24b69e2879
commit
d2f73beb01
@ -257,6 +257,10 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
|
|||||||
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_channel_set_variable(channel,"other_loopback_leg_uuid",switch_channel_get_uuid(b_channel));
|
||||||
|
switch_channel_set_variable(b_channel,"other_loopback_leg_uuid",switch_channel_get_uuid(channel));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tech_pvt->other_session) {
|
if (tech_pvt->other_session) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user