Try using an expression like this:
AudioPlaybackOptions(Append(Prompt.Processing, ToAudioBlank(500), Prompt.Processing, ToAudioBlank(500),Prompt.Processing, ToAudioBlank(500),Prompt.Processing, ToAudioBlank(500),Prompt.Processing, ToAudioBlank(500)), true)
The last "true" allows barge-in or not.
The other is to use the ToAudio(MakeList(Prompt.Processing, Prompt.Processing, Prompt.Processing, Prompt.Processing, Prompt.Processing)
Robert
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.comhttps://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 05-19-2022 09:10
From: Reginald Sheraton
Subject: Play audio with duration
hi all,
is it possible within Architech to play a audio file but restricting it to play for a certain duration like with Genesys Hold music?
reason is that i need to play the system audio, processing, for a duration of 1.5 seconds and loop until it has played for a duration of 15 seconds.
#ArchitectureandDesign
------------------------------
Reginald
------------------------------