jambonz / jambonz/jambonz-api-server

feature: env flag to prevent account-level default trunk routing

Open
#118 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
38
Avg merge
8h 34m
Merged PRs (30d)
1

Description

In some larger multi-tenant deployments it may be desirable to disallow API requests to set a default application at the carrier level. As an example, it is possible that many accounts will be using Twilio as a carrier, and in the first place we should not allow two of them to default route all calls from twilio. Currently, the first one that selects to default route twilio would "win" but as soon as a second set twilio as a default route calls would stop working for the first. It is not clear that we would want anyone in this scenario to be able to default route twilio; ie force everyone using twilio to enter a phone number and route based on that.

On the other hand, a customer entering their own SBC for a sip trunk we *would* want to be able to default route...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the REST API entry points and routing logic that handle account-level default applications for carriers such as Twilio and customer-owned SBCs. Review the existing environment configuration, then confirm that the new setting blocks carrier-level default routing while preserving the permitted SBC behavior; no test or file path is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.