Commit Graph

36 Commits

Author SHA1 Message Date
Dave Horton
7dd4d4a045 Feature/healthcheck improvements (#30)
* health check tests mysql and redis connectivity

* health check tests mysql and redis connectivity

* minor
2022-04-12 15:46:20 -04:00
Dave Horton
91cd677ad8 write call_counts time series data tracking inbound call counts by account 2022-04-01 13:08:25 -04:00
Dave Horton
75d8381ebb Feature/rtpengine locate by dns (#22)
* initial changes to use udp and dns in K8s for rtpengine ng

* github actions

* logging

* remove port from service name before dns lookup

* query rtpengine dns immediately on startup

* bugfix prev checkin

* use dns.lookup instead of resolve4 (k8s does not appear to consult search patterns in resolve.conf with the latter)

* return all rtpengine endpoints in dns lookup

* bugfix: polling rtpengine endpoints

* fix prev commit

* catch error on rtpengine failure

* update deps

* require node 14 in gh action build

* specify node version in gh actions
2022-01-23 18:03:11 -05:00
Dave Horton
7750fdc3f2 healthcheck only in k8s 2022-01-22 21:44:14 -05:00
Dave Horton
1cdaae7773 use ws rather than tcp for rtpengine connection in K8S 2022-01-12 08:28:41 -05:00
Dave Horton
82ac86389d add support for tcp connections to rtpengine, needed for K8S (#21)
* add support for tcp connections to rtpengine, needed for K8S

* update to correct version of @jambonz/rtpengine-utils

* update deps
2022-01-11 15:42:49 -05:00
Dave Horton
e9184ad208 add support for using ws to connect to rtpengine 2022-01-10 22:00:04 -05:00
Dave Horton
804bb890b5 JAMBONES_NETWORK_CIDR not needed for K8S (#20) 2022-01-09 14:59:00 -05:00
Dave Horton
a892a87eb5 K8s changes (#19)
* K8S changes

* k8s: test explicit dns lookup of service

* bugfix prev commit

* typo

* k8s: more dns

* k8s: more dns

* k8s: more dns fun

* k8s cleanup

* k8s: user service for rtpengine location

* k8s cleanup

* typo

* change env name for fs in k8s

* change k8s service name for feature server

* add support for outbound connection mode

* k8s change for outbound

* minor

* bugfix: drachtio connection was dropped after successful connect

* drop drachtio connection on call end

* Dockerfile

* k8s pre-stop hook

* actual hook committed

* make hjook executable

* dockerfile change

* time series fix

* bugfix: teams transfer using replaces
2022-01-06 12:37:49 -05:00
Dave Horton
927b7be637 SIGTERM handler to remove entry from active-sip 2021-12-20 16:09:34 -05:00
Dave Horton
f16598e144 Feature/sip refer (#18)
* support for sip refer to transfer an incoming call

* when sending REFER for call transfer, format Refer-To with carrier trunk if applicable

* better handling of e164 on Refer-To header
2021-11-20 11:41:12 -05:00
Dave Horton
981788dc58 Feature/minimal media anchoring (#11)
* add support for sitting behind a sip proxy that adds X-Forwarded-For header

* feature: release media from freeswitch

* handle mute/unmute

* fix for relaying INFO

* support for relaying dtmf via SIP INFO to FS

* deps
2021-10-21 12:00:02 -04:00
Dave Horton
04c4ad5975 add support for AWS autoscaling (#10) 2021-10-02 12:41:52 -04:00
Dave Horton
2fa1f08244 slight change to data format written to redis for set of active sbcs 2021-10-01 15:37:07 -04:00
Dave Horton
03cb1cceb5 maintain a redis set of active SBC SIP servers, under {prefix}:active-sip 2021-09-29 18:28:37 -04:00
Dave Horton
e63820ec2c bugfix: add only external addresses to sbc_addresses on startup 2021-06-29 11:39:28 -04:00
Dave Horton
c324f0425b merge of features from hosted fork (#9)
major merge of features from the hosted branch that was created temporarily during the initial launch of jambonz.org
2021-06-17 16:49:37 -04:00
Dave Horton
3fdbeb64f8 update deps and use new rtpengine statistics command 2020-07-09 10:05:40 -04:00
Dave Horton
958c34efbc add support for ms teams 2020-05-22 19:16:11 -04:00
Dave Horton
203cd0d16b bugfix: setting public ip and handling options ping 2020-04-20 16:34:54 -04:00
Dave Horton
c1e4324b51 add sbc public address to database on startup 2020-04-20 12:26:55 -04:00
Dave Horton
8db6fa9b81 update deps 2020-02-22 08:19:31 -05:00
Dave Horton
5e1cd70231 support inbound connections with tags 2020-02-20 06:53:26 -05:00
Dave Horton
734ec897e5 update deps 2020-02-19 11:18:14 -05:00
Dave Horton
ef9ee30fdc more metrics 2020-02-18 20:19:20 -05:00
Dave Horton
f5b8853581 add metrics 2020-02-18 16:35:09 -05:00
Dave Horton
7a879a1b83 fix for OPTIONS ping 2020-02-17 21:20:29 -05:00
Dave Horton
520ebac5df dynamically recognize feature servers through their options pings 2020-02-17 18:01:03 -05:00
Dave Horton
75946e89a4 fix for outbound connections 2020-02-15 21:58:45 -05:00
Dave Horton
a8561cba43 removed config in favor of env vars 2020-02-15 18:42:42 -05:00
Dave Horton
2af3d13e10 logging 2019-12-19 09:39:32 -05:00
Dave Horton
8c7a00cebe minor changes 2019-12-19 09:38:25 -05:00
Dave Horton
5a529b2bb9 revamp to mysql for gateway configuration and major code refactor 2019-12-13 10:20:27 -05:00
Dave Horton
537d6a9eaf tests in progress 2019-08-17 14:34:34 -04:00
Dave Horton
6cf55f69da start of test cases 2019-08-17 11:53:01 -04:00
Dave Horton
6e61fb898c initial checkin 2019-08-16 22:32:09 -04:00