FS-3337 --resolve indeed, should be ok
This commit is contained in:
parent
b30ee92003
commit
7a7f386886
|
@ -1498,13 +1498,15 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
|
||||||
if (!switch_test_flag(imember, MFLAG_NOCHANNEL)) {
|
if (!switch_test_flag(imember, MFLAG_NOCHANNEL)) {
|
||||||
channel = switch_core_session_get_channel(imember->session);
|
channel = switch_core_session_get_channel(imember->session);
|
||||||
|
|
||||||
/* add this little bit to preserve the bridge cause code in case of an early media call that */
|
if (!switch_false(switch_channel_get_variable(channel, "hangup_after_conference"))) {
|
||||||
/* never answers */
|
/* add this little bit to preserve the bridge cause code in case of an early media call that */
|
||||||
if (switch_test_flag(conference, CFLAG_ANSWERED)) {
|
/* never answers */
|
||||||
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
|
if (switch_test_flag(conference, CFLAG_ANSWERED)) {
|
||||||
} else {
|
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
|
||||||
/* put actual cause code from outbound channel hangup here */
|
} else {
|
||||||
switch_channel_hangup(channel, conference->bridge_hangup_cause);
|
/* put actual cause code from outbound channel hangup here */
|
||||||
|
switch_channel_hangup(channel, conference->bridge_hangup_cause);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue