Commit Graph
63 Commits
Author SHA1 Message Date
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 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 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 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 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 8584020d4c add support for proxies that add X-Forwarded-For 2021-11-05 09:29:12 -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 9b78a818b5 bugfix: reinvite handling mixed up the public-private direction in rtpengine offer 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 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 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 e3963bf057 bugfix: re-invite handling from UAC side now handled properly 2021-04-27 08:16:36 -04:00
Dave Horton 3d58fdd242 dep change to @jambonz/http-authenticator 2020-12-15 14:26:09 -05:00
Dave Horton ae8469cfee jslint 2020-12-14 14:47:05 -05:00
Dave Horton 3fdbeb64f8 update deps and use new rtpengine statistics command 2020-07-09 10:05:40 -04:00
Dave Horton f01d2140db dont pass Session-Expires header into feature server 2020-06-10 12:04:13 -04:00
Dave Horton 09a1386283 bugfix: rtpengine now generates internal IP on sdp for internal-facing streams 2020-06-07 14:51:37 -04:00
Dave Horton 958c34efbc add support for ms teams 2020-05-22 19:16:11 -04:00
Dave Horton d7df23bfc1 pass X-Retain-Call-Sid on REFER from feature server 2020-05-11 09:12:33 -04:00
Dave Horton 2914c9f356 reinvite changes 2020-04-26 09:58:14 -04:00
Dave Horton de64af278d simplify handling of reinvites from feature server 2020-04-24 16:20:20 -04:00
Dave Horton 2c751a0b36 bugfix: regex error when feature server was removed 2020-04-21 08:14:15 -04:00
Dave Horton 3bb719c035 revert one change from prev checkin as it impacted testing 2020-04-20 16:52:27 -04:00
Dave Horton 203cd0d16b bugfix: setting public ip and handling options ping 2020-04-20 16:34:54 -04:00
Dave Horton b4766a4b88 save current list of active feature servers to redis, for use by api server 2020-04-20 09:46:38 -04:00
Dave Horton 0636b294b1 bugfix: checking feature server map 2020-04-20 08:20:11 -04:00
Dave Horton 1d1f3d5c10 attach X-Authenticated-User header for incoming calls from registered user 2020-04-19 10:27:58 -04:00
Dave Horton efaf7d28eb minor stats fix 2020-04-03 11:11:46 -04:00
Dave Horton 1ad61dc7b2 bugfix: PAI header on incoming call was being put in From header of outbound call 2020-04-03 11:11:15 -04:00
Dave Horton 8db6fa9b81 update deps 2020-02-22 08:19:31 -05:00
Dave Horton eb891d1bdf add metrics for auth hook rtt 2020-02-20 13:46:40 -05:00
Dave Horton 3a9dcb8ada logging 2020-02-19 14:29:36 -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 b744150b99 typo with source_port 2020-02-17 21:39:52 -05:00
Dave Horton 8c95a5ceeb fixes for dynamic 2020-02-17 21:37:45 -05:00
Dave Horton bfaa396f03 bugfix from prev checkin 2020-02-17 21:29:16 -05:00
Dave Horton c5ac04c0d5 fix deadline timer 2020-02-17 21:28:07 -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 22b645ed82 rtpengine function factored into package 2020-02-17 11:18:10 -05:00
Dave Horton c6a8c1b8b2 blacklist incoming call attempts from unknown gateways 2020-02-17 10:22:03 -05:00
Dave Horton 8341efc2fc minor 2020-02-17 09:35:04 -05:00
Dave Horton fa60d8a3be add support for multiple rtpengines 2020-02-17 09:23:52 -05:00
Dave Horton a8561cba43 removed config in favor of env vars 2020-02-15 18:42:42 -05:00