Hoan Luu Huu
65c241bcd1
gather verb should clean dtmf listerner even dtmfBargein=false ( #686 )
2024-03-23 16:01:41 -04:00
Hoan Luu Huu
b80d39d205
fix asrtimer always return vendor=deepgram ( #682 )
2024-03-13 12:57:55 -04:00
Hoan Luu Huu
c946a5d14d
fix actionHookDelay feature is not working properly if there is no de… ( #679 )
...
* fix actionHookDelayAction when no actions is defnied
* terminated by jambonz for giveuptimeout
2024-03-12 08:33:03 -04:00
Dave Horton
dbd3b59901
fix #666
2024-02-26 09:39:49 -05:00
Hoan Luu Huu
06b066a3f2
update speech util to support whisper stream ( #657 )
...
* update speech util to support whisper stream
* minor editing of span attributes
* more span attrs cleanup
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2024-02-22 14:17:29 -05:00
Dave Horton
d0ebe3f99f
fix possible undefined reference in precache audio ( #662 )
...
* fix possible undefined reference in precache audio
* fix parsing of JAMBONES_EAGERLY_PRE_CACHE_AUDIO
2024-02-22 07:58:41 -05:00
Dave Horton
51a379998f
fix #655 ( #658 )
...
* fix #655
* fix race condition
2024-02-22 07:46:53 -05:00
Hoan Luu Huu
c187685054
feat actionHook delay action ( #470 )
...
* feat actionHook delay action
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
2024-02-20 21:09:19 -05:00
Anton Voylenko
5c070597cf
tag outdial session ( #643 )
2024-02-12 13:16:43 -05:00
Dave Horton
f0533c881b
deepgram gather: if both endpointing and utterance_end_ms are set (bu… ( #644 )
...
* 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
2024-02-12 12:32:43 -05:00
Dave Horton
565478cc0a
#573 address race condition in pause/resume recording ( #584 )
2024-02-12 10:26:34 -05:00
Hoan Luu Huu
cdd25ca33d
Fix/gather timeout ( #594 )
...
* fix gather verb timeout does not work
* wip
* wip
* wip
* wip
* fix review comments
2024-02-12 10:13:02 -05:00
Dave Horton
9c33a790bd
update to latest speech-utils ( #639 )
2024-02-08 15:54:45 -05:00
Hoan Luu Huu
a55f81676b
Tts/elevenlabs streaming ( #629 )
...
* 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 >
2024-02-07 08:49:36 -05:00
Hoan Luu Huu
48a81072e8
fix gather should not play audio if gather already resolved ( #638 )
2024-02-06 07:42:44 -05:00
Anton Voylenko
048229f019
fix(dequeue): retrieve by callsid ( #630 )
2024-01-31 07:06:08 -08:00
Quan HL
5b607693dc
fix default gather input is digits and gather dtmf should not require speech
2024-01-31 11:46:29 +07:00
Dave Horton
901e412343
fix bug where final transcript with finished header results in timeout ( #624 )
2024-01-25 08:48:22 -05:00
Dave Horton
e57c7ba90a
fix for #627 ( #628 )
2024-01-25 08:46:57 -05:00
Hoan Luu Huu
1a80910f91
fix pause transcribe cannot close transcription on 2nd leg ( #621 )
2024-01-18 11:21:25 -05:00
Hoan Luu Huu
b45275789b
verbhook on ws connection should be ended in next redirect command ( #616 )
...
* verbhook on ws connection should be ended in next redirect command
* wip
* wip
* minor change for readability
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2024-01-17 12:37:03 -05:00
Dave Horton
6d5ef6a215
gather: dont resolve if deepgram sends final/empty transcript with no transcripts previously buffered ( #618 )
2024-01-17 10:59:37 -05:00
Hoan Luu Huu
b4ff2ea702
fix onholdHOok ( #540 )
...
* fix onholdHOok
* wip
* wip
* wip
* wip
* adding more debug log
* wip
* wip
* wip
2024-01-15 08:34:45 -05:00
Dave Horton
f22d66dfd6
set default deepgram model by language and task (gather vs transcribe) ( #610 )
...
* set default deepgram model by language and task (gather vs transcribe)
* wip
2024-01-14 10:38:14 -05:00
Dave Horton
09a83e3a31
Feature/precache audio ( #609 )
...
* wip
* fix for establishing vendor etc
* more fixes
* avoid a pre-caching attempt if synth settings change
2024-01-13 12:51:25 -05:00
Dave Horton
6f6d7a06b0
Revert "Fix/dual legs transcribe race condition ( #593 )" ( #600 )
...
This reverts commit 9d70ed96a1 .
2024-01-09 08:23:13 -05:00
Anton Voylenko
a2ba80a9a3
Snake case customer data for refer ( #598 )
...
* update envs
* fix refer customer data
* use data from function
2024-01-08 19:15:08 -05:00
Hoan Luu Huu
9d70ed96a1
Fix/dual legs transcribe race condition ( #593 )
...
* fs only stop one of bugname when transcribe is used for dual legs
* wip
* fix review comment
* wip
* wip
2024-01-06 19:12:51 -05:00
Hoan Luu Huu
8173a306f7
fix stt default vendor cannot be mapped to correct value ( #588 )
2024-01-04 07:34:30 -05:00
Dave Horton
2c48083c26
fix to be more precise about removing custom event handlers so that w… ( #580 )
...
* fix to be more precise about removing custom event handlers so that when we stop a gather we dont also inadvertently stop a background transcribe as well
* test fixes
* fix: endpointing=false was being ignored for Deepgram
2023-12-28 11:00:27 -05:00
Hoan Luu Huu
9d8291f892
Transcribe background task ( #576 )
...
* first draft
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* update verb-specification
* fix comment reviews
* provide bugname when stopping transcription, otherwise it will continue
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-12-26 21:50:51 -05:00
Hoan Luu Huu
3e8474867f
support deepgram ( #579 )
...
* support deepgram
* update speech utils
2023-12-26 07:46:35 -05:00
Hoan Luu Huu
9eb315ecd6
fix config and stt task for altLanguages ( #575 )
...
* fix config and stt task for altLanguages
* clear freeswitch channel var when altLanguages is empty list
2023-12-25 22:21:34 -05:00
Hoan Luu Huu
2ec1460b4e
nuance transcribe should have utteranceDetectionMode=multiple ( #574 )
...
* nuance transcribe should have utteranceDetectionMode=multiple
* nuance transcribe should have utteranceDetectionMode=multiple
2023-12-20 18:44:08 -05:00
Hoan Luu Huu
e30782ea7b
fix riva transcribe issue ( #570 )
2023-12-20 10:25:17 -05:00
Hoan Luu Huu
30977b309c
punctuation for microsoft ( #566 )
...
* punctuation for microsoft
* wip
2023-12-18 08:38:05 -05:00
Hoan Luu Huu
bcb4bf43bf
fix altLanguages ( #567 )
...
* fix altLanguages
* adding testcase
2023-12-16 08:35:09 -05:00
Hoan Luu Huu
59248c7638
fix config verb can override recognizer *Options ( #558 )
...
* fix config verb can override recognizer *Options
* wip
* clean up gather and transcribe
* fix failing testcase
* fix failing testcase
* fix failing testcase
2023-12-05 20:27:55 -05:00
Hoan Luu Huu
4273196447
Fix/interdigit timeout ( #554 )
...
* fix interdtmf timeout
* wip
* wip
* wip
* remove all speech listener if dtmf is received
2023-12-04 08:16:42 -05:00
Markus Frindt
86a14daf79
Update say task and add possibility to use elevenlabs options ( #556 )
...
* 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 >
2023-12-01 09:51:22 -05:00
Hoan Luu Huu
0a0cbd57ba
support elevenlabs options ( #553 )
...
* support elevenlabs options
* elevenlabs options from synthezier
* wip
* fix
2023-11-30 09:28:12 -05:00
Hoan Luu Huu
eb2d90ffaa
fix release freeswitch media properly ( #550 )
...
* fix release freeswitch media properly
* if a leg is opus, modify b leg offer opus first
* if a leg is opus, modify b leg offer opus first
* wip
* wip
* fix review comments
* fix review comments
* fix review comments
2023-11-29 10:17:15 -05:00
Hoan Luu Huu
9478f3a1b8
fix disable gather timeout if interDigitTimeout enabled. ( #538 )
2023-11-21 19:09:09 -06:00
Anton Voylenko
5a68563f96
live call control for tag ( #539 )
2023-11-17 08:48:17 -05:00
Hoan Luu Huu
1cdd0cf611
feat Audult call session should have its own requestor ( #535 )
...
* feat Audult call session should have its own requestor
* fix eslint
* fix eslint
* if user authenticate from http server instead of databse
* wip
* fix custom STT
* fix custom STT
* fix custom STT
2023-11-16 08:22:35 -05:00
Anton Voylenko
170c3c7ec4
rest:dial: Support sipindialog hook ( #531 )
...
* support sipindialog hook
* rename sipindialog method
2023-11-14 09:16:08 -05:00
Dave Horton
c6c599ab99
fix dialogflow tts bug (tts not working due to 'default' being assigned to label) and update to drachtio-srf with fix for parsing sip:1234@feature-server ( #518 )
2023-11-06 15:05:17 -05:00
Dave Horton
6d625d87ad
Feat/assemblyai testing ( #516 )
...
* handle errors from assemblyai
* wip
* fix alert
* normalizeAssemblyai
2023-11-02 17:05:28 -04:00
Hoan Luu Huu
7fee2ba2dc
feat assembly ( #515 )
...
* fix
* wip
* wip
* wip
* wip
* fix review comments
2023-11-02 09:25:04 -04:00
Dave Horton
3cdf568fb6
fix logging on child leg after REFER received on A leg ( #512 )
2023-10-31 20:55:39 -04:00