Outside dial


My client would like to configure FreePBX when dialing outside, dial 0, and the main business number will be shown as caller ID to the recipient. Dial 9 and the direct dial caller ID will be shown to the recipient.

Is this possible and if yes with one outbound route?

Thank you?

You’ll have to use two outbound routes and use 9 or 0 as a prefix.

1 Like

Two outbound routes will give you more direct control and feel more natural
to the users, but two places to make any dialplan changes. They would
basically be the same route setup, with one having 0 prefix and static CID,
another having 9 prefix and pass CID.

Here is one possible way to do it with only a single outbound route:

  1. create a DISA with no password and set its outbound CID to main number
  2. create virtual extension assigned to 0
    under advanced tab at bottom set all the optional destinations to the DISA

Outbound route does not assign CID, accepts from extension/source
and dial patterns has the usual contents for outside numbers - both
with and without prefix.9.

If you have any IVRs with direct dial, they should have their own 0 entries
to avoid accidental direct dial into this DISA or you could have unwanted
inbound callers impersonating the business and/or making free calls
on your dime.

If you want to simplify the outbound dialplan, users can dial 0 for DISA then

The unnatural part is waiting for 2nd dialtone after dialing 0. That is arguably
a training problem.

Also taking over 0 may be a problem and using 8 as the special prefix
might be more desirable.

I’m sure someone else more expert will have another suggestion.

Based on previous posts, I assume that this system is in Switzerland. If not, which country?

Most systems are normally set up so that outside numbers can be dialed without a prefix, same as from a landline or mobile. This avoids confusion, allows dialing from device history, contact lists, click-to-call, etc., and shows the same number format for incoming and outgoing calls.

One possibility is to dial without a prefix to show the private number, and prefix 9 to show the main number. Or, vice-versa if most calls would show the main number.

If your devices have spare line keys, you could set up two extensions. Press one button to show the private number, the other for the main. Calls directly to the private number would ring on the first; calls connected via IVR or receptionist would ring on the second. With most phones, that would result in calls from history automatically selecting the correct line. Contacts in the phone could be programmed with the desired line.

In any case, your emergency route should allow 112, 0112 and 9112 (and likewise for other emergency numbers), displaying the correct Emergency CID to the dispatcher. Next, have a route for non-emergency short codes.

Then, the route for ‘regular’ outside numbers is trivial (if you have no restrictions), requiring only one pattern for domestic and one for international. So, it is easy to have separate routes for private and main CIDs.

1 Like

Thanks for the answers. I will try two outbound route and yes the PBX is located in Switzerland.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.