* fix say verb does not close streaming when finish say
* wip
* wip
* ttsStreamingBuffer reset eventHandlerCount after remove listeners
* only send tokens to module if connected
* wip
* sent stream_open when successfully connected to vendor
* fixed gather does not start timeout on bargin
* with previous change, no need to emit playDone since no where in the code are we listening for it
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* update to speech-utils that generates playback id
* modify tts and say task to track current playback id and match against start and stop events
* bump speech utils
* wip
* wip
* fix race condition where say with playbackId gets stop event from previous play from cache file
* logging
* wip
* fix comparison when playing cached files
* logging
* fix for race condition when play-stop event from earlier command received
* wip
* say verb should not cache if disableTtsCache = true
* logging
* modify race condition logic to validate playback id in playback-stopped matches that from playback-start
* logging
---------
Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
* FD_1079: tts modules response_code = 0 should make say fail to exec.
* fixed tts azure does not have response code
* fixed tts error does not raise alarm
* wip
* fixed
* 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>
* 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
* feat/868: Use the properties from global config in verb for TTS
* feat/868: setting this.options to combination of cs.synthesizer.options and this.options
* feat/868: Move the logic of copying cs properties to parent class tts-task.js
* feat/868: add empty line that was removed, say.js restored to original version
* feat/868: moved _synthesizeWithSpecificVendor to tts-task.js
---------
Co-authored-by: Rammohan Yadavalli <rammohan.yadavalli@kore.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>
* Aws polly engine fix
engine parameter was not able to change using synthesizer
* WIP
code correction and set default engine to Neural
* WIP
* WIP
Updated tts-task.js
* WIP
* 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>
* update speech util to support whisper stream
* minor editing of span attributes
* more span attrs cleanup
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* update to fsmrf with fix
* changes to support elevenlabs tts streaming
* say: add vendor data to span
* bug: tts spans must include cached property
* add env for JAMBONES_USE_FREESWITCH_TIMER_FD
* fix bug in prev commit
* wip
* linting
* wip - caching files generating by streaming tts
* wip caching
* cleanup some logs
* handle tts streaming failure, write alert
* update node version dependency
* set timerfd on outbound call scenarios
* default model to nova-2-phonecall when using deepgram
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
* Update say task and add possibility to use elevenlabs options from synthesizer
* revert ms change
* fix contdition for alerting
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>