FS-10660: [mod_callcenter] Park agent session before play cc_warning_tone - avoid double playback causing distorted audio
This commit is contained in:
parent
a88bc6730e
commit
77dcd007ad
|
@ -1779,6 +1779,8 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
|
|||
|
||||
/* Playback this to the agent */
|
||||
if (cc_warning_tone) {
|
||||
switch_ivr_park_session(agent_session);
|
||||
switch_channel_wait_for_flag(agent_channel, CF_PARK, SWITCH_TRUE, 5000, NULL);
|
||||
playback_array(agent_session, cc_warning_tone);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue