Commit Graph

159 Commits

Author SHA1 Message Date
Hoan Luu Huu
bcfbe9a0fc fixed incase srtp, dont need to send reinvite when release media (#176)
* fixed, srtp dont need to send reinvite when release media

* fix review comment
2024-11-13 07:42:42 -05:00
Dave Horton
bb9e5e98f5 minor logging 2024-11-12 09:27:12 -05:00
Dave Horton
a714190aa4 fix race condition #177 (#178) 2024-11-12 09:15:19 -05:00
Hoan Luu Huu
a6b1e58b87 support change log level run time (#169)
* support change log level run time

* support change log level run time
2024-10-07 09:52:01 -04:00
Hoan Luu Huu
524a556a7c fixed pad_crypto does not work if not a incoming call to a sip realm (#167)
* fixed pad_crypto does not work if not a incoming call to a sip realm

* fixed review comment
2024-09-19 10:26:22 -04:00
Markus Frindt
b6d856c626 fix count of alert limits (#151)
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-09-19 07:12:55 -04:00
Hoan Luu Huu
a97cadc4b9 allow inbound call SRTP pad crypto (#161) 2024-09-11 09:37:28 +01:00
Dave Horton
20755f456d use system_information.private_network_cidr (#158)
* use system_information.private_network_cidr

* lint
2024-08-18 12:50:01 -04:00
javibookline
34cfe8ca9d Handle cases where gateway query at account level returns more than one (#135)
* Handle cases where gateway query at account level returns more than one

* Change constant variable as it needs to be reassigned

* Fix mistake for handling case where sql query returned no match

* grammar

* Fix linting errors

* Avoid checking for duplicates in case there is only one match to avoid stringifying+parsing for nothing
2024-08-07 10:02:24 -04:00
Markus Frindt
c270c0df43 Feat/improve parse host ports (#149)
* Move parseHostPorts to utils and cover with test suite

* fix tabs

* comment pre commit hook

* add test

* wip

* remove only

* fix 2 critical, 12 high vulnerabilities via npm audit fix

---------

Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-08-01 08:41:49 -04:00
Dave Horton
4153a141d7 sip scheme in contact header of re-invite 200 OK should be same as initial 200 OK (#150) 2024-07-10 15:56:08 -06:00
Dave Horton
e999b4e5e8 Contact in 200 should set sip(s) appropriately and have port and prot… (#148)
* Contact in 200 should set sip(s) appropriately and have port and protocol

* fix for k8s

* lint

* wip
2024-07-03 10:56:23 -06:00
Vinod Dharashive
0e2285c4b8 Contact header to have private IP on Private cidr (#147)
* Contact header to have private IP on Private cidr

fix for #146

* Update call-session.js

* Update call-session.js

* Update call-session.js
2024-06-25 14:34:07 -04:00
Dave Horton
f9ae466709 #142 add option to transcode incoming g729 calls to pcmu (#144) 2024-05-22 12:42:06 -04:00
Hoan Luu Huu
a46ad934a8 support complex refer-to and refered-by uri (#140)
* support complex refer-to and refered-by uri

* wip
2024-05-07 08:27:32 -04:00
Hoan Luu Huu
5829ecdf4c fix cannot clear siprec sessions (#136) 2024-03-27 07:25:07 -04:00
Hoan Luu Huu
03d3a9695d forward reinvite error response to other destination (#133)
* forward reinvite error response to other destination

* update comment review
2024-03-07 07:48:33 -05:00
Hoan Luu Huu
f5be95006c start/stop/pause/resume recording success when one of siprec server success. (#131)
* start/stop/pause/resume recording success when one of siprec server success.

* wip

* wip

* update customer header for pause and resume

* allow timeout for siprec action

* wip

* wip

* wip

* update siprec client utils
2024-03-05 13:05:42 -05:00
Dave Horton
2747bc15d6 update deps, comment out questionable code 2024-01-17 13:37:07 -05:00
Dave Horton
cdfbf384fe update db-helpers 2024-01-17 13:26:37 -05:00
Hoan Luu Huu
96a83619c7 fix sbc to forward BYE header (#129)
* fix sbc to forward BYE header

* fix sbc to forward BYE header
2023-12-28 20:45:38 -05:00
Hoan Luu Huu
b8a67019a1 support sending DTMF to caller (#125)
* support sending DTMF to caller

* wip
2023-12-13 09:14:27 -05:00
Hoan Luu Huu
0e1627ba82 phone number's application should override voice carrier default application (#128)
* phone number's application should override voice carrier default application

* fix review comments

* fix review comments
2023-12-13 08:25:26 -05:00
Hoan Luu Huu
aea3033ae0 support PRIVATE_VOIP_NETWORK_CIDR for SDP negotiation (#124)
* support PRIVATE_VOIP_NETWORK_CIDR for SDP negotiation

* support multi PRIVATE_VOIP_NETWORK_CIDR
2023-11-13 15:24:41 -05:00
Hoan Luu Huu
6a6b4dd26f upgrade drachtio srf (#121)
* upgrade drachtio srf

* fix review comments
2023-10-24 08:42:53 -04:00
Antony Jukes
63e72fbfce feat/MS Teams IP check improvement (#117)
* added ip in cidr utilities

* middleware add ms teams cidr check

* use cidr-matcher lib

* removed redundant require

* moved cidr-matcher require to top of file

* moved express require to top of file

---------

Co-authored-by: ajukes <ajukes@callable.io>
2023-09-18 10:35:04 -04:00
Dave Horton
e5dce35bab more efficient checking of device calls (#118)
* more efficient checking of device calls

* when searching for matching gateways choose largest enclosing netmask
2023-09-15 10:53:22 -04:00
two56
b6675de2bd Fix: Feature server REFER (#114)
* Update _onFeatureServerTransfer to fix REFER case

* Add INFO listener

---------

Co-authored-by: Matt Preskett <matt.preskett@netcall.com>
2023-08-20 08:47:01 -04:00
Dave Horton
66e73d8353 logging 2023-08-14 14:36:07 -04:00
Hoan Luu Huu
b1296c8e89 correct pare callRecording headers from sip info (#110) 2023-07-20 09:02:04 -04:00
Hoan Luu Huu
17df3a4ca8 Feat/siprec custom headers (#109)
* siprec custom headers

* siprec custom headers

* update siprec client util
2023-07-20 08:21:09 -04:00
Hoan Luu Huu
f2e820915d Multi srs (#106)
* multi srs

* multi srs

* multi srs

* fix review comment
2023-07-04 16:41:46 +01:00
Hoan Luu Huu
d7654de526 fix: update aws sdk v3 (#108)
* fix: update aws sdk v3

* fix: update aws sdk v3

* fix jslint issue

* fix jslint issue

* fix parse aws response

* fix parse aws response
2023-06-28 09:20:37 +01:00
Hoan Luu Huu
c37d417a69 Feat: jambonz clients (#104)
* authenticate user

* authenticate user

* update db helper

* update db helper

* fix jslint

* use digest-utils
2023-06-15 07:36:33 -04:00
Hoan Luu Huu
f7b3815ee3 feat: record all calls (#98)
* feat: record all calls

* wip: add cdr

* wip: add cdr

* fix

* fix jslint

* fix: record format ext
2023-06-09 14:57:45 -04:00
Dave Horton
e641c590b2 Fix/cidr error handling (#102)
* fix docker build

* catch error from CIDR which can happen with invalid sip gateway data
2023-05-31 09:11:53 -04:00
Dave Horton
f6e071f31e standardize on passing .query args as array (#99) 2023-05-22 09:56:48 -04:00
Hoan Luu Huu
b311d4af48 fix: ice issue (#95)
* fix: ice issue

* fix: review comment
2023-04-13 08:43:56 -04:00
Antony Jukes
01cde07117 if else made authorization check unreachable (#90) 2023-04-06 09:34:37 -04:00
Hoan Luu Huu
d2f32229a2 feat: add instance_id to gause calls metric (#87)
Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
2023-03-21 07:54:52 -04:00
Dave Horton
d94977169e pass on displayName of From header if we get it (#82)
* pass on displayName of From header if we get it

* bump version
2023-03-03 18:55:56 -05:00
Dave Horton
93930fff18 fix for #79 (#80) 2023-02-22 08:51:35 -05:00
Dave Horton
2ce24659ca initial attempt (#77)
* initial attempt

* fix: special handling on uas dialog
2023-02-21 14:00:36 -05:00
Dave Horton
eac1d7a9e9 K8s scale in (#73)
* changes for proper scale-in for K8S

* fix check for call count
2023-02-07 19:58:01 -05:00
Dave Horton
c858624815 Feature/tcp to fs (#72)
* add env var K8S_FEATURE_SERVER_TRANSPORT

* add Contact with private address when using tcp to FS on K8S

* further refinement
2023-01-26 13:33:24 -05:00
Dave Horton
2f137f2bfc bugfix: handle calls with no user in To header 2023-01-22 18:03:12 -05:00
Dave Horton
fb8baa34af always enable dtmf from rtpengine, since dtmfCapture on FS now uses this rather than freeswitch dtmf events (#70) 2023-01-12 08:45:39 -05:00
Dave Horton
6d2b1a94e9 bugfix: proper detection of reinvite from FS to release media 2022-12-27 13:40:56 -06:00
Dave Horton
a9e79b23bd bugfix: account returned when carrier default routing is used was wrong 2022-12-19 21:09:14 -05:00
Dave Horton
faafaa8549 add env JAMBONES_RECORD_ALL_CALLS to enable global call recording 2022-12-02 13:53:15 -05:00