Const
Dedicated services helper for Voice v2 call behaviors.
static builds a CallBehaviorsStatic from commands, an optional call name, and optional onHangup commands. none configures no call behavior. webhook sends call events to a URL.
static
commands
name
onHangup
none
webhook
No call behavior is configured. Incoming calls are not handled.
Calls are handled using predefined static SVAML commands, without a backend webhook.
Calls are handled by sending webhook events to the configured URL.
Dedicated services helper for Voice v2 call behaviors.
staticbuilds a CallBehaviorsStatic fromcommands, an optional callname, and optionalonHangupcommands.noneconfigures no call behavior.webhooksends call events to a URL.