{ "sip:decline": { "properties": { "status": "number", "reason": "string", "headers": "object" }, "required": [ "status" ] }, "sip:request": { "properties": { "method": "string", "body": "string", "headers": "object", "actionHook": "object|string" }, "required": [ "method" ] }, "sip:refer": { "properties": { "referTo": "string", "referredBy": "string", "headers": "object", "actionHook": "object|string", "eventHook": "object|string" }, "required": [ "referTo" ] }, "config": { "properties": { "synthesizer": "#synthesizer", "recognizer": "#recognizer", "bargeIn": "#bargeIn", "record": "#recordOptions" }, "required": [] }, "bargeIn": { "properties": { "enable": "boolean", "sticky": "boolean", "actionHook": "object|string", "input": "array", "finishOnKey": "string", "numDigits": "number", "minDigits": "number", "maxDigits": "number", "interDigitTimeout": "number", "dtmfBargein": "boolean", "minBargeinWordCount": "number" }, "required": [ "enable" ] }, "dequeue": { "properties": { "name": "string", "actionHook": "object|string", "timeout": "number", "beep": "boolean" }, "required": [ "name" ] }, "enqueue": { "properties": { "name": "string", "actionHook": "object|string", "waitHook": "object|string", "_": "object" }, "required": [ "name" ] }, "leave": { "properties": { } }, "hangup": { "properties": { "headers": "object" }, "required": [ ] }, "play": { "properties": { "url": "string", "loop": "number|string", "earlyMedia": "boolean" }, "required": [ "url" ] }, "say": { "properties": { "text": "string|array", "loop": "number|string", "synthesizer": "#synthesizer", "earlyMedia": "boolean" }, "required": [ "text" ] }, "gather": { "properties": { "actionHook": "object|string", "finishOnKey": "string", "input": "array", "numDigits": "number", "minDigits": "number", "maxDigits": "number", "interDigitTimeout": "number", "partialResultHook": "object|string", "speechTimeout": "number", "listenDuringPrompt": "boolean", "dtmfBargein": "boolean", "bargein": "boolean", "minBargeinWordCount": "number", "timeout": "number", "recognizer": "#recognizer", "play": "#play", "say": "#say" }, "required": [ ] }, "conference": { "properties": { "name": "string", "beep": "boolean", "startConferenceOnEnter": "boolean", "endConferenceOnExit": "boolean", "maxParticipants": "number", "joinMuted": "boolean", "actionHook": "object|string", "waitHook": "object|string", "statusEvents": "array", "statusHook": "object|string", "enterHook": "object|string", "record": "#record" }, "required": [ "name" ] }, "dial": { "properties": { "actionHook": "object|string", "answerOnBridge": "boolean", "callerId": "string", "confirmHook": "object|string", "referHook": "object|string", "dialMusic": "string", "dtmfCapture": "object", "dtmfHook": "object|string", "headers": "object", "listen": "#listen", "target": ["#target"], "timeLimit": "number", "timeout": "number", "proxy": "string", "transcribe": "#transcribe" }, "required": [ "target" ] }, "dialogflow": { "properties": { "credentials": "object|string", "project": "string", "environment": "string", "region": { "type": "string", "enum": ["europe-west1", "europe-west2", "australia-southeast1", "asia-northeast1"] }, "lang": "string", "actionHook": "object|string", "eventHook": "object|string", "events": "[string]", "welcomeEvent": "string", "welcomeEventParams": "object", "noInputTimeout": "number", "noInputEvent": "string", "passDtmfAsTextInput": "boolean", "thinkingMusic": "string", "tts": "#synthesizer", "bargein": "boolean" }, "required": [ "project", "credentials", "lang" ] }, "dtmf": { "properties": { "dtmf": "string", "duration": "number" }, "required": [ "dtmf" ] }, "lex": { "properties": { "botId": "string", "botAlias": "string", "credentials": "object", "region": "string", "locale": "string", "intent": "#lexIntent", "welcomeMessage": "string", "metadata": "object", "bargein": "boolean", "passDtmf": "boolean", "actionHook": "object|string", "eventHook": "object|string", "noInputTimeout": "number", "tts": "#synthesizer" }, "required": [ "botId", "botAlias", "region", "credentials" ] }, "listen": { "properties": { "actionHook": "object|string", "auth": "#auth", "finishOnKey": "string", "maxLength": "number", "metadata": "object", "mixType": { "type": "string", "enum": ["mono", "stereo", "mixed"] }, "passDtmf": "boolean", "playBeep": "boolean", "sampleRate": "number", "timeout": "number", "transcribe": "#transcribe", "url": "string", "wsAuth": "#auth", "earlyMedia": "boolean" }, "required": [ "url" ] }, "message": { "properties": { "carrier": "string", "account_sid": "string", "message_sid": "string", "to": "string", "from": "string", "text": "string", "media": "string|array", "actionHook": "object|string" }, "required": [ "to", "from" ] }, "pause": { "properties": { "length": "number" }, "required": [ "length" ] }, "rasa": { "properties": { "url": "string", "recognizer": "#recognizer", "tts": "#synthesizer", "prompt": "string", "actionHook": "object|string", "eventHook": "object|string" }, "required": [ "url" ] }, "record": { "properties": { "path": "string" }, "required": [ "path" ] }, "recordOptions": { "properties": { "action": { "type": "string", "enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"] }, "recordingID": "string", "siprecServerURL": "string" }, "required": [ "action" ] }, "redirect": { "properties": { "actionHook": "object|string" }, "required": [ "actionHook" ] }, "rest:dial": { "properties": { "account_sid": "string", "application_sid": "string", "call_hook": "object|string", "call_status_hook": "object|string", "from": "string", "speech_synthesis_vendor": "string", "speech_synthesis_voice": "string", "speech_synthesis_language": "string", "speech_recognizer_vendor": "string", "speech_recognizer_language": "string", "tag": "object", "to": "#target", "headers": "object", "timeout": "number" }, "required": [ "call_hook", "from", "to" ] }, "tag": { "properties": { "data": "object" }, "required": [ "data" ] }, "transcribe": { "properties": { "transcriptionHook": "string", "recognizer": "#recognizer", "earlyMedia": "boolean" }, "required": [ "recognizer" ] }, "target": { "properties": { "type": { "type": "string", "enum": ["phone", "sip", "user", "teams"] }, "confirmHook": "object|string", "method": { "type": "string", "enum": ["GET", "POST"] }, "headers": "object", "name": "string", "number": "string", "sipUri": "string", "auth": "#auth", "vmail": "boolean", "tenant": "string", "trunk": "string", "overrideTo": "string" }, "required": [ "type" ] }, "auth": { "properties": { "username": "string", "password": "string" }, "required": [ "username", "password" ] }, "synthesizer": { "properties": { "vendor": { "type": "string", "enum": ["google", "aws", "polly", "microsoft", "default"] }, "language": "string", "voice": "string", "engine": { "type": "string", "enum": ["standard", "neural"] }, "gender": { "type": "string", "enum": ["MALE", "FEMALE", "NEUTRAL"] } }, "required": [ "vendor" ] }, "recognizer": { "properties": { "vendor": { "type": "string", "enum": ["google", "aws", "microsoft", "default"] }, "language": "string", "vad": "#vad", "hints": "array", "hintsBoost": "number", "altLanguages": "array", "profanityFilter": "boolean", "interim": "boolean", "singleUtterance": "boolean", "dualChannel": "boolean", "separateRecognitionPerChannel": "boolean", "punctuation": "boolean", "enhancedModel": "boolean", "words": "boolean", "diarization": "boolean", "diarizationMinSpeakers": "number", "diarizationMaxSpeakers": "number", "interactionType": { "type": "string", "enum": [ "unspecified", "discussion", "presentation", "phone_call", "voicemail", "voice_search", "voice_command", "dictation" ] }, "naicsCode": "number", "identifyChannels": "boolean", "vocabularyName": "string", "vocabularyFilterName": "string", "filterMethod": { "type": "string", "enum": [ "remove", "mask", "tag" ] }, "model": "string", "outputFormat": { "type": "string", "enum": [ "simple", "detailed" ] }, "profanityOption": { "type": "string", "enum": [ "masked", "removed", "raw" ] }, "requestSnr": "boolean", "initialSpeechTimeoutMs": "number", "azureServiceEndpoint": "string", "asrDtmfTerminationDigit": "string", "asrTimeout": "number" }, "required": [ "vendor" ] }, "lexIntent": { "properties": { "name": "string", "slots": "object" }, "required": [ "name" ] }, "vad": { "properties": { "enable": "boolean", "voiceMs": "number", "mode": "number" }, "required": [ "enable" ] } }