When greeting is used a short sleep is required
Without the sleep may miss the beginning of the recording.
This commit is contained in:
parent
0afe985352
commit
6a3f7e95a4
|
|
@ -354,6 +354,7 @@
|
|||
$dialplan_xml .= " <action application=\"set\" data=\"cc_base_score=".$queue_time_base_score_sec."\"/>\n";
|
||||
}
|
||||
if ($queue_greeting_path != '') {
|
||||
$dialplan_xml .= " <action application=\"sleep\" data=\"1000\"/>\n";
|
||||
$greeting_array = explode(':', $queue_greeting_path);
|
||||
if (count($greeting_array) == 1) {
|
||||
$dialplan_xml .= " <action application=\"playback\" data=\"".$queue_greeting_path."\"/>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue