Commit Graph

168 Commits

Author SHA1 Message Date
Sam Machin
543f52d3dd use outbound proxy for registrations where set (#103)
* use outbound proxy for registrations where set

* remove requirement that port can only be set on IP address not host

* switch logging back to debug and remove unused function

* Update regbot.js
2025-05-12 07:58:55 -04:00
rammohan-y
5f107d19bc Updated drachtio-srf to 5.0.5 (#101)
https://github.com/drachtio/drachtio-server/issues/424
v0.9.3-15 v0.9.3-16
2025-04-22 11:06:22 -04:00
Hoan Luu Huu
4072e699c2 update drachtio-mw-registration-parser 0.1.2 (#100) v0.9.3-14 2025-04-18 07:49:52 -04:00
Hoan Luu Huu
78b73597c3 update digest-utils version (#99) 2025-04-17 20:05:53 -04:00
rammohan-y
0c0cafab68 Update db-helpers to 0.9.11 (#97)
https://github.com/jambonz/jambonz-feature-server/issues/1151
2025-04-14 08:22:04 -04:00
Dave Horton
e87aebf88c fix bug calling getUniqueGateways (#96)
* fix bug calling getUniqueGateways

* fix bug filtering gateways for regbot

* minor logging
v0.9.3-12
2025-04-12 09:57:50 -04:00
Hoan Luu Huu
fa6b300205 create regbog in batch with delay, filter inique gateway before creating regbot (#95)
* create regbog in batch with delay, filter inique gateway before creating regbot

* update review comment

* do not register outbound if no sip password was provided

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2025-04-11 13:21:57 -04:00
Sam Machin
446bb06142 move lookupSystemInformation up to parent function and add a timer (#93)
* move lookupSystemInformation up to parent function and add a timer

* lint
v0.9.3-11
2025-04-03 14:56:28 -04:00
Sam Machin
a22ab38aab Disable Options and Registration on certain failures (#90)
* disable options ping on defined errors

* correct sid

* disable reg on error

* fix path

* fixes from testing

* fixes from testing

* lint

* update dbhelpers dep

* remove whitespace in CONFIG strings

* lint

* this seems like a better way of convering and matching status codes
2025-04-02 08:22:52 -04:00
rammohan-y
2cabf29e6f Write options ping failure alert once (#88)
* updated realtimedb-helper to 0.8.13

* Do not write an alert for every failure if OPTIONS ping failure alrert is already written
https://github.com/jambonz/sbc-sip-sidecar/issues/87
v0.9.3-10
2025-03-27 07:15:47 -04:00
rammohan-y
ee2d1879eb updated realtimedb-helper to 0.8.13 (#86) v0.9.3-9 2025-03-10 09:58:58 -04:00
Hoan Luu Huu
e865286a2b initial delay regbot (#80)
* initial delay regbot

* fix review comment

* fix review comment
2025-03-10 08:26:43 -04:00
Dave Horton
0f63223c55 update drachtio-srf v0.9.3-6 v0.9.3-7 v0.9.3-8 2025-02-20 10:19:56 -05:00
Hoan Luu Huu
6b8b7661da fix register with invalid from and to header (#84) v0.9.3-4 v0.9.3-5 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
v0.9.3-1 v0.9.3-2 v0.9.3-3
2025-02-04 23:57:33 -05:00
Dave Horton
294fc6e071 update deps v0.9.3-rc7 v0.9.3 2025-01-14 10:50:50 -05:00
Dave Horton
050bcdc9f7 update dractio-srf and mrf to main branch releases (#77) 2025-01-14 10:09:15 -05:00
Dave Horton
801c0a761d bump version v0.9.2-rc3 v0.9.2-rc4 v0.9.2-rc5 v0.9.2 v0.9.2-1 v0.9.3-rc1 v0.9.2-2 v0.9.3-rc2 v0.9.3-rc3 v0.9.3-rc4 v0.9.3-rc5 v0.9.3-rc6 v0.9.2-4 2024-10-13 10:15:18 -04:00
Markus Frindt
8d2bba127b Change timer for next REGISTER expires / 2 to avoid delayed registrations (#74)
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-09-17 10:04:43 -04: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>
v0.9.2-rc1
2024-08-21 11:47:06 -04:00
Dave Horton
496d6c7a71 per RFC 3261 the request-uri of REGISTER must not have userinfo (#72) 2024-08-21 09:32:24 -04:00
Dave Horton
2362605beb gh actions 2024-08-04 08:48:25 -04:00
Dave Horton
bad9078446 fix transport param in Contact uri v0.9.1-rc5 v0.9.1-rc6 v0.9.1 2024-06-26 13:16:28 -04:00
Dave Horton
3c498b2624 use system_information.sip_domain_name in the Contact header, if available (#71) 2024-06-26 13:15:23 -04:00
Dave Horton
a6d15bc7aa after challenge register with creds should stay tls if it started that way (#70) v0.9.1-rc3 v0.9.1-rc4 2024-06-24 15:09:10 -04:00
Dave Horton
8f59ecbe4a fix #61, contact header should have port 5061 when registering over tls (#69) v0.9.1-rc2 2024-06-24 09:36:50 -04:00
Dave Horton
0ff39724e4 when registering over tls contact header should have appropriate sip … (#62)
* rebase

* update gh workflow
2024-06-19 12:24:08 +01: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
André Heber
49e1ae2843 prevent crash when no Contact header in 200 OK response to REGISTER (#60)
* prevent crash when no Contact header in 200 OK response to REGISTER request

* fixed jslint

---------

Co-authored-by: Andre Heber <a.heber@cognigy.com>
2024-05-29 15:38:12 -04:00
Hoan Luu Huu
d24e4f0fdd update stats collector version (#59) v0.9.1-rc1 2024-05-06 20:06:43 -04:00
Dave Horton
0c1caa04c7 minor v0.9.0 v0.9.0-rc9 v0.9.0-rc12 v0.9.0-rc10 v0.9.0-rc11 v0.9.0-rc8 v0.9.0-rc7 2024-04-19 18:16:02 -04:00
Dave Horton
5750b9bd2b update deps (#58) v0.9.0-rc6 v0.9.0-rc4 v0.9.0-rc3 v0.9.0-rc2 v0.9.0-rc1 v0.9.0-rc5 2024-04-07 18:33:49 -04:00
Hoan Luu Huu
d04337504a send options ping (#48)
* send options ping

* wip

* wip

* wip

* wip

* update blacklist sip gateway to redis

* wip
v0.8.6-rc4 v0.8.6-rc3
2024-03-30 09:18:31 -04:00
Dave Horton
cac5c422ce fix for #54 (#55) v0.8.5-24 v0.8.5-18 v0.8.5-25 v0.8.5-20 v0.8.6-rc2 v0.8.6-rc1 v0.8.5-21 v0.8.5-22 v0.8.5-23 v0.8.5-19 2024-01-17 13:05:57 -05: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
Dave Horton
de3100a4b4 fix linting error 2024-01-15 13:25:24 -05:00
javibookline
c1f2a5fa45 Feature/registration interval config (#50)
* Add envvar support for default expiration interval

* Move envvars to config file, finish work, and add description of envvars to Readme

* Set expires value to MIN_EXPIRES when the retrieved value is lower than it or not parseable
2024-01-15 13:15:14 -05:00
Dave Horton
612226cea1 Merge pull request #51 from jambonz/feat/digest-utils
update digest utils version
v0.8.5-16 v0.8.5-17 v0.8.5-15 v0.8.5-14 v0.8.5-12
2024-01-10 19:53:44 -05:00
Quan HL
f5d5ffef7b update digest utils version 2024-01-11 07:38:44 +07:00
Dave Horton
bcfae40ad3 Merge pull request #49 from paulotelles/feature/centralize-envs
Centralize environment variables
v0.8.5-11
2023-12-26 08:18:28 -05:00
p.souza
dcebadd63a centralize envs 2023-12-26 11:12:15 +01:00
Dave Horton
6263f81273 Merge pull request #47 from jambonz/feat/client_direct_call_01
update digest-util version
v0.8.5-10 v0.8.5-7 v0.8.5-9 v0.8.5-8
2023-12-11 07:53:21 -05:00
Quan HL
75a61d6643 update digest-util version 2023-12-11 07:45:05 +07:00
Dave Horton
2d47c35b4a Merge pull request #46 from jambonz/feat/client_direct_call
allow registration hook return client direct calling settings
2023-12-10 19:27:43 -05:00
Quan HL
abe52e4782 allow registration hook return client direct calling settings 2023-12-11 07:22:49 +07:00
Dave Horton
f38dce8cde Merge pull request #42 from jambonz/fix/dns_srv_register
Fix/dns srv register
v0.8.5-3 v0.8.5-4 v0.8.5-5 v0.8.5-6
2023-11-24 09:16:24 -05:00
Quan HL
46520db3e2 wip 2023-11-24 13:38:53 +07:00
Quan HL
d61934d996 fix register to support dns domain and transport 2023-11-24 13:13:22 +07:00
Dave Horton
a45db6104e Merge pull request #41 from jambonz/feat/realtimedb
let realtimedb-help build configuraiton from env vars
v0.8.5-2
2023-11-14 08:55:31 -05:00
Quan HL
c80401c907 let realtimedb-help build configuraiton from env vars 2023-11-10 11:13:19 +07:00