Here’s what I think your situation is:
You have 1 provider and 5 DIDs. You’d like
a) a single ‘receptionist’ to be able to answer any call
b) you’d like each company to get inbound calls to their extension(s)
c) unstated, but I’m assuming you’d like each company’s outbound calls to show their DID to the called party.
Assuming this is correct, you can solve this easily in freepbx
- Set up each company’s extensions in bins.
‘Receptionist’ - Exten 100
Company A - 1000-1999
Company B - 2000-2999
Company C - 3000-3999 (and so on)
Set up RingGroups (this assumes you want the Receptionist to ring on each call) for each Company
RingGroup ‘CompanyA’, might ring 100, 1000, 1100, etc.
RingGroup ‘CompanyB’ might ring 100, 2000, 2100, etc.
Set up your Trunk to use and register the 5 lines with the 1 Provider
Set up 5 Inbound Routes; set the DID number for each to be the DID (business line) for Company’s A, B, C …
Set the Destination as the RingGroup matching Company A, B, C
Now all incoming calls should be routed as you’d like; Company A can also call any extension for any Company (exten 1001 can call 4001).
Outbound - you want anyone dialing out from Company A to have THEIR callerid shown to callers
Define 5 Outbound routes; name them CompanyA, CompanyB, etc.
The first difference will be the callerid the call should originate from, so set the RouteID to that of each company and set it to override the extension.
Next, you need to set the Dial Patterns. Set these up to allow all the call types you would normally want. The normal pattern in this section is:
prepend + prefix match pattern / CallerID
for each Route, use the " / CallerID" section to mark the Company.
So, the pattern for Company A would be 1XXX; for company B, 2XXX, etc.
Let’s say Company A is located in NYC (212 area code) and you want as one of your patterns to allow 7 Digit dialing and you are using FlowRoute which requires 11 digits (the 1 before the 10 digits).
You Dial Plan for that line would be:
1212 in prepend
NXXXXXX in match pattern
1XXX in the “/ CallerID” section
In Trunk Sequence, select the Outbound Trunk for Company A.
For billing/reconciliation of use, you’ll need to use either the provider’s tracking or the CDR report.
If I have a typo or two, please excuse me. I’m using this technique for the two friends who’s lines I host on my PBX.