Commit Graph

108 Commits

Author SHA1 Message Date
Dave Horton
a8ee1db8da if invite is sent with a domain name in request uri then assume the intention is for it to go out that way 2023-11-13 13:01:21 -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
Dave Horton
114d34def4 fix for PAD_CRYPTO feature 2023-09-14 10:14:27 -04:00
Dave Horton
6cf59732fb add env var PAD_CRYPTO to pad crypto params (#102) 2023-08-30 22:09:28 -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
Quan HL
db38269a77 fix 2023-06-07 21:13:08 +07: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
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
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
Dave Horton
96daad8ea1 bugfix: fix ref error on this.req.locals.account.disable_cdrs 2023-01-12 16:04:30 -05:00
Dave Horton
b68edf425d minor changes in subscribe dtmf (#57)
* minor changes in subscribe dtmf

* update to rtpengine-utils with fix for not discarding dtmf as dups
2023-01-12 13:17:40 -05:00
Dave Horton
f74dff3b59 bugfix: when releasing media we were restarting ICE which we dont want to do 2022-12-19 21:28:43 -05:00
Dave Horton
d9c4e01c36 add env JAMBONES_RECORD_ALL_CALLS to enable global call recording 2022-12-02 13:53:29 -05:00
Dave Horton
b871812a70 bugfix: was incorrectly making additional attempts after caller hung up or other failures on first attempt 2022-11-28 16:45:21 -05:00
Dave Horton
775e63518a include application_sid in cdr 2022-11-07 18:34:13 -05:00
Dave Horton
43ed2bafe1 strip X-Preferred-From-User and X-Preferred-From-Host from outgoing call 2022-10-26 09:35:11 -04:00
Dave Horton
5ee041bdee feature: specify user or host part of From on outdial 2022-10-23 15:27:03 -04:00
Dave Horton
e9209b37ca include X-Account-Sid header when moving call between FS 2022-10-15 10:59:29 -04:00
Dave Horton
3b98dc6ec2 Bugfix/release media investigation (#54)
* added logging

* when releasing media, include asymettric flag on offer

* update package-lock.json

* remove media handover flag when releasing media
2022-10-14 12:46:14 -04:00
Dave Horton
4338ae9411 bugfix: inject DMTF flag was inserted over and over 2022-10-07 11:52:36 +01: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
6b6f89264f minor logging change 2022-08-17 16:11:10 +02:00
Dave Horton
f0e0fba2f1 make rtpengine transcode if non-preferred codec is selected by far end 2022-08-17 14:14:45 +02:00
Dave Horton
290723f234 initial changes for sip info dtmf (#46) 2022-08-11 15:13:07 +02:00
Dave Horton
90818206f5 Dockerfile: update base image 2022-08-05 10:10:24 +01:00
Dave Horton
7d2125788f when releasing media, use asymetric flag so that rtpengine does react to a spurious final packet from freeswitch by incorrectly sending rtp there 2022-07-26 12:25:58 +01:00
Dave Horton
e4ed2cea26 healthcheck improvements (#38) 2022-04-12 15:45:33 -04:00
Dave Horton
1dfeed3ac8 bugfix: mem leak 2022-04-05 19:57:03 -04:00
Dave Horton
3938773738 mem leak fix 2022-03-28 09:09:14 -04:00
Dave Horton
f881002943 write otel trace_id to call history 2022-03-23 09:26:04 -04:00
Dave Horton
2266b80e73 release drachtio connection on final outbound failure 2022-03-18 14:34:30 -04:00