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.
Andrew