tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@549 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
d995bca407
commit
675f163f90
|
@ -163,7 +163,7 @@ static void stop_hold(switch_core_session_t *session_a, const char *uuid)
|
||||||
switch_channel_clear_flag(channel_a, CF_HOLD);
|
switch_channel_clear_flag(channel_a, CF_HOLD);
|
||||||
} else {
|
} else {
|
||||||
switch_channel_stop_broadcast(channel);
|
switch_channel_stop_broadcast(channel);
|
||||||
switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000);
|
switch_channel_wait_for_flag(channel, CF_BROADCAST, SWITCH_FALSE, 2000, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_core_session_rwunlock(session);
|
switch_core_session_rwunlock(session);
|
||||||
|
|
Loading…
Reference in New Issue