Multi tenant with opensips in front

Status
Not open for further replies.

dimebag

New Member
Jun 17, 2018
4
0
1
43
Hello all ,
We have several fusionpbx up and running in multi tenant mode and everything works perfectly .
Recently we decided to move these servers behind opensips server so DID calls come in to the opensips and then using dynamic routing module of opensips we route them to their appropriate fusion server , But there is one issue when call comes to freeswitch it does not have any idea about the call domain and route the call to the public context instead of client domain context .
So basically first i would like to know how the matching occur to determine call context , looking through sip header the only difference i found is from header which when coming from opensips is opensips ip and when coming directly from registered user its user domain
Do we look into from header to determine call context and domain ?Should not we check to header to determine in which domain to put the caller ?
And how may i get it to work properly ?
 
The incoming does not matter about domain, the destination and inbound route will decide which domain it is for.
 
Thank you DigitalDaz ,
One thing that i am trying to do is to move all the freeswitch machines behind opensips ,so even register packets are destined to opensips and then will be forwarded to appropriate freeswitch nut i guess this way the fusion/freeswitch will have no idea about users domain and users in the same tenants will not be able to call each other , am i right ?
Also if i dial the DID number from an extension within the same tenant and set the incoming route context to their domain name everything work flawlessly .
All in all i need to find a solution to move everything behind sip proxy server (kamailio / opensips) so we can have better management so your idea are of great value to me .
Regards
 
Status
Not open for further replies.