Commit Graph

115 Commits

Author SHA1 Message Date
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
Vinod Dharashive
d8ae824559 Fresh/466 (#160)
* Hold and unhold does not resume transcript for outbound call to webrtc

* WIP

* jslint

* jslint

* handle null

* Added direction

* re-invite with opus codec need to change pcmu 

on reinvite on unhold opus codec was been sent from rtpegine to freeswitch due to which transcripts were not getting generated , hence it needs to be changed to pcmu

* jslint

jslint
2024-12-23 07:20:04 -05:00
Hoan Luu Huu
334db6f84f support referby display name (#161) 2024-12-11 10:34:27 -05:00
Hoan Luu Huu
c762accce8 forward all refer to feature server (#156)
* forward all refer to feature server

* forwawrd extra custom header
2024-12-05 21:16:12 -05:00
Dave Horton
c6c63e26da fix duplicate attempt to destroy dialog 2024-11-22 10:46:24 -05:00
Dave Horton
916d577b75 wip (#155) 2024-11-19 09:37:53 -05:00
Dave Horton
b976a62a60 when forcing PCMU or PCMA we must also include telephone-event (#153) 2024-11-14 08:37:40 -05:00
Hoan Luu Huu
5e2369e5e8 support opus transcode (#150)
* support opus transcode

* dont resend reinvite when release media for srtp

* wip

* fix review comment
2024-11-13 07:41:43 -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
c22104fbe2 allow outbound cdr has sip_parent_callid (#149)
* allow outbound cdr has sip_parent_callid

* update time series version
2024-10-17 08:05:25 -04:00
Hoan Luu Huu
821275cb67 support X-CID for feature server to detect sip callid (#147)
* support X-CID for feature server to detect sip callid

* fixed review comment

* fix review comment
2024-10-15 07:19:25 -04:00
Dave Horton
b8fdf9f429 when sending out registered trunk use auth.username as userinfo in Contact header of INVITE 2024-09-04 13:40:59 +01:00
Dave Horton
503aa73bc6 Fix/invite use realm to registered trunk (#144)
* special header X-Preferred-From-Host was ignored

* when sending INVITE to registered trunk with a sip realm, use realm in the uri and send via proxy as defined in outbound gateway
2024-08-29 15:26:44 -04:00
Dave Horton
bf1c670b40 Fix/tls transport (#141)
* fix scheme

* add missing initialization of scheme

* delete contact header explicitly

* wip

* wip

* wip

* fix bug with cseq

* wip

* deps

* wip

* wip

---------

Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-07-24 15:27:01 -04:00
Markus Frindt
b21eaad1ff Support contact header with sips or sip over tls (#139)
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-07-23 08:53:38 -04:00
Hoan Luu Huu
73e3779eb1 only send Sips if it's enabled in outbound gateway configuration (#136)
* only send Sips if it's enabled in outbound gateway configuration

* update license
2024-06-15 09:12:02 -04:00
Dave Horton
9ad7dc76c7 fix for #133 (#134) 2024-05-17 07:21:19 -04:00
Hoan Luu Huu
1baf7fa824 Feat/refer support conplex uri for refer-to refered-by header (#131)
* respond to reinvite request incase error

* support complex refer-to refer-by uri

* wip
2024-05-07 08:28:08 -04:00
Hoan Luu Huu
16a4709b7d check if sip gateway is in blacklist before sending outbound call (#119)
* check if sip gateway is in blacklist before sending outbound call

* wip

* wip

* wip

* add testcase for blacklist

* wip
2024-03-30 11:10:13 -04:00
Hoan Luu Huu
01adb5cbf0 fix cannot clear siprec records (#127) 2024-03-27 07:50:50 -04:00
Dave Horton
49ba872f51 remove asymmetric flag on offer to B party reinvite as port learning should still happen (#128) 2024-03-26 12:13:01 -04:00
Hoan Luu Huu
591b8f2f8a respond to reinvite request incase error (#126) 2024-03-07 07:49:05 -05:00
Hoan Luu Huu
16ac56e50e start/stop/pause/resume recording success when one of siprec server success. (#125)
* start/stop/pause/resume recording success when one of siprec server success.

* wip

* allow send custom header on pause, resume recording

* allow timeout for siprec action

* wip

* wip

* update siprec-client-utils
2024-03-05 13:06:04 -05:00
Markus Frindt
9412790366 add fix to lint script (#124)
Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
2024-02-15 09:44:56 -05:00
Dave Horton
453b27d6e1 avoid sips scheme if best effort TLS is enabled via env (#122) 2024-01-30 20:09:58 -08:00
Hoan Luu Huu
bc3e2334ed fix hangup custom headers (#121) 2023-12-28 20:44:33 -05:00
Hoan Luu Huu
d70a01578d INVITE from gw should have register_from_domain if it's available (#120) 2023-12-13 07:57:28 -05:00
Hoan Luu Huu
eb0de5b0ee Feat support Outbound DTMF (#115)
* feat/support inband dtmf

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2023-12-11 10:40:24 -05:00
Anton Voylenko
d684fbb59b Set display name (#117)
* JAMBONES_MYSQL_PORT env added

* set display name from header

* remove double quotes
2023-12-10 09:07:21 -05:00
Hoan Luu Huu
d86d03c792 feat support invite private to private network (#111)
* feat support invite private to private network

* feat support invite private to private network

* support multi private cidrs

* fix review comment

* fix matching regex

* fix regex to extract IP from sip uri
2023-11-27 08:26:41 -05:00
Dave Horton
43ee944023 add support for sending calls to a sip uri through a proxy (#114) 2023-11-13 14:38:05 -05:00
Hoan Luu Huu
0b141c55bf fix outbound info (#107) 2023-10-10 08:18:43 -04:00
Dave Horton
454986edcd #104 - pad crypto option (#105) 2023-09-15 13:53:35 -04:00
two56
7f2bce927d Fix: Feature server REFER (#90)
* Update _onFeatureServerTransfer to fix REFER case

* Avoid remote re-invite by using port latching

* Add INFO listener and pretend we're a uas

---------

Co-authored-by: Matt Preskett <matt.preskett@netcall.com>
2023-08-20 08:40:07 -04:00
Paulo Telles
41eaa4286f fix service_provider_sid undefined (#101)
Co-authored-by: p.souza <p.souza@cognigy.com>
2023-08-16 12:37:20 -04:00
Hoan Luu Huu
9fe731ab65 fix outbound sip uri To header and Request Line are not same (#99)
* fix outbound sip uri To header and Request Line are not same

* fix outbound sip uri To header and Request Line are not same
2023-08-09 07:47:52 -04:00
Dave Horton
0977dd16b3 remove X-Preferred-From-Host on outdial 2023-08-08 13:03:33 -04:00
Hoan Luu Huu
6200f2b50a feat: siprect custom headers (#95)
* feat: siprect custom headers

* update siprec client utils

* wip
2023-07-20 09:02:44 -04:00
Hoan Luu Huu
7e13c5559f feat: multi srs (#93) 2023-07-04 16:42:17 +01: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
Dave Horton
695e44da29 Fix/trace (#92)
* fix docker build

* fix: trace_id in cdrs
2023-06-09 13:58:36 -04:00
Hoan Luu Huu
f79f29bd7e fix: remove X-Voip-Carrier-Sid for outbound INVITE (#88) 2023-05-29 09:21:23 -04:00
Hoan Luu Huu
738429a46f additional routing rule (#87)
* additional routing rule

* add testcase

* update failing testcase
2023-05-29 09:06:11 -04:00
Dave Horton
750294eab2 add support for tls with srtp media encryption (#83) 2023-05-10 16:02:08 -04:00
Hoan Luu Huu
76558cc5c9 add protocol for outbound call (#82)
* add protocol for outbound call

* add protocol for outbound call

* update db-helper version

* lcr fixes

* fix cancel test

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2023-05-10 14:43:46 -04:00
Hoan Luu Huu
039a60c1b7 feat: lcr added (#80)
* feat: lcr added

* fix: await for async

* fix: add lookupCarrierByAccountLcr to locals

* fix typo

* fix typo

* fix typo
2023-05-08 09:06:37 -04:00
Hoan Luu Huu
e00379d119 update media session to callee (#78) 2023-04-13 07:43:29 -04:00
Dave Horton
b7873654b8 #63: dont select a carrier from a different account in LCR (#64)
* #63: dont select a carrier from a different account in LCR

* handle SIGTERM in K8S

* handle SIGTERM in K8S
2023-02-08 14:30:54 -05:00
two56
a553105e55 If running stop srs (#60)
client on destruction

Co-authored-by: Matt Preskett <matt.preskett@netcall.com>
2023-01-23 12:35:41 -05:00
Hoan Luu Huu
36b2c752da fix: B2B uac parse Signal 0 (#59)
Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
2023-01-18 10:33:01 -05:00