Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  AudioPlaybackOptions

    Posted 06-05-2025 19:16

    davide.graziani | 2024-10-17 16:24:06 UTC | #1

    hello guys, I'm using in architect the function audioPlaybackOptions to play "flash message". I have noticed that I can skip the prompt pressing one of the phone key board. Is it a standard behaviour? I didn't find any info in the doc. Thanks Davide


    MelissaBailey | 2024-10-17 16:47:47 UTC | #2

    That's what the bargeIn parameter does. If barge in is allowed, if the caller says or presses something while the audio is playing, the rest of the audio is skipped and the flow moves on. If barge is in not allowed, the audio keeps playing until finished.


    davide.graziani | 2024-10-17 16:56:05 UTC | #3

    Ciao Melissa, thank you so much for your very quick reply. So that means:

    • if I have: AudioPlaybackOptions(ToAudio(PROMPT), true) --> I can skip
    • if I have: AudioPlaybackOptions(ToAudio(PROMPT), false) --> I cannot skip

    Is it correct? Thanks again for your help Davide


    MelissaBailey | 2024-10-17 17:15:51 UTC | #4

    Yes <stupid hmtl limit>


    system | 2024-11-17 17:16:04 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 29936