Legacy Dev Forum Posts

 View Only

Sign Up

Problem to remove barge-in in play audio with custom expressions

  • 1.  Problem to remove barge-in in play audio with custom expressions

    Posted 06-05-2025 19:10

    Daniel_Ondiviela | 2019-11-12 12:25:14 UTC | #1

    Hi,

    resource center says "Play audio" box in architect comes with barge-in enabled by default, and to remove it when using custom expressions you must use AudioPlaybackOptions function.

    So, my custom expression to be played via TTS is:

    ToAudioTTS(ToString(Flow.AudioPhone))

    But it is important that this audio is not interrupted, so I have transformed it to

    AudioPlaybackOptions(ToAudioTTS(ToString(Flow.AudioPhone)), false)

    However, Architect throws an error related to this expression.

    Where is the problem? How can I disable barge-in? Thanks


    system | 2019-12-13 12:23:45 UTC | #2

    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: 6460