* better handling of flush commands
* rework buffering of tokens
* gather: when returning low confidence also provide the transcript
* better error handling in tts:tokens
* special handling of asr timeout for speechmatics
* remove some logs that were excessively wordy
* add speechmatics options
* wip
* speechmatics does not do endpointing for us so we need to flip on continuousAsr
* speechmatics: continousAsr should be at least equal to max_delay, if set
* wip
* add TtsStreamingBuffer class to abstract handling of streaming tokens
* wip
* add throttling support
* support background ttsStream (#995)
* wip
* add TtsStreamingBuffer class to abstract handling of streaming tokens
* wip
* support background ttsStream
* wip
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* wip
* dont send if we have nothing to send
* initial testing with cartesia
* wip
---------
Co-authored-by: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
* feat/975: fixed continuous asr not stopping when asrDtmfTerminationDigit is configured
* feat/975: giving first preference to asrDtmfTerminationDigit if there is already ASR happened
* fix transcribe fixes for speechmatics
* update to verb-specs with fixes for speechmatics
* add support for speechmatics translation
* add handlers for receiving translations
* call translation hookd
* gather: no need to restart speechmatics after a final transcript during continuous asr
* graceful shutdown
* wip
* wip
* wip
* wip
* wip
* add support for aws language model name when transcribing
* wip - from prev branch
* wip
* support both aws grpc and ws api - detect based on transcription payload
* update to drachtio-fsmrf@4.0.0
* fix for grpc compatibility, requires JAMBONES_AWS_TRANSCRIBE_USE_GRPC env
* back out major update to drachtio-srf and fsmrf; that should come in a separate PR
* update drachtio-srf
* allow move to next task if say verb is failed because of speech credential
* allow move to next task if say verb is failed because of speech credential
* allow move to next task if say verb is failed because of speech credential
* wip
* wip
* clear gather timeout if imterim result received
* fix to reset timeout timer if receive interrim result
* fix to reset timeout timer if receive interrim result
* feat/813 - notify speech-bargein-detected and dtmf-bargein-detected events
* fix for #826 race condition in say (#827)
* fix for #826 race condition in say
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update transcription-utils.js (#802)
* Check the confidence levels of a transcript with minConfidence (#808)
* https://github.com/jambonz/jambonz-feature-server/issues/807
* feat/807: Using minConfidence from recognizer settings
* feat/807: new reason stt-min-confidence-error
* feat/807: sending stt-min-confidence instead of stt-min-confidence-error
* feat/807: sending stt-low-confidence instead of stt-min-confidence-error
* feat/807 - removed ? for this.data
* fix conference end is not sent when moderator leave conference (#825)
* fix conference end is not sent when moderator leave conference
* wip
* fix review comment
* feat/813: checking for playComplete before sending dtmf-bargein-detected event
* feat/813: added this.playComplete=true at the end of _killAudio method
* feat/813: removed empty line
* feat/813: removed nested if and added condition to main if
* feat/813: notifyStatus called when not playComplete
* feat/813: referring to time-series 0.2.9 version
* feat/813: generated package-lock.json
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Vinod Dharashive <vdharashive@gmail.com>
Co-authored-by: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
* feat/836: capturing callSid for STT and TTS alerts
* feat/836: corrected assignment of callSid and added target_sid at few more alerts
* update github action
---------
Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
* kill play task if bot responds verbs while actionHook delay is enabled (#712)
* kill play task if bot responds verbs while actionHook delay is enabled
* fix actionHook delay continues even the bot already responded verbs
* wip
* wip
* wip
* gather is hang if listenDuringPrompt = false and say/play task throw exception (#717)
* merge fix for Support ASR TTS fallback (#713)
---------
Co-authored-by: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
* initial support for coaching mode in conference
* wip
* wip
* add support for answer verb
* wip
* wip
* wip
* wip
* wip
* updates to rename option to dub
* wip
* wip
* wip
* update verb-specs
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* add option to boost audio signal in main channel
* wip
* wip
* wip
* wip
* wip
* wip
* for now, bypass use of streaming apis when generating tts audio for dub tracks
* add nested dub to dial
* wip
* add support for filler noise
* kill filler noise when gather killed
* wip
* wip
* while using sayOnTrack, we have to enclose the say command in double quotes
* disableTtsStreaming = false
* allow transcribe of b leg only on dial verb
* dub.say can either be text or object like say verb with text and synthesizer
* remove loop for sayOnTrack
* update speech-utils
* fixes for testing transcribe verb and support for dub and boostAudioSignal in lcc commands
* add dial.boostAudioSignal
* fix bug where session-level recognizer settings incorrectly overwrite verb-level settings
* update verb specs
* update dial to support array of dub verbs
* fix bug setting gain
* lint
* wip
* update speech-utils
* use new endpoint methods for mod_dub
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* deepgram gather: if both endpointing and utterance_end_ms are set (but not continous asr) return either when we get speech_final or UtteranceEnd. This is the belt-and-suspenders apprach deepgram is recommending
* include verb id in action hook if one was provided in the verb set
* minor