Dave Horton
fd8df533ab
remove call to clear channels
2022-03-08 14:01:07 -05:00
Dave Horton
4b1199242f
added option for clearing old tts files and orphaned channels periodically
2022-03-08 13:07:37 -05:00
Dave Horton
72225791b9
logging and cleanup
2022-03-07 13:54:47 -05:00
Dave Horton
172dc1aaa7
Feature/config verb ( #77 )
...
* remove cognigy verb
* initial implementation of config verb
* further updates to config
* Bot mode alex (#75 )
* do not use default as value for TTS/STT
* fix gather listener if no say or play provided
Co-authored-by: akirilyuk <a.kirilyuk@cognigy.com >
* gather: listenDuringPrompt requires a nested play/say
* fix exception
* say: fix exception where caller hangs up during say
* bugfix: sip refer was not ending if caller hungup during refer
* add support for sip:request to ws commands
* gather: when bargein is set and minBargeinWordCount is zero, kill audio on endOfUtterrance
* gather/transcribe: add support for google boost and azure custom endpoints
* minor logging changes
* lint error
Co-authored-by: akirilyuk <45361199+akirilyuk@users.noreply.github.com >
Co-authored-by: akirilyuk <a.kirilyuk@cognigy.com >
2022-03-06 15:09:45 -05:00
Dave Horton
72b74de767
Feature/incoming refer ( #76 )
...
* Dial: handle incoming REFER on either leg by calling referHook, if configured
* lint
* modify payload of referHook
* support target.trunk on rest createCall api
* bugfix: gather partial result hook was not working
* lint
* handling of incoming REFER
2022-03-05 15:21:26 -05:00
Dave Horton
9908485eb8
bugfix: sip:refer would not finish if caller hungup before refer got final notify
2022-03-02 10:15:40 -05:00
Dave Horton
fb25389cd1
add support for session:reconnect over ws api
2022-02-27 16:57:00 -05:00
Dave Horton
f317fbaa45
Feature/gather enhancements ( #73 )
...
* add bargein support to gather
* bugfix: gather handles interim results from azure
* gather: support for min/max digits and interdigit timeout
* add task summary to some log messages
* logging improvements
2022-02-27 13:38:02 -05:00
Dave Horton
3c5d392407
Feature/ws api ( #72 )
...
initial changes to support websockets as an alternative to webhooks
2022-02-26 14:06:52 -05:00
Dave Horton
5bfc451c85
when running on kubernetes, use sbc-sip service rather than pinging sbcs
2022-02-23 12:27:34 -05:00
Dave Horton
47478fd409
fix possible exception
2022-02-19 09:57:51 -05:00
Dave Horton
c16a2662f2
bugfix: rest outdial issue caused by req.srf not properly set
2022-02-14 09:14:13 -05:00
Dave Horton
63e9cb985e
allow target-level headers on outdials ( #29 )
2022-02-10 14:34:21 -05:00
Dave Horton
2e88ab1f55
bugfix: race condition on hangup sometimes resulted in outbound call attempt even though caller had hung up
2022-02-10 12:15:25 -05:00
Dave Horton
7f75a35515
bugfix: race condition on hangup could cause us to send dup webhook
2022-02-10 11:16:57 -05:00
Dave Horton
941727e93f
add fs_public_ip to webhook payload (only when running in ec2 autoscale group)
2022-02-10 09:51:48 -05:00
Dave Horton
d8bfa33a00
include fs_sip_address and api_base_url in webhook paylods
2022-02-10 09:19:33 -05:00
Dave Horton
30ed5b6a02
add support for vad to gather and transcribe ( #67 )
2022-02-10 08:45:16 -05:00
Dave Horton
de83f735ea
memory leak fixes
2022-02-08 20:33:16 -05:00
Dave Horton
dda3335060
update deps, add helmet middleware
2022-02-03 07:31:30 -05:00
Dave Horton
2329f0cda0
child tasks must remove reference to parent on kill or else entangled parent-child tasks will not be gc'ed
2022-02-01 11:00:12 -05:00
Dave Horton
36683dc151
bugfix: include custom jambonz headers on rest outdial
2022-01-28 13:36:06 -05:00
Dave Horton
62ff44540d
more changes for wellsaid
2022-01-27 10:55:32 -05:00
Dave Horton
e5821cddf8
further fix for wellsaid tts
2022-01-27 10:46:16 -05:00
Dave Horton
25567a7842
add support for retrieving wellsaid speech credential
2022-01-27 10:34:30 -05:00
Dave Horton
27d6d32359
bugfix: rtpengine needs to transcode when different codecs are used on A and B legs
2022-01-26 07:37:09 -05:00
Dave Horton
142f5d409f
use smpp service name when running in kubernetes
2022-01-25 13:29:16 -05:00
Dave Horton
b27f349fc6
linting
2022-01-21 10:15:33 -05:00
Dave Horton
e1a023c21e
bugfix: aws property is engine not platform
2022-01-21 09:57:58 -05:00
Dave Horton
8acb4d1a24
#58 - add support for platform (standard, or neural) when using aws tts
2022-01-19 19:46:24 -05:00
Dave Horton
26d4bfb63b
Cognigy: settings tweaks
2022-01-18 19:49:46 -05:00
Dave Horton
45dcab8517
fix linting error
2022-01-17 20:37:32 -05:00
Dave Horton
097f36cb00
bugix: re-invites after releasing media fail
2022-01-17 13:11:19 -05:00
Dave Horton
752eed428f
cognigy: when use azuyre tts, request detailed output format
2022-01-14 08:48:55 -05:00
Dave Horton
afb874aabc
minor logging change
2022-01-14 07:56:11 -05:00
Dave Horton
59227febf9
K8s ( #57 )
...
* JAMBONES_NETWORK_CIDR not needed for K8S
* fix bug setting fsUUID in K8S scenario
* bugfix: dial music was not stopped when a dial verb times out (#56 )
2022-01-09 14:57:46 -05:00
Dave Horton
8593f12b51
add custom headers to outdial, save unique uuid for running FS to redis
2022-01-08 11:50:18 -05:00
Dave Horton
3bf1984854
K8s changes ( #55 )
...
* K8S: dont send OPTIONS pings
* fix missing ref
* k8s pre-stop hook added
* k8s pre-stop hook changes
* chmod +x utility
* more k8s pre-stop changes
* pre stop
* fix healthcheck
* k8s pre-stop working
* add readiness probe
* fix bug in pre-stop
* logging
* revamp k8s pre-stop a bit
* initial support for cognigy bot
* more cognigy changes
* switch to use transcribe for cognigy
* #54 include callInfo in dialogflow event payload
2022-01-06 12:41:14 -05:00
Dave Horton
0e45e9b27c
add target.overrideTo to specs
2021-12-22 08:32:56 -05:00
Dave Horton
d38e77c06c
bugfix: support looking up application by regex in addition to exact phone number match
2021-12-20 15:37:21 -05:00
Dave Horton
c9e2a162c2
lookupAppByPhoneNumber: pass voip_carrier_sid if available
2021-12-20 10:04:54 -05:00
Dave Horton
2b9cb5105f
clean up handlers
2021-12-15 19:33:31 -05:00
Dave Horton
afbbed3f5c
default options ping interval to 30s, with env override if desired
2021-12-14 12:28:02 -05:00
Dave Horton
5321b5c651
minor change to dial _releaseMedia
2021-12-13 13:22:09 -05:00
Dave Horton
83c114803f
minor logging
2021-12-13 11:48:43 -05:00
Dave Horton
0663174f46
additional logging
2021-12-12 09:30:36 -05:00
Dave Horton
3d4359fbe4
fix bug from prev checkin, destroy does not return a promise
2021-12-09 11:24:52 -05:00
Dave Horton
10382573fa
clean up some retainers
2021-12-09 10:44:50 -05:00
Dave Horton
c190279927
bugfix: enqueue task was only invoking waitUrl a single time
2021-12-06 21:18:51 -05:00
Dave Horton
114f65b36a
add env LEGACY_CRYPTO
2021-11-29 09:03:43 -05:00