24 Commits

Author SHA1 Message Date
Sam Machin
f909c6e077 Regbot persistent call-id and other fixes (#130)
* use gw sid as call id and fix bug on updateing regbots

we must not mutate gw directly, as it is cached in the gateways array
 and adding properties would cause the JSON.stringify comparison to detect a
 false change on every checkStatus cycle, triggering unnecessary re-registrations.

* fix tests

add influx and also the registered now changes to remove previous reg on update

* better test scenario

still checks that we have 1 registered as expires now at 600s so it doesn't expire before the 65sec delay
2026-02-19 08:14:04 -05:00
rhondahollis
a21269cb19 remove send_options_bots array (#129)
fixes ticket #1983

Co-authored-by: rhonda hollis <rhonda@jambonz.org>
2026-02-12 12:15:47 -05:00
Hoan Luu Huu
55ace7820f Feat/cli remove fs (#116)
* support draining feature server manually

* support draining feature server manually

* support CLI to add or remove feature server

* wip

* wip

* wip

* add redis key for feature server and integration test

* wip
2025-10-28 19:26:24 -04:00
Dave Horton
e94ae431d8 add support for registration trunks which result in a set of ephemera… (#112)
* add support for registration trunks which result in a set of ephemeral sip gateways to be stored in redis

* wip

* refactor createEphemeralGateways into realtime dbhelpers

* minor

* update eslint
2025-10-21 07:32:06 -04:00
Hoan Luu Huu
6b8b7661da fix register with invalid from and to header (#84) 2025-02-18 07:07:37 -05:00
Hoan Luu Huu
e687d772d8 fix regbot issue with invalid sip_realm (#79)
* fix regbot issue with invalid sip_realm

* wip

* wip

* wip
2025-02-04 23:57:33 -05:00
Markus Frindt
b190d8a312 improvement of ipv4 regex and test cases (#73)
* improvement of ipv4 regex and test cases

* require utils test

* change example

---------

Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-08-21 11:47:06 -04:00
Hoan Luu Huu
6f7f553408 support use sips schema when it's enabled from gateway configuration (#67)
* support use sips schema when it's enabled from gateway configuration

* wip

* add LICENSE file
2024-06-15 09:11:06 -04:00
Hoan Luu Huu
d04337504a send options ping (#48)
* send options ping

* wip

* wip

* wip

* wip

* update blacklist sip gateway to redis

* wip
2024-03-30 09:18:31 -04:00
Hoan Luu Huu
4079f7b83b reject registration if the account is deactivated (#53)
* reject registration if the account is deactivated

* reject registration if the account is deactivated
2024-01-17 08:55:59 -05:00
p.souza
dcebadd63a centralize envs 2023-12-26 11:12:15 +01:00
Quan HL
07bcea7116 fix: failing testcase 2023-06-23 17:45:10 +07:00
Quan HL
6eebe379a6 feat:update fs server url to redis 2023-06-23 17:35:43 +07:00
Quan HL
1974abfcf7 fix failing testcase 2023-06-14 19:53:43 +07:00
Dave Horton
0ff8d8b7d0 update testbed to latest schema 2023-06-12 11:01:18 -04:00
Quan HL
3edefe119b update jambonz sql 2023-04-06 19:29:36 +07:00
Dave Horton
fc43de3b89 #9 - handle short expires in register requests 2023-01-05 13:00:31 -05:00
Dave Horton
c5ac53ce37 revamp algorithm to determine whether to become the active regbot in a cluster 2022-10-20 23:02:53 -04:00
Dave Horton
fe8245a782 enhancements to allow customization of from header and domain/ip in Contact 2022-10-06 09:58:38 +01:00
Quan Luu
95f863295b feat: Outbound register use sbc public IP address 2022-09-14 21:03:07 +07:00
Quan Luu
ca3aa668c6 feat: merge sip-registra and sip-options-handler 2022-09-09 16:28:14 +07:00
Quan Luu
da57ab4212 feat: merge sip-registra and sip-options-handler 2022-09-09 16:26:14 +07:00
Quan Luu
489f20a2cd fix: timeout issue 2022-09-01 08:06:09 +07:00
Quan Luu
933059f262 first version 2022-09-01 07:36:35 +07:00