Interface SvamlActionPark
- All Superinterfaces:
SvamlAction
Parks the call and places the caller on hold. The caller is placed into a loop, listening to an
IVR prompt (either a pre-recorded audio file or generated by text to speech). If the call is
unparked, prompts will stop playing immediately. If the max duration is reached, the last prompt
will be fully played until the call ends.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
The name property. -
Method Summary
Modifier and TypeMethodDescriptionstatic SvamlActionPark.Builder
builder()
Getting builderThe prompt that is played on repeat until the call is unparked or the until themaxDuration
value is reached.That prompt that is played when the call is first answered.The voice and language you want to use for the text-to-speech message.The maximum amount of time in seconds that theholdPrompt
will be played.
-
Method Details
-
getLocale
String getLocale()The voice and language you want to use for the text-to-speech message. This can either be defined by the ISO 639 locale and language code or by specifying a particular voice. Supported languages and voices are detailed here.- Returns:
- locale
-
getIntroPrompt
String getIntroPrompt()That prompt that is played when the call is first answered. You can use text-to-speech using the#tts[]
element, SSML commands using the#ssml[]
element.- Returns:
- introPrompt
-
getHoldPrompt
String getHoldPrompt()The prompt that is played on repeat until the call is unparked or the until themaxDuration
value is reached. You can use text-to-speech using the#tts[]
element, SSML commands using the#ssml[]
element.- Returns:
- holdPrompt
-
getMaxDuration
Integer getMaxDuration()The maximum amount of time in seconds that theholdPrompt
will be played.- Returns:
- maxDuration
-
builder
Getting builder- Returns:
- New Builder instance
-