PromptAction
Relay::Calling::PromptAction
This object returned from the asynchronous prompt! family of methods and is the handle for a prompt attempt that is currently active on a call.
Properties
Methods
stop
Stop the action immediately.
Parameters
None
Returns
Relay::Calling::StopResult - A StopResult object with a successful property.
volume
Sets the volume for the prompt playback.
Uses a value from -40dB to +40dB where 0 is original audio and -40 is muted. It follows the standard amplitude voltage gain factor: 10 pow (value / 20).
Parameters
Returns
Relay::Calling::PromptVolumeResult - A PromptVolumeResult object with a successful property.
Examples
Play some prompt and change the volume