Open javibookline opened 1 year ago
this may require changes in api-server and sbc-inbound as well
Hi @javibookline
It would be great if you can update me why do you have to define 2 same phone numbers if we can define multiple trunks/gateway inside of a carrier?
Hi @xquanluu, first of all thanks for the help.
I can think of two examples where we would need to define 2 phone numbers:
Thanks a lot @javibookline ,
it's clear, I'm starting to develop this new feature, I will keep you updated.
We're going to hold on this feature for now. The implications are widespread throughout the product, and could actually break the multi-tenant dimension of jambonz. Currently, multiple accounts can use the same carrier (like twilio) but they cant of course have the same phone number/DID from twilio. Relaxing that constraint would break multitenancy and make routing of calls to applications have ambigous scenarios.
Suppose we have two PBX carriers that wish to send calls to jambonz.
Carrier 1 sends calls from carrier1.com and Carrier 2 sends calls from carrier2.com.
Both PBXs send calls from their extension number 210, so the SIP From header are the following
Jambonz should be able to handle differentetly these 2 incoming requests, even though they come from the "same number", as they belong to different carriers.
Currently in Jambonz we can create several accounts and carriers, but we cannot create two numbers if they are the same, event if they belong to different accounts and carriers.