Guilherme Rauen and Guilherme Rauen
d656857509
extend sid validation to all routes ( #138 )
...
Co-authored-by: Guilherme Rauen <g.rauen@cognigy.com >
2023-03-31 07:46:33 -04:00
Guilherme Rauen and Guilherme Rauen
789a0ba3ff
Fix SQL Injection Vulnerabilities ( #134 )
...
* avoid sql injections
* linter
* fix test using random sid
* add some test cases
* remove tests that don't use the new validation
* add test
* linter
* fix tests
* add test
---------
Co-authored-by: Guilherme Rauen <g.rauen@cognigy.com >
2023-03-29 12:36:51 -04:00
Dave Horton
3d86292a90
prevent updates to users that would move them to a different account … ( #122 )
...
* prevent updates to users that would move them to a different account or service provider, or make them admin users
* bugfix: when updating account as admin user, verify the account sid
* validate account sid when SP user tries to update
2023-03-08 11:38:49 -05:00
Dave Horton
5a9e22df5e
add PUT for Account level Carrier
2022-12-26 11:14:41 -06:00
Dave Horton
052a19cfdc
Feature/sp call limits ( #63 )
...
* add api for setting/querying call limits by account and sp
* update an account or sp limit if one exists rather than creating a new one
2022-09-20 13:12:28 +02:00
xquanluu
2db8cb4d3a
feat: auto choose speech synthezier from account/service level for createCall ( #60 )
...
* feat: auto choose speech synthezier from account/service level
* wip: add integration test
* fix: review comment
* fix: review comment
2022-08-24 10:06:38 +02:00
Dave Horton
56b646b6db
Feature/siprec client ( #45 )
...
* updateCall now supports record action to start, stop, pause, or resume siprec
* update Dockerfile
2022-06-23 16:25:11 -04:00
Dave Horton
4097ca2125
bugfix: createCall accepts call_hook that is a ws(s) url
2022-05-02 08:21:03 -04:00
Dave Horton
9a126f396e
remove orphaned webhooks when deleting accounts and applications
2022-04-30 12:17:37 -04:00
Dave Horton
090bfbce92
Feature/incoming refer ( #39 )
...
* LCC under Kubernetes must use service name for FS (#35 )
* add api to send sip requests on a call (e.g NOTIFY, INFO)
2022-03-05 15:22:41 -05:00
Dave Horton
1bd21cb39d
update to uuid@8.3.2
2022-02-01 20:42:10 -05:00
Dave Horton
0fd87a732f
need to provide status ENABLED when creating a subspace teleport
2021-12-08 20:11:15 -05:00
Dave Horton
f6d358d3df
Subspace ( #12 )
...
* changes for subspace (via nimbleape)
* changes from more testing
* working api to subspace
* more subspace fixes
* further subspace fixes
2021-12-07 07:40:50 -05:00
Dave Horton
bda5e69cbb
fix stripe bug
2021-10-20 08:48:30 -04:00
Dave Horton
21ffad6c8d
tweak conf_mute_status
2021-09-25 13:50:53 -04:00
Dave Horton
e125491d5a
minor change for LCC to mute non-moderators in a conference
2021-09-25 12:38:12 -04:00
Dave Horton
8411570668
proxy sms failure responses unchanged
2021-09-22 10:50:37 -04:00
Dave Horton
d4e297578f
LCC: add conference hold and unhold actions
2021-09-22 07:40:31 -04:00
Dave Horton
9525cf5a36
bugfix: queue event hook was getting set to register hook
2021-08-25 19:09:00 -04:00
Dave Horton
a06bba60e6
bugfix: setting a registration hook cleared out the queue event hook, and vice-versa
2021-08-23 14:17:41 -04:00
Dave Horton
ecdf9898f8
bugfix: generating new account failed due to null webhook_secret
2021-08-16 08:25:19 -04:00
Dave Horton
e0bacb55e7
add support for queue_event_hook
2021-08-15 13:55:01 -04:00
Dave Horton
6c01d28288
LICENSE
2021-07-21 12:36:48 -04:00
Dave Horton
a3b9727d64
bugfix: selecting FS to handle createMessage api
2021-07-07 09:52:45 -04:00
Dave Horton
ed51d8b13f
merge of features from hosted branch ( #7 )
...
major merge of features from the hosted branch that was created temporarily during the initial launch of jambonz.org
2021-06-17 15:56:21 -04:00
Dave Horton
fc61d3d2fa
add integration test
2021-05-07 08:33:13 -04:00
Dave Horton
7e6261eec8
fixes for updating/deleting registration hook
2021-02-21 11:27:40 -05:00
Dave Horton
5f10ef585f
REST createCall must use absolute url in call_hook and call_status_hook
2021-02-19 11:47:03 -05:00
Dave Horton
fb86875576
update call now uses POST, plus bugfix #6
2021-02-19 08:52:27 -05:00
Dave Horton
09928597e0
include account_sid in createCall and createMessage sent to fs
2020-12-11 10:42:01 -05:00
Dave Horton
c578757dd2
bugfix for REST outdial to teams
2020-11-24 10:07:35 -05:00
Dave Horton
ea64fb1a58
add sms messaging support
2020-10-09 08:04:39 -04:00
Dave Horton
53763aae14
bugfix: createCall REST API to Teams endpoint was being blocked
2020-09-30 15:37:49 -04:00
Dave Horton
c89ee55389
bugfix #2 : pass speech synth language
2020-07-24 15:33:43 -04:00
Dave Horton
3be0412de1
add list api keys for account, track last_used for api_keys
2020-07-22 11:31:05 -04:00
Dave Horton
2fb2fc5c10
fix bug in choosing feature server for createCall
2020-04-21 08:08:55 -04:00
Dave Horton
993833212f
route createCall api requests among active freeswitch servers
2020-04-20 10:12:00 -04:00
Dave Horton
2accbcef74
remove application_sid from createCall payload if provided as null value
2020-03-24 08:07:39 -04:00
Dave Horton
25defd61ef
typo
2020-02-15 22:06:47 -05:00
Dave Horton
4df6f1e115
update to 0.3.2 jambonz-db-helpers
2020-02-15 15:42:32 -05:00
Dave Horton
aad5082e76
removed config files, just uses env vars now
2020-02-15 11:00:01 -05:00
Dave Horton
6518ceb835
add'l checking on updateCall request
2020-02-08 14:14:08 -05:00
Dave Horton
9783afcff5
support for VoipCarriers that are customer PBXs
2020-02-08 10:39:17 -05:00
Dave Horton
1c9afcdf59
bugfix: duration and sip_status display as numbers
2020-02-07 20:11:43 -05:00
Dave Horton
ec02052d27
initial support for live call control
2020-02-07 10:18:53 -05:00
Dave Horton
578349506b
more rest-dial testing
2020-02-02 15:58:53 -05:00
Dave Horton
2a974704fc
added initial support for creating calls through REST API
2020-02-01 16:15:29 -05:00
Dave Horton
87208bc669
revamp db - refactor webhooks
2020-01-28 10:30:07 -05:00
Dave Horton
10354816f2
more tests
2019-12-05 19:39:52 -05:00
Dave Horton
c95a9ebaf7
added more authentication tests
2019-12-05 15:11:53 -05:00