Commit Graph

38 Commits

Author SHA1 Message Date
Hoan Luu Huu 3486ff958c feat: add protocol to sip-gateways (#166)
* feat: add protocol to sip-gateways

* add tls/srtp options

* fix sql

* update db script has new changes

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2023-05-10 15:41:39 -04:00
Dave Horton 02806a109c added schema changes for LCR (#150)
* added schema changes for LCR

* fix FK

* first draft

* force drop table

* add testcases

* swagger updated

* update code

* wip: add service provider LCR

* fix userpermission on lcr

* add lcr.is_active

* remove FK constraints on lcr

* wip

* wip

* wip

* fix: review comments

* fix: final review

* fix: final review

* fix: update database schema

* fix: update database schema

* fix: update database schema

* update schema

* fix: review comments

* lcr_routes.priority should not be unique

* fix review comments

---------

Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
2023-05-05 20:09:34 -04:00
Hoan Luu Huu 4b70c6458a feat: system information (#162) 2023-05-04 13:12:29 -04:00
Hoan Luu Huu 3ad19eca3c feat: carrier register status (#141)
* feat: carrier register status

* update homer to query register pcap

* fix: homer

* fix: remove homer changes

* fix: homer issue
2023-04-03 13:21:38 -04:00
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 317a094b3e return account name and sp name in getUsers (#87) 2022-12-19 15:05:35 -05:00
Dave Horton 1b67d5f89d Feature/add users api (#77)
* initial changes for jwt auth

* return permissions as an array of string

* Add JWT expiration environment variable (#74)

* allow fromHost in createCall REST API

* add JWT_EXPIRES_IN=<mins> env variable, 60 mins by default

* add jwt expiration in register.js and signin.js

* fix tests - add permissions and scope to encoded obj in jwt

Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: eglehelms <e.helms@cognigy.com>

* return only the jwt-token in the api response

* update swagger.yaml

* add /users api

* apply review comments

* add users test case

* added User model

* bugfix: admin user should be able to create a carrier for a service provider

Co-authored-by: EgleH <egle.helms@gmail.com>
Co-authored-by: eglehelms <e.helms@cognigy.com>
2022-11-07 13:47:18 -05:00
Dave Horton b65dc7080c Dh password settings (#72)
* update package-lock.json

* Feat: password settings for account (#65)

* feat: password settings for account

* feat: password settings for account

* fix: review comments

* fix: review comments

* fix: review comments

* return empty json

* fix: after review

Co-authored-by: xquanluu <110280845+xquanluu@users.noreply.github.com>
2022-10-23 14:11:00 -04:00
Dave Horton 36a1d4bef1 update model for new columns on voip_carriers 2022-10-06 11:08:59 +01:00
Dave Horton 05c46c5f39 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 22:55:28 +02: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
Dave Horton 0ceb79b568 add siprec_hook_sid to accounts model 2022-08-03 14:56:07 +01:00
Dave Horton 2324890b72 add ability to create service_provider level apikeys 2022-05-06 20:30:38 -04:00
Dave Horton 1bd21cb39d update to uuid@8.3.2 2022-02-01 20:42:10 -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 1013f3f222 handle adding predefined carriers with smpp gateways 2021-09-09 15:38:33 -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 e0bacb55e7 add support for queue_event_hook 2021-08-15 13:55:01 -04:00
Dave Horton 7325512ab4 add apis for ServiceProvider to get related entities 2021-06-18 13:35:39 -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 484fa7841a updated API with new properties for voip_carriers that require outbound registration 2020-12-11 10:34:34 -05:00
Dave Horton ea64fb1a58 add sms messaging support 2020-10-09 08:04:39 -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 4efee5a8b8 add voip_carriers.e164_leading_plus for carrier-level configuration of E.164 dial string 2020-07-16 09:45:59 -04:00
Dave Horton a746bbc4c9 fix for service provider api 2020-05-29 09:54:26 -04:00
Dave Horton 0e248cb393 add support for ms teams 2020-05-26 08:57:19 -04:00
Dave Horton be011db109 add support for sbc_addresses and ms_teams_tenants tables 2020-04-20 11:44:49 -04:00
Dave Horton 4df6f1e115 update to 0.3.2 jambonz-db-helpers 2020-02-15 15:42:32 -05:00
Dave Horton 9783afcff5 support for VoipCarriers that are customer PBXs 2020-02-08 10:39:17 -05:00
Dave Horton 87208bc669 revamp db - refactor webhooks 2020-01-28 10:30:07 -05:00
Dave Horton b2760a2d75 changes to account and application 2019-12-20 15:37:44 -05:00
Dave Horton 0b54b17c73 add sip_gateways 2019-12-11 20:47:58 -05:00
Dave Horton b8f50a42b6 implementation for service_providers.root_domain 2019-12-10 10:27:09 -05:00
Dave Horton 760e0f53aa more authentication tests 2019-12-06 10:14:18 -05:00
Dave Horton 10354816f2 more tests 2019-12-05 19:39:52 -05:00
Dave Horton 0f06c44168 major updates and test suite 2019-12-04 21:43:27 -05:00
Dave Horton 47bb642854 revamped db schema and implemented some simple api 2019-12-02 16:49:25 -05:00
Dave Horton 8c287f06df initial checkin 2019-11-27 09:23:14 -05:00