FS-5457
This commit is contained in:
parent
e2da2e19c3
commit
e4f7fda044
|
@ -1380,7 +1380,7 @@ static void *SWITCH_THREAD_FUNC enterprise_originate_thread(switch_thread_t *thr
|
||||||
switch_mutex_unlock(handle->mutex);
|
switch_mutex_unlock(handle->mutex);
|
||||||
|
|
||||||
if (handle->done != 2) {
|
if (handle->done != 2) {
|
||||||
if (handle->status == SWITCH_STATUS_SUCCESS) {
|
if (handle->status == SWITCH_STATUS_SUCCESS && handle->bleg) {
|
||||||
switch_channel_t *channel = switch_core_session_get_channel(handle->bleg);
|
switch_channel_t *channel = switch_core_session_get_channel(handle->bleg);
|
||||||
|
|
||||||
switch_channel_set_variable(channel, "group_dial_status", "loser");
|
switch_channel_set_variable(channel, "group_dial_status", "loser");
|
||||||
|
|
Loading…
Reference in New Issue