Dave Horton
c0ab936b76
wip ( #830 )
...
* wip
* wip
* wip
* wip
* update deps
* update test to use latest freeswitch image
2024-08-29 15:23:49 -04:00
Hoan Luu Huu
fca391c32e
support listen verb support bidirectionalAudioSampleRate ( #695 )
...
* support listen verb support bidirectionalAudioSampleRate
* ưip
* update verb spec and drachtio fsmrf
* fix listen failing testcase
* fix review comment
* update freeswitch test image
* update freeswitch teset image
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2024-04-06 13:20:01 -04:00
Dave Horton
51a379998f
fix #655 ( #658 )
...
* fix #655
* fix race condition
2024-02-22 07:46:53 -05:00
Dave Horton
9c33a790bd
update to latest speech-utils ( #639 )
2024-02-08 15:54:45 -05:00
Hoan Luu Huu
29bbcf1be0
add user-agent to http and ws requestor ( #602 )
...
* add user-agent to http and ws requestor
* wip
* fix review comment
2024-01-10 08:54:46 -05:00
Hoan Luu Huu
15829139c1
fix hangup headers ( #583 )
...
* fix hangup headers
* no need for callback
* fix test failure
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-12-28 14:59:59 -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
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
bcb4bf43bf
fix altLanguages ( #567 )
...
* fix altLanguages
* adding testcase
2023-12-16 08:35:09 -05:00
Dave Horton
077460d0e2
Feat/multiset envs ( #569 )
...
* update to drachtio-fsmrf@3.0.31
* fix prev commits
2023-12-15 15:39:15 -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
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
7992bc6ca0
feat add http proxy to undicy ( #487 )
...
* feat add http proxy to undicy
* fix typo
* fix typo
* add http proxy testcase
2023-10-20 08:36:24 +02:00
Hoan Luu Huu
4b7b0e309b
say verb support play audio in array ( #482 )
...
* say verb support play audio in array
* fixed review comments
* added separated testcase
2023-10-20 08:14:57 +02:00
Hoan Luu Huu
48f2c57ae2
feat sip indialog actionHook ( #477 )
...
* feat sip indialog actionHook
* feat sip indialog actionHook
* feat sip indialog actionHook
* feat sip indialog actionHook
* update verb spec
* fix
* fix
* rename function as required _onRequestWithinDialog
2023-10-10 08:41:32 -04:00
Hoan Luu Huu
90df33a15c
fix choose speech dedential by label ( #441 )
...
* fix choose speech dedential by label
* wip
2023-08-30 09:22:33 -04:00
Hoan Luu Huu
b1ecf069bf
Feat/fallback speech 02 ( #429 )
...
* feat fallback speech
* feat fallback speech
* feat fallback speech
* gather verb
* fix
* wip
* wip
* wip
* wip
* wip
* transcribe
* transcribe
* fix
* wip
* wip
* wip
* wip
* fix
* wip
* fix
2023-08-22 09:22:01 -04:00
Dave Horton
ee514f7459
update references from jambonz.us to jambonz.cloud ( #433 )
2023-08-19 14:42:35 -04:00
Hoan Luu Huu
f8c5abe9e9
feat: multi speech credential diff labels but same vendor ( #426 )
...
* feat: multi speech credential diff labels but same vendor
* update sql
* fix
* fix
* fix jslint
* fix review comment
* update verb spec version
2023-08-15 08:57:49 -04:00
Hoan Luu Huu
d7dcdb1d0c
Continuos ASR for transcribe ( #398 )
...
* asrTimeout
* fix jslint
* change log
* fix interrim
2023-08-03 09:49:44 -04:00
Dave Horton
6793bbf330
fix exception that appears in logs if session ends before last call status update
2023-07-18 13:20:53 -04:00
Hoan Luu Huu
aad24744f3
feat: record all calls ( #352 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix jslint
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix: add file ext
* fix: record format
* fix outbound
* update to drachtio-fsmrf with support for multiple recording streams on a call
* enable DTMF during background listen recording
* fix merge commit
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-06-09 14:54:53 -04:00
Dave Horton
55935e3f35
skip flaky test
2023-06-03 09:09:49 -04:00
Hoan Luu Huu
b7070121ee
feat: advanced queues ( #362 )
...
* feat: advanced queues
* feat: advanced queues
* feat: advanced queues
* feat: advanced queues
* update verb specification
* add testcase
* add testcase
* add testcase
* updte testcase
* fixed
* update queue
* fix: fix waithook params
* fix: fix waithook params
* fix: performQueueWebhook with correct members length
* fix merge conflict
* debug log
* debug listen test
* debug listen test
* debug listen test
* debug listen test
* debug listen test
* debug listen issue
* feat: add tts on account level
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-06-03 08:16:05 -04:00
Hoan Luu Huu
bb852600c0
fix: app_json is used for outbound call ( #358 )
...
* fix: app_json is used for outbound call
* fix jslint
* fix: app_json setter in rest:dial task
2023-06-01 08:52:53 -04:00
Hoan Luu Huu
32a84b7b19
feat: rest:dial amd ( #339 )
...
Add support for sending 'amd' property in createCall REST API and also added support for using any of the speech vendors for STT
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-05-16 16:20:08 -04:00
Dave Horton
09abb23968
minor test change
2023-05-11 10:50:56 -04:00
Dave Horton
feccc0fca7
add support for azure custom voices on a per-say basis ( #346 )
2023-05-09 13:25:43 -04:00
Dave Horton
5043edfd4e
addresses #340 and #331 ( #341 )
2023-05-08 12:23:32 -04:00
Hoan Luu Huu
fabf01f8b5
feat: callerName to rest_dial and dial verb ( #312 )
...
* feat: callerName to rest_dial and dial verb
* update verb specification
2023-04-12 10:04:55 -04:00
Dave Horton
5c2630fe1f
webapp-scaffold can not reference code in higher level app ( #314 )
2023-04-12 07:54:21 -04:00
Markus Frindt
86df53f8c4
Feature/centralized configs ( #310 )
...
* [snyk] fix vulnerabilities
* move all process.env in one config
* update log level in config
* check envs
* fix imports in tests for microsoft, soniox, deepgram
* fix import in gather-test
* fix missing imports
---------
Co-authored-by: Markus Frindt <m.frindt@cognigy.com >
2023-04-11 12:46:52 -04:00
Dave Horton
845d80a23d
change population of test data
2023-04-05 13:10:01 -04:00
Dave Horton
1c683f1142
initial changes for soniox ( #270 )
...
* initial changes for soniox
* changes to gather for soniox
* parse soniox stt results
* handle <end> token for soniox
* soniox: handle empty array of words
* support for soniox hints
* add soniox storage options
* update to verb specs
* add support for transcribe
* compile soniox transcripts
* gather: kill no input timer for soniox when we get interim results
* fix buffering of soniox transcripts
* fix for compiling soniox transcript
* another fix for compiling soniox transcript
* another fix
* handling of <end> token
* fix soniox bug
* gather: fixes for soniox continous asr
* fix undefined variable reference
* fix prev commit
* bugfix: allow verb_status requests
* gather: for soniox no need to restart transcription after final transcription received
* update verb specs
* update verb specs, fixes for continuous asr:
2023-03-03 13:37:55 -05:00
Hoan Luu Huu
c09425fa89
feat: use verb-specifications ( #262 )
...
* feat: use verb-specifications
* feat: use verb-specifications
* fix: verb specification v2
* remove irrelevant tests
* fix: verb-scpecification
* update to use @jambonz/verb-specifications
---------
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-02-15 09:56:23 -05:00
Hoan Luu Huu
0e5bb876ce
ws-requestor unit test ( #244 )
...
* ws-requestor unit test
* ws-requestor unit test
* ws-requestor unit test
* handle special case of reconnecting during the initial session:new - ack transaction
* fix: add more wsrequestor unit test
* fix: add more wsrequestor unit test
---------
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-02-06 08:06:41 -05:00
Dave Horton
c37fba541f
for backwards compatibility in gather/transcribe return only 1 alternative at top level ( #240 )
2023-02-02 12:58:22 -05:00
Dave Horton
f9921cf4e9
#238 - add 'listen' option to config verb ( #239 )
2023-01-31 14:39:55 -05:00
Hoan Luu Huu
9d07a1354c
feat: support app_json in application ( #236 )
...
* feat: support app_json in application
* feat: support app_json in application
* update db schema to latest
---------
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-01-29 14:35:29 -05:00
Dave Horton
70822cb278
test fix: ACK to 487 response must have same branch in via as invite
2023-01-29 13:23:11 -05:00
Hoan Luu Huu
14a02735be
fix: uncomment testsuite ( #234 )
...
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: unstable testcases
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: uncomment testsuite
* fix: unstable testcase
* fix: uncomment testsuite
* wip: test
* wip: test
* wip: test
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
2023-01-27 07:27:53 -05:00
Hoan Luu Huu
4b3ebe37ac
fix: add early media testcase ( #233 )
...
* fix: add early media testcase
* fix: add early media testcase
* fix: add early media testcase
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
2023-01-26 13:29:31 -05:00
Hoan Luu Huu
f4fbd07f8e
feat: add dial verb testcases ( #231 )
...
* feat: add dial verb testcases
* feat: add dial verb testcases
* feat: add dial verb testcases
* feat: add dial verb testcases
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
2023-01-25 10:39:01 -05:00
Hoan Luu Huu
6ebba8673f
feat: listen verb testsuite ( #222 )
...
* first draft
* first draft
* listen should connect to port 3000 on webhook scaffold
* revamp webhook scaffold for listen ws support
* fix: finished listen test
* fix: add playbeep test listen
* fix: add playbeep test listen
* fixed: listen on 10% loss
* feat: add test case for listen pause resume and complete the call
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
Co-authored-by: Dave Horton <daveh@beachdognet.com >
2023-01-24 22:20:31 -05:00
Hoan Luu Huu
088316d266
fix: split ssml to correct chunks ( #225 )
...
* fix: split ssml to correct chunks
* fix: split ssml to correct chunks
* fixed: eslint
* fixed: eslint
* fixed: add comment to testcase
* fixed: review comments
* fixed: review comments
* fixed: review comments
* fixed: review comments
* fixed: review comments
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
2023-01-24 09:48:31 -05:00
Hoan Luu Huu
8c0044a378
Weebhook app test support ws ( #226 )
...
* feat: webhook test app support ws
* feat: webhook test app support ws
* feat: webhook test app support ws
* feat: webhook test app support ws
Co-authored-by: Quan HL <quanluuhoang8@gmail.com >
2023-01-24 09:04:37 -05:00
Dave Horton
7122d955fe
fix for #217 - refer blocks if notify nor bye received
2023-01-17 08:01:50 -05:00
Dave Horton
a2e909b057
fix analysis of play test
2023-01-10 13:50:58 -05:00
dependabot[bot]
5b875c3ad4
Bump qs and express in /test/webhook ( #195 )
...
Bumps [qs](https://github.com/ljharb/qs ) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0 )
Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 20:34:00 -05:00
Dave Horton
8686348454
Feature/deepgram stt ( #190 )
...
* initial changes to support deepgram stt
* fixes for normalizing vendor-specific transcriptions
* update to latest drachtio-fsmrf with support for deepgram stt
* deepgram parsing error
* hints support for deepgram
* handling deepgram errors
* ignore late arriving transcripts for deepgram
* handling of empty transcripts
* transcribe changes
* allow deepgram stt credentials to be provided at run time
* bind channel in transcription handler
* fixes for transcribe when handling empty transcripts
* more empty transcript fixes
* update tests to latest modules
* add test cases for deepgram speech recognition
2022-11-12 19:48:59 -05:00