mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
* fixes from testing with translator app * more updates * linting * update gh actions to node 20 * add support for google v2 preconfigured recognizer * add support for google voice activity events * update to speech-utils@0.0.45 * update speech-utils to support caching azure tts * transcribe must buffer transcripts for channel 1 and 2 separately * further fix for accumulating transcripts * linting * deepgram sends transcripts with empty alternatives array * fix deepgram returning an empty array
202 lines
6.3 KiB
JSON
202 lines
6.3 KiB
JSON
{
|
|
"TaskName": {
|
|
"Answer": "answer",
|
|
"Conference": "conference",
|
|
"Config": "config",
|
|
"Dequeue": "dequeue",
|
|
"Dial": "dial",
|
|
"Dialogflow": "dialogflow",
|
|
"Dtmf": "dtmf",
|
|
"Dub": "dub",
|
|
"Enqueue": "enqueue",
|
|
"Gather": "gather",
|
|
"Hangup": "hangup",
|
|
"Leave": "leave",
|
|
"Lex": "lex",
|
|
"Listen": "listen",
|
|
"Message": "message",
|
|
"Pause": "pause",
|
|
"Play": "play",
|
|
"Rasa": "rasa",
|
|
"Redirect": "redirect",
|
|
"RestDial": "rest:dial",
|
|
"SipDecline": "sip:decline",
|
|
"SipRequest": "sip:request",
|
|
"SipRefer": "sip:refer",
|
|
"SipNotify": "sip:notify",
|
|
"SipRedirect": "sip:redirect",
|
|
"Say": "say",
|
|
"SayLegacy": "say:legacy",
|
|
"Tag": "tag",
|
|
"Transcribe": "transcribe"
|
|
},
|
|
"AllowedSipRecVerbs": ["answer", "config", "gather", "transcribe", "listen", "tag"],
|
|
"AllowedConfirmSessionVerbs": ["config", "gather", "plays", "say", "tag"],
|
|
"CallStatus": {
|
|
"Trying": "trying",
|
|
"Ringing": "ringing",
|
|
"EarlyMedia": "early-media",
|
|
"InProgress": "in-progress",
|
|
"Queued": "queued",
|
|
"Failed": "failed",
|
|
"Busy": "busy",
|
|
"NoAnswer": "no-answer",
|
|
"Completed": "completed"
|
|
},
|
|
"CallDirection": {
|
|
"Inbound": "inbound",
|
|
"Outbound": "outbound",
|
|
"None": "none"
|
|
},
|
|
"ListenStatus": {
|
|
"Pause": "pause",
|
|
"Silence": "silence",
|
|
"Resume": "resume"
|
|
},
|
|
"TranscribeStatus": {
|
|
"Pause": "pause",
|
|
"Silence": "silence",
|
|
"Resume": "resume"
|
|
},
|
|
"TaskPreconditions": {
|
|
"None": "none",
|
|
"Endpoint": "endpoint",
|
|
"StableCall": "stable-call",
|
|
"UnansweredCall": "unanswered-call"
|
|
},
|
|
"AvmdEvents": {
|
|
"Beep": "avmd::beep"
|
|
},
|
|
"GoogleTranscriptionEvents": {
|
|
"Transcription": "google_transcribe::transcription",
|
|
"EndOfUtterance": "google_transcribe::end_of_utterance",
|
|
"NoAudioDetected": "google_transcribe::no_audio_detected",
|
|
"MaxDurationExceeded": "google_transcribe::max_duration_exceeded",
|
|
"VadDetected": "google_transcribe::vad_detected"
|
|
},
|
|
"NuanceTranscriptionEvents": {
|
|
"Transcription": "nuance_transcribe::transcription",
|
|
"StartOfSpeech": "nuance_transcribe::start_of_speech",
|
|
"TranscriptionComplete": "nuance_transcribe::end_of_transcription",
|
|
"Error": "nuance_transcribe::error",
|
|
"VadDetected": "nuance_transcribe::vad_detected"
|
|
},
|
|
"NvidiaTranscriptionEvents": {
|
|
"Transcription": "nvidia_transcribe::transcription",
|
|
"StartOfSpeech": "nvidia_transcribe::start_of_speech",
|
|
"TranscriptionComplete": "nvidia_transcribe::end_of_transcription",
|
|
"Error": "nvidia_transcribe::error",
|
|
"VadDetected": "nvidia_transcribe::vad_detected"
|
|
},
|
|
"DeepgramTranscriptionEvents": {
|
|
"Transcription": "deepgram_transcribe::transcription",
|
|
"ConnectFailure": "deepgram_transcribe::connect_failed",
|
|
"Connect": "deepgram_transcribe::connect"
|
|
},
|
|
"SonioxTranscriptionEvents": {
|
|
"Transcription": "soniox_transcribe::transcription",
|
|
"Error": "soniox_transcribe::error"
|
|
},
|
|
"CobaltTranscriptionEvents": {
|
|
"Transcription": "cobalt_speech::transcription",
|
|
"CompileContext": "cobalt_speech::compile_context_response",
|
|
"Error": "cobalt_speech::error"
|
|
},
|
|
"IbmTranscriptionEvents": {
|
|
"Transcription": "ibm_transcribe::transcription",
|
|
"ConnectFailure": "ibm_transcribe::connect_failed",
|
|
"Connect": "ibm_transcribe::connect",
|
|
"Error": "ibm_transcribe::error"
|
|
},
|
|
"AwsTranscriptionEvents": {
|
|
"Transcription": "aws_transcribe::transcription",
|
|
"EndOfTranscript": "aws_transcribe::end_of_transcript",
|
|
"NoAudioDetected": "aws_transcribe::no_audio_detected",
|
|
"MaxDurationExceeded": "aws_transcribe::max_duration_exceeded",
|
|
"VadDetected": "aws_transcribe::vad_detected"
|
|
},
|
|
"AzureTranscriptionEvents": {
|
|
"Transcription": "azure_transcribe::transcription",
|
|
"StartOfUtterance": "azure_transcribe::start_of_utterance",
|
|
"EndOfUtterance": "azure_transcribe::end_of_utterance",
|
|
"NoSpeechDetected": "azure_transcribe::no_speech_detected",
|
|
"VadDetected": "azure_transcribe::vad_detected"
|
|
},
|
|
"JambonzTranscriptionEvents": {
|
|
"Transcription": "jambonz_transcribe::transcription",
|
|
"ConnectFailure": "jambonz_transcribe::connect_failed",
|
|
"Connect": "jambonz_transcribe::connect",
|
|
"Error": "jambonz_transcribe::error"
|
|
},
|
|
"AssemblyAiTranscriptionEvents": {
|
|
"Transcription": "assemblyai_transcribe::transcription",
|
|
"Error": "assemblyai_transcribe::error",
|
|
"ConnectFailure": "assemblyai_transcribe::connect_failed",
|
|
"Connect": "assemblyai_transcribe::connect"
|
|
},
|
|
"ListenEvents": {
|
|
"Connect": "mod_audio_fork::connect",
|
|
"ConnectFailure": "mod_audio_fork::connect_failed",
|
|
"Transcription": "mod_audio_fork::transcription",
|
|
"Transfer": "mod_audio_fork::transcription",
|
|
"PlayAudio": "mod_audio_fork::play_audio",
|
|
"KillAudio": "mod_audio_fork::kill_audio",
|
|
"Disconnect": "mod_audio_fork::disconnect",
|
|
"Error": "mod_audio_fork::error",
|
|
"BufferOverrun": "mod_audio_fork::buffer_overrun",
|
|
"JsonMessage": "mod_audio_fork::json"
|
|
},
|
|
"LifeCycleEvents" : {
|
|
"ScaleIn": "scale-in",
|
|
"StandbyEnter": "standby-enter",
|
|
"StandbyExit": "standby-exit"
|
|
},
|
|
"QueueResults": {
|
|
"Bridged": "bridged",
|
|
"Error": "error",
|
|
"Wait": "hangup",
|
|
"Leave": "leave"
|
|
},
|
|
"DequeueResults": {
|
|
"Bridged": "bridged",
|
|
"Error": "error",
|
|
"Hangup": "hangup",
|
|
"Timeout": "timeout"
|
|
},
|
|
"KillReason": {
|
|
"Hangup": "hangup",
|
|
"Replaced": "replaced"
|
|
},
|
|
"HookMsgTypes": [
|
|
"session:new",
|
|
"session:reconnect",
|
|
"session:redirect",
|
|
"session:adulting",
|
|
"call:status",
|
|
"queue:status",
|
|
"dial:confirm",
|
|
"verb:hook",
|
|
"verb:status",
|
|
"jambonz:error"
|
|
],
|
|
"RecordState": {
|
|
"RecordingOn": "recording_on",
|
|
"RecordingOff": "recording_off",
|
|
"RecordingPaused": "recording_paused"
|
|
},
|
|
"AmdEvents": {
|
|
"NoSpeechDetected": "amd_no_speech_detected",
|
|
"HumanDetected": "amd_human_detected",
|
|
"MachineDetected": "amd_machine_detected",
|
|
"MachineStoppedSpeaking": "amd_machine_stopped_speaking",
|
|
"Error": "amd_error",
|
|
"DecisionTimeout": "amd_decision_timeout",
|
|
"ToneDetected": "amd_tone_detected",
|
|
"ToneTimeout": "amd_tone_timeout",
|
|
"Stopped": "amd_stopped"
|
|
},
|
|
"MAX_SIMRINGS": 10,
|
|
"BONG_TONE": "tone_stream://v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)",
|
|
"FS_UUID_SET_NAME": "fsUUIDs"
|
|
}
|