340 Commits

Author SHA1 Message Date
Dave Horton
d8035c978e bugfix: error writing call counts 2022-04-01 15:09:46 -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
17b53438e2 track account level calls if env JAMBONES_TRACK_ACCOUNT_CALLS is set 2022-04-01 06:51:44 -04:00
Dave Horton
f1e2f192b7 Bugfix/mem leak (#29)
* wait for 200 OK to BYE before closing connection to drachtio

* minor logging
2022-03-27 21:50:09 -04:00
Dave Horton
0af8bcc348 remove dlg event handlers on destroy 2022-03-27 20:23:30 -04:00
Dave Horton
e067125974 de-link Dialogs so they can be GC'ed at call end 2022-03-27 19:43:39 -04:00
Dave Horton
2dadde64f4 write otel trace_id to call history 2022-03-23 09:29:22 -04:00
Dave Horton
d5a1337811 bugfix: connection to drachtio was not closed on non-success response to invite (#27) v0.7.4 2022-03-18 14:04:52 -04:00
Snyk bot
a6571134cd fix: Dockerfile to reduce vulnerabilities (#26)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-2419151
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2388380
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2426309
- https://snyk.io/vuln/SNYK-DEBIAN11-UTILLINUX-2401081
- https://snyk.io/vuln/SNYK-DEBIAN11-UTILLINUX-2401081
2022-03-18 07:54:19 -04:00
Dave Horton
e0e5c75496 bump version 2022-03-08 20:15:17 -05:00
Dave Horton
c08e35c261 Feature/incoming refer (#25)
* handle incoming REFER and send on to the FS

* clarity
v0.7.4-rc2
2022-03-05 15:22:11 -05:00
Dave Horton
883c63723c update to dbhelpers with support for searching root domains to identify account v0.7.4-rc1 2022-02-17 20:59:17 -05:00
Dave Horton
13f78bf8d9 added pre-commit hook for linting 2022-02-14 13:18:04 -05:00
Dave Horton
55056c1771 bump version v0.7.3-rc3 v0.7.3-rc2 v0.7.3 v0.7.3-rc4 2022-02-09 15:43:40 -05:00
Dave Horton
87ec5f8e09 update to latest @jambonz/realtimedb-helpers with support for redis username / password auth 2022-02-09 15:13:54 -05:00
Dave Horton
317280befc update deps 2022-02-09 08:22:14 -05:00
Dave Horton
7b97a0a137 0.7.2 version 0.7.2 v0.7.3-rc1 v0.7.2 2022-01-28 09:12:35 -05: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
v0.7.2-rc5 v0.7.2-rc3
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
fcf90916e1 update to rtpengine-utils that reconnects ws v0.7.2-rc2 2022-01-19 19:27:30 -05:00
Dave Horton
4a0aa79456 no need to reset rtpengine session when releasing media, and it was causing ICE to be reset which caused Teams to drop 2022-01-17 18:39:09 -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
56205dc852 bump version v0.7.1-rc2 v0.7.1-rc1 v0.7.1 v0.7.1-rc3 2021-12-21 09:41:01 -05:00
Dave Horton
927b7be637 SIGTERM handler to remove entry from active-sip 2021-12-20 16:09:34 -05:00
Dave Horton
63b482e562 bugfix: special case of single-tenant system 2021-12-20 12:23:04 -05:00
Dave Horton
a7d047a7e8 remove unneeded refs 2021-12-20 10:09:51 -05:00
Dave Horton
ea4f5ea0a8 bugfix: incoming call to accounts.sip_realm did not look for SP-level carriers 2021-12-20 09:54:21 -05:00
Dave Horton
13d8ee8c3c version bump, add docker publish 2021-12-13 09:52:41 -05:00
Dave Horton
c717470c5e version bump v0.6.7-rc9 v0.7.0 v0.6.7-rc8 v0.6.7-rc10 2021-12-02 19:20:57 -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
v0.6.7-rc7 v0.6.7-rc6
2021-11-20 11:41:12 -05:00
Dave Horton
8584020d4c add support for proxies that add X-Forwarded-For 2021-11-05 09:29:12 -04:00
Dave Horton
0b1b49bd59 Dockerfile 2021-11-04 12:57:15 -04:00
Dave Horton
e22b2ae63f version bump v0.6.7-rc5 2021-11-03 13:51:50 -04:00
Dave Horton
2a5200673d bump version v0.6.7-rc4 v0.6.7-rc3 2021-10-21 13:08:53 -04:00
Dave Horton
13ca308df7 bump version 2021-10-21 13:01:04 -04: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
ca4599da22 bugfix: autoscaling 2021-10-02 17:51:04 -04:00
Dave Horton
04c4ad5975 add support for AWS autoscaling (#10) 2021-10-02 12:41:52 -04:00
Dave Horton
5267b6f9a4 deps 2021-10-01 15:37:41 -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
9b78a818b5 bugfix: reinvite handling mixed up the public-private direction in rtpengine offer v0.6.6-rc1 v0.6.6 2021-08-09 15:44:23 -04:00
Dave Horton
e6a90a32ad if we get re-invite with no SDP (looking at you, BT) just respond with current offer v0.6.5 2021-08-03 10:41:41 -04:00
Dave Horton
fb21fd2333 brackets around From header 2021-07-28 16:16:47 -04:00
Dave Horton
819fecf455 LICENSE 2021-07-21 12:40:25 -04:00
Dave Horton
b0406287f5 fix tests v0.6.4 v0.6.3 2021-06-29 12:47:30 -04:00