33 Commits
Author SHA1 Message Date
Sam Machin 53279a59c0 check account sid on client delete (#560) 2026-07-28 12:51:41 -04:00
Sam Machin 24621f79dd Remove smpp (#559)
* remove smpp

* update db-helpers
2026-07-28 10:32:42 -04:00
Sam Machin 4d2d1de389 Fix/db schema versions (#555)
* add notes on version to number mapping, no code change here

* typos
2026-06-03 13:04:54 -04:00
Sam Machin e0a9035d38 prvent 0.0.0.0 & /0 gateways (#553) 2026-05-29 09:07:10 -04:00
Sam Machin fb54f562f7 Update recent-calls.js (#549) 2026-04-14 08:19:42 -04:00
Sam MachinandDave Horton 4c6ad12a7f fix query sp alerts & bump time-series (#547)
* fix query sp alerts & bump time-series

* add package-lock.json back

* fix: use shared parseAccountSid/parseServiceProviderSid from utils in alerts and recent-calls routes

* fix/update tests

* fix tests

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2026-03-30 10:25:45 -04:00
Sam Machin 2d62dbb564 add db migrations for predefined carriers tables (#540) 2026-02-02 12:09:29 -05:00
Sam Machin f5fa3bdffb allow startrecording without siprec url for cloud (#530)
* allow startrecording without siprecm url for cloud

* update dependencies
2026-01-29 18:21:31 -05:00
Sam Machin bc26651cdb add new fieds for ICE and DTLS (#538) 2026-01-29 13:42:07 -05:00
Sam Machin 69046ab5d2 Feat/admin numbers carriers (#532)
* add JAMBONES_ADMIN_CARRIER check to limit creating carriers and numbers

* fix logic
2026-01-07 08:01:44 -05:00
Sam Machin 4201ebbe9c Fix/526 (#528)
* calidate webhook urls on update

* don't remove webhooks if not updated

* valid if object exists
2025-12-19 07:32:20 -05:00
Sam Machin eb681f9ddf force account sip_realm to lowercase (#519) 2025-11-20 07:18:17 -05:00
Sam Machin 486428727a remove activation code from response (#513) 2025-11-12 13:13:09 -05:00
Sam Machin 0f1f5e9b73 bump dbhelpers for cache change (#504) 2025-10-15 11:38:07 -04:00
Sam Machin 2e0ea56925 Fix API for Carriers & SIP Gateways (#492)
* allow account api keys to get/post sip gateways

* require sp sid when creating carriers

* allow account level api keys to query carriers

* lookup and set the service_provider_sid on account create carrier
2025-08-28 08:46:42 -04:00
Sam Machin 9854666d4f add new /Callcount endpoint (#480)
* add new /Callcount endpoint

* update db-helpers

* update endpoint
2025-07-03 11:49:27 -04:00
Sam Machin 9b4f1b67bf Fix/default app tts (#476)
* set default TTS voice for new applicaiton

* add migration to update existing NULL values

* add migration to add default for existing db

* allow null
2025-07-01 07:48:39 -04:00
Sam Machin 542ccfca79 check for whitespace in gateways and phone numbers (#477) 2025-07-01 07:16:27 -04:00
Sam Machin 0842793aea Update users.js (#474)
* Update users.js

* Update users.js
2025-06-27 07:13:14 -04:00
Sam Machin 781179bf0e fix unhandled exception (#473)
* handle error and return 400

* Update accounts.js

* Update accounts.js

* new test passing
2025-06-26 13:09:42 -04:00
Sam Machin 1532a4ab9c update db_helpers (#468) 2025-06-23 10:02:25 -04:00
Sam Machin 5fd89b1d65 remove pino.destination (#465) 2025-06-23 09:23:53 -04:00
Sam Machin fcff3d4b32 add proxy detail from registered client (#458) 2025-06-02 08:08:48 -04:00
Sam Machin 3f2a304830 add rate limit by real ip or apikey (#455) 2025-05-23 12:36:35 -04:00
30a799030c Feat/app env vars (#430)
* initial changes for env var support

* WIP

* Update applications.js

* JSON stringify before encrypting

* use call_hook.url

* env vars working

GET /v1/AppEnv?url=[URL] to trigger options request to URL and return app-schema
POST /v1/Applications with {env_vars: [OBJECT} to create app with env vars
PUT /v1/Applications/[SID] with {env_vars: [OBJECT} to change env vars
GET returns env vars

POST and PUT will also trigger an OPTIONS request to the call_hook url to get schema and then validate the env_vars against it

* update appenv cannot finish request.

* wip

* wip

* wip

* wip

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
Co-authored-by: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
2025-05-08 08:41:50 -04:00
Sam Machin ce2ea8bd62 validate call hook urls (#431) 2025-05-01 07:22:01 -04:00
Sam Machin 9a2e48b538 update AWS transcribe languages (#427)
Using info from https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
2025-04-28 09:11:47 -04:00
Sam Machin 29adbfc6ae Add Aura-2 Voices (#426) 2025-04-28 07:26:15 -04:00
Sam Machin b05b32d73e Update speech-utils.js (#425) 2025-04-23 10:29:19 -04:00
Sam Machin bc51b60e9b fetch voip carriers where api key doesn't have the service_provdier_sid availible (#412) 2025-04-22 09:34:36 -04:00
Sam Machin f0ec0a916f Update sip-gateways.js (#421) 2025-04-22 09:30:55 -04:00
Sam Machin 06873186ac fix the creds test and return correct error (#420) 2025-04-22 07:38:54 -04:00
Sam Machin 68a9b4226d fix min 25 (#396) 2025-03-11 07:48:04 -04:00