Dave Horton
944b8a29ca
Use lts version of node instead of latest
2022-05-02 11:17:29 -04:00
Dave Horton
daa02ac55a
logging
2022-05-02 11:12:39 -04:00
Dave Horton
5134d5dbc6
update to latest realtimedb-helpers
2022-05-02 10:55:42 -04:00
Dave Horton
a755e25568
minor logging
2022-05-02 10:21:17 -04:00
Dave Horton
13549286db
bugfix: createCall needs to work with wss url
2022-05-02 09:42:04 -04:00
Dave Horton
72aaf80335
add support for multiple languages when using Azure STT
v0.7.5-rc8
2022-04-26 15:07:55 -04:00
Dave Horton
af33089a8a
fix deprecated dep
v0.7.5-rc7
2022-04-24 14:05:44 -04:00
Dave Horton
85d86cfdc3
bugfix: gather catch errors when webhook fails
2022-04-24 13:45:29 -04:00
Dave Horton
de9f2ce5ca
bugfix: handle error if we cannot get our own ipv4
v0.7.5-rc6
2022-04-21 19:09:23 -04:00
Dave Horton
36c97e9562
simplify error message
2022-04-21 14:43:09 -04:00
Dave Horton
13ea559cb1
send error notification over websocket if tts fails
2022-04-21 14:33:49 -04:00
Dave Horton
698d12a95f
clean up error handling in say verb
2022-04-21 10:27:33 -04:00
Dave Horton
359cb82d80
per recommendation from microsoft, do NOT sort transcripts by confidence: first transcript in the returned list is 'best'
v0.7.5-rc5
2022-04-17 17:53:16 -04:00
Dave Horton
29dec24095
bugfix: azure stt - if we get no speech detected, listen again
v0.7.5-rc4
2022-04-13 12:07:30 -04:00
Dave Horton
6330b0d443
Dockerfile update
v0.7.5-rc3
2022-04-12 16:12:29 -04:00
Dave Horton
24a0bc547f
gather: dont restart transcribing if task has been killed
2022-04-11 21:13:49 -04:00
Dave Horton
db5486de27
gather bugfix: dont start transcribing after call is gone
2022-04-10 15:48:35 -04:00
Dave Horton
41d6c74c8e
send application defaults for speech in initial webhook
v0.7.5-rc2
2022-04-09 11:38:31 -04:00
Dave Horton
92ca40c9b3
add feature flag env JAMBONES_INJECT_CONTENT ( #98 )
2022-04-06 15:54:59 -04:00
Dave Horton
3fa913215f
bump version
v0.7.5-rc1
2022-04-06 08:19:33 -04:00
Snyk bot
0b132411c1
fix: package.json & package-lock.json to reduce vulnerabilities ( #97 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MOMENT-2440688
2022-04-06 07:30:11 -04:00
Dave Horton
077d34dc9e
gather: resolve with reason killed prevented task from ending
2022-04-05 08:15:30 -04:00
Dave Horton
49a75a3e3a
minor logging improvement
2022-04-04 14:02:09 -04:00
Dave Horton
6f214a66e8
AdultingSession: just create new child logger (simpler)
2022-04-04 13:49:30 -04:00
Dave Horton
3456c51118
AdultingSession: change bindings on logger to include new traceId
2022-04-04 13:38:38 -04:00
Dave Horton
13c38a9875
AdultingCallSession: constructor now requires rootSpan
2022-04-04 13:23:08 -04:00
Dave Horton
4f87cf9b38
dial: include http b3 header
2022-04-04 13:07:29 -04:00
Dave Horton
bf21a1f9a4
config: fixes from bargein testing
2022-04-04 12:40:18 -04:00
Dave Horton
81f6163aca
confirmCallSession: pass accountInfo
2022-04-03 22:46:04 -04:00
Dave Horton
547ca0281f
fix prev commit
2022-04-03 22:30:47 -04:00
Dave Horton
3281a213c8
proper creation of confirmHook tasks
2022-04-03 22:27:37 -04:00
Dave Horton
4f2fc70383
add new type dial:confirm
2022-04-03 22:12:14 -04:00
Dave Horton
f72e8e654c
bugfix: confirmHook
2022-04-03 22:04:24 -04:00
Dave Horton
cf2100f925
another fix for confirmHook
2022-04-03 21:52:09 -04:00
Dave Horton
5a584f50da
bugfix: implement confirmHook for dial
2022-04-03 21:41:23 -04:00
Dave Horton
befe910503
logging fix
2022-04-03 20:02:51 -04:00
Dave Horton
040ec0db9b
logging fix
2022-04-03 19:42:31 -04:00
Dave Horton
8459376f88
fix bug in prev checkin
2022-04-03 19:15:00 -04:00
Dave Horton
775a317821
rest createCall: include accountSid and traceId in logging
2022-04-03 19:02:14 -04:00
Dave Horton
9004f654ff
bugfix: yet another tracing fix on rest outdial
2022-04-03 18:52:32 -04:00
Dave Horton
6163657845
bugfix: another tracing fix on rest outdial
2022-04-03 18:44:27 -04:00
Dave Horton
398daa87d5
remove tracing lib that is not needed
2022-04-03 18:34:46 -04:00
Dave Horton
4f5ab7d146
bugfix: tracing-related exception on rest createCall
2022-04-03 18:29:37 -04:00
Dave Horton
70f7775893
dial: fix tracing attribute
2022-04-03 15:36:06 -04:00
Dave Horton
a950f9f738
Feature/trace propagation ( #96 )
...
* add b3 header for trace propagation on initial webhook
* logging
* add tracing context to all webhooks
* Add span parameter to Task.getTracingPropagation. Pass proper span to getTracingPropagation calls in Task methods to propagate the proper spanId (#91 )
* some tracing cleanup
* bugfix: azure stt results need to be ordered by confidence level before processing (#92 )
* fix assertion
* bugfix: vad was not enabled on config verb, restart STT on empty transcript in gather
* gather: dont send webhook if call is gone
* rest outdial: handle 302 redirect so we can later cancel request if needed (#95 )
* gather: restart if we get an empty transcript (looking at you, Azure)
Co-authored-by: javibookline <98887695+javibookline@users.noreply.github.com >
2022-04-01 14:48:27 -04:00
Dave Horton
ff8d7f3648
bugfix: create spans for nested tasks in gather, rasa, and dial; fix gather bug not starting transcribe after say completes
2022-03-29 15:44:55 -04:00
Dave Horton
6e4ae69cb7
logging
2022-03-29 09:48:18 -04:00
Dave Horton
23eae34888
add env JAMBONES_ESL_LISTEN_ADDRESS
2022-03-29 09:33:39 -04:00
Dave Horton
aaf94006db
explicitly bind esl socket to ipv4 interface (digital ocean k8s defaults to ipv6 which causes in ECONNREFUSED from freeswitch)
2022-03-29 09:19:38 -04:00
Dave Horton
86b030db93
logging
2022-03-29 08:57:32 -04:00