Commit Graph

171 Commits

Author SHA1 Message Date
Dave Horton 638c003dfc fix aws sns topic subscribe (#193) 2025-02-24 12:57:23 -05:00
Dave Horton 23c748046d REFER should have sips contact if far end is using sips (#192) 2025-02-24 09:37:18 -05:00
Dave Horton d9b375738b reject calls on hosted jambonz with no active subscriptions (#191) 2025-02-19 13:05:56 -05:00
Hoan Luu Huu ec3af43a41 support sip recording from a siprec call (#190)
* support sip recording from a siprec call

* update srsClient version
2025-02-12 09:24:12 -05:00
Dave Horton 0ba5cb53bb refined the method for syncing call count updates and added debugging (#189)
* refined the method for syncing call count updates and added debugging

* include callId in debug key

* fix debug key name
2025-02-05 13:00:13 -05:00
Dave Horton 25415c0be9 logging 2025-01-17 09:11:08 -05:00
Dave Horton 8f3ea260ca fix race condition with call counts when quick cancel is received (#188)
* fix race condition with call counts when quick cancel is received

* wip

* update dractio-srf and mrf to main branch releases
2025-01-14 10:04:03 -05:00
Dave Horton c807fdb93d Feat/3pcc invite (#187)
* wip

* wip

* wip

* add test for late media / 3pcc invite, which should now work
2024-12-12 18:39:01 -05:00
Hoan Luu Huu a7d6cf5a31 support referby with display name (#186)
* support referby with display name

* update siprec client utils
2024-12-11 10:34:54 -05:00
Dave Horton 1cd526c684 wip (#182) 2024-11-19 09:38:19 -05:00
Dave Horton 50b249544e fix #180 (#181) 2024-11-14 17:52:34 -05:00
Hoan Luu Huu 4add329102 support force opus pcmu transcode (#175)
* support force opus pcmu transcode

* fix review comment

* wip
2024-11-14 12:22:45 -05:00
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