44 Commits

Author SHA1 Message Date
Dave Horton
49bc11bbb6 update pino and eslint (#201) 2025-10-21 07:52:29 -04:00
Sam Machin
cd0d360561 Redirect outbound user calls to private IP of other SBC (#197)
* redirect client calls to private address of other SBC

* remove unused util

* use address not port
2025-10-04 20:08:57 -04:00
Dave Horton
3a467921a6 return 482 loop detected if call to a sip uri would loop back to us (#173)
* return 482 loop detected if call to a sip uri would loop back to us

* this pr fixes #172

* typo

* wip

* wip
2025-03-20 11:25:08 -04:00
Dave Horton
7380457b5a reject calls on hosted jambonz with no activ (#166)
e subscriptions
2025-02-19 13:04:44 -05:00
Dave Horton
b2abe9891e refined the method for syncing call count updates and added debugging (#163)
* refined the method for syncing call count updates and added debugging

* wip

* include callId in debug key
2025-02-05 13:01:04 -05:00
Dave Horton
41528db630 fix call count race condition #151 (#152)
* fix call count race condition #151

* logging fix
2024-11-12 14:57:04 -05:00
Hoan Luu Huu
3701e20295 fix sbc crash while outbound calling to user (#148) 2024-10-15 07:28:40 -04:00
Dave Horton
f5ac51a8f7 minor logging 2024-10-13 10:12:55 -04:00
Hoan Luu Huu
0cf90f37b8 support change log level runtime (#146) 2024-10-07 09:52:22 -04:00
Hoan Luu Huu
81d7a9f1e6 feat: record all call (#84)
* feat: record all call

* feat: record all call

* feat: record all call

* feat: record all call

* add record format in recording url

* add record format to recording url

* fix ext
2023-06-09 15:01:46 -04:00
Quan HL
db38269a77 fix 2023-06-07 21:13:08 +07:00
Dave Horton
dbb93732bf bugfix: calls in K8S may have request-uri like sip:<num>:sbc-sip and that's ok 2023-02-01 09:25:12 -05:00
Dave Horton
254479e289 Feature/app call count tracking (#52)
* add call count tracking at the app level (optional)

* update call_counts_app schema

* update rtpengine-utils
2022-09-22 23:44:58 +02:00
Dave Horton
a10a311dcb only track service provider calls if JAMBONES_TRACK_SP_CALLS is set 2022-09-20 16:42:22 +02:00
Dave Horton
806cb89c37 include application_sid in cdr 2022-09-20 14:00:33 +02:00
Dave Horton
fffa2748d1 Feature/sp limits (#51)
* add account and service provider call limits

* add custom headers when rejecting calls due to max calls limit
2022-09-20 13:13:24 +02:00
Dave Horton
76625c7596 Feature/recent calls enhancement with sp (#50)
* write cdrs with service_provider_sid

* write call counts at the SP level
2022-09-16 13:45:33 +02:00
Dave Horton
3938773738 mem leak fix 2022-03-28 09:09:14 -04:00
Dave Horton
fa7de71650 support for routing based on X-Jambonz-Routing header 2022-01-08 13:01:02 -05:00
Dave Horton
9d228d4805 K8s changes (#24)
* support multiple CIDRs

* use outbound in k8s

* k8s: user service for rtpengine

* bugfix: drachtio connection was dropped after successful connect

* Dockerfile

* k8s pre-stop hook

* make hjook executable

* update deps
2022-01-06 12:37:04 -05:00
Dave Horton
607fb3d127 bugfix: dialed numbers less than 8 digits are allowed since a voip_carrier may handle calls that are not actually routed to the PSTN (e.g. PBX) 2021-12-21 20:18:31 -05:00
Dave Horton
2ea516be8a bugfix: reject invalid request-uri with 400 Bad Request 2021-10-06 19:12:34 -04:00
Dave Horton
d0f1f16d9a bugfix: write sbc.terminations stat 2021-08-08 10:43:29 -07:00
Dave Horton
98886cfdbf dont check limits on self-hosted deployments 2021-08-04 10:47:46 -04:00
Dave Horton
c3d1e1d605 major merge of features from com version (#11)
major merge of features from the hosted branch that was created temporarily during the initial launch of jambonz.org
2021-06-17 16:51:31 -04:00
Dave Horton
3e01cdeced send 302 to move call to correct SBC, do not send on Session-Expires from response 2021-04-22 14:40:52 -04:00
Dave Horton
f0cbd6aef5 further fix for proxying outbound call to other SBC 2020-11-29 14:51:16 -05:00
Dave Horton
708441a070 bugfix: proxying device call to other SBC failed 2020-11-11 09:33:28 -05:00
Dave Horton
68f6bfc1d3 minor logging 2020-10-26 09:32:25 -04:00
Dave Horton
bd0c8d2783 fix prev checkin 2020-07-29 09:56:12 -04:00
Dave Horton
a2c8abb632 fix scenario of outbound call attempt to unregistered user in valid domain we are hosting 2020-07-29 08:50:06 -04:00
Dave Horton
b0d3e6bbac fixes for sending calls to sip endpoint that challenges 2020-07-29 08:13:10 -04:00
Dave Horton
c66ba70500 add support for ms teams and bugfix for reinvite handling from network side 2020-05-22 16:44:19 -04:00
Dave Horton
94f0584b9f update deps 2020-02-22 08:20:28 -05:00
Dave Horton
cb85522a93 logging 2020-02-19 14:49:11 -05:00
Dave Horton
4892470cd4 logging 2020-02-19 14:47:14 -05:00
Dave Horton
504b08bb12 logging 2020-02-19 14:44:13 -05:00
Dave Horton
24feba7101 query aor as name@domain (no scheme) 2020-02-19 09:01:25 -05:00
Dave Horton
b94235cf17 add metrics 2020-02-18 20:48:23 -05:00
Dave Horton
fb969379ed remove logging from previous commit 2020-02-10 12:24:17 -08:00
Dave Horton
b10b4022dc bugfix: calls to sipUri were being LCR'ed instead of sent to the sip uri provided 2020-02-10 11:31:54 -08:00
Dave Horton
e2e6425cc6 update to latest db version 2020-01-29 14:13:47 -05:00
Dave Horton
b36b3850c9 add lcr support, tests 2019-12-17 10:59:26 -05:00
Dave Horton
e2896aba9a initial checkin 2019-08-25 10:58:29 -04:00