DID Logic is a built-in option in latest 3CX releases.

Untitled1

To use 3CX on our network, you will need to create a numeric 5-digit SIP username in your didlogic.com customer portal first.

Untitled2

SIP account creation: set a secure password, optionally restrict to your 3CX server IP address, and specify caller ID (if available). You can also restrict channels and call length for additional security.


Download 3CX setup from http://www.3cx.com/phone-system/download-phone-system/ (3CXPhoneSystem125.exe) and begin install. Note the OS requirements first. You can easily deploy a virtual machine with Windows Server 2012 R2 at VULTR or Rackspace hosting for pennies per hour.
We like VULTR because they are a GTT customer in the Netherlands, as DID Logic is at Telecity AMS04, and routing is direct.

We are choosing default ports and web server options, and since this is a temporary box with no FQDN we are using IP:

Untitled3

Setup only takes a couple of minutes on a 2GB RAM system with SSD. 3CX will now take you to their User Settings Wizard:

Untitled4

Untitled5

Static IP should correspond to your external IP address (in this example, we're using the IP of the test VULTR VM).

Untitled6

Choose “Create new PBX”:

Untitled7

3 digits extensions are the default choice.

Untitled8

Mail server settings can be skipped for now.

Untitled9

Choose your 3CX admin credentials. This is what you will use to log on to the 3CX software suite.

Untitled10

Select region and international dialing code: we are using the North American convention in this example; this can be edited at any time using many of the incredibly flexible 3CX settings.

Untitled11

Extension 100 is the default extension for inbound calls:

Untitled12

With the initial limitations in place, 3CX is a very secure system. It's safe to allow US and Canada for your fresh install, as well as Australia +61. Note that you should expand the “Australia” list and only allow +61 if you're enabling Australia as well – the entire “Australia” subset also includes such expensive destinations as Vanuatu and Solomon Islands.

Untitled13

You can skip the registration in a free version if you are only testing a prototype.

Untitled14

Click “ Finish” to complete the software setup.

Untitled15

Setup wizard will close and will launch Internet Explorer to access localhost:5001, the default web management screen. Enter your previously chosen username and password to access your 3CX PBX:

Untitled16

Click on “VoIP providers” to the left and then “Add VoIP provider”. Firewall checker will be launched.

Untitled17

Your RDP or other remote console connection to your VM instance may be interrupted briefly while this test is run. On a virtual machine instance with a dedicated external IPv4 address, you should have no problem. Note: if using AWS, make sure you have allowed appropriate ports on your Elastic IP in the AWS management console. If using Rackspace or VULTR, you do not to do configure any ports.

Untitled18

Alternatively you can click “Skip” to go directly to “Add VoIP provider” menu.

Choose “Worldwide” from the dropdown list of countries and then “DID Logic”. Click “Next”.

Untitled43

Proxy port and server hostname are per-programmed by 3CX.

Untitled19

The following settings are based on your didlogic.com purchased DID number from “PURCHASED”

Untitled21

Your didlogic.com numbers and routing (example):

Untitled22

At this point you should have already created your 5-digit numeric SIP user name at DID Logic:

Untitled23

The default inbound mapping of 3CX is receptionist (Extension 100).

Untitled24

Outbound Call Rule: choose which extensions will have access to your DID Logic trunk and whether you wish to manipulated the dialed digits. You can setup many advanced number manipulation rules with 3CX. In this example, we're not adding any rules. DID Logic uses E.164 format. Numbers must be dialed with a country code in front. For example, New York is 12125551212 with a leading “1”.

By entering 100 in the “Call from extensions” field, we are allowing 3CX extension 100 to dial outbound on your sip.didlogic.net trunk.

Untitled25

Click “Finish”. Trunk will appear in your “Server manager, VoIP Providers” section:

Untitled26

Go to Ports/Turnks Status to check that the trunk is registered.

Untitled27

If not, go to Services Status and restart all.

Untitled28

We are now ready to make calls using system default extension 100.

Go to Extensions and locate the 100 entry.

Untitled29

Double-click on that entry to view password:

Untitled30

If your 3CX resides outside of your office LAN, before you can use extensions remotely, you must allow requests from WAN. Go to the Options tab of ext. 100 and disable the “Disallow use of extension outside the LAN” option – it is ON by default, blocking any attempts to use 3CX extensions from external IPs. Note: avoid using simple passwords. Speak to your IT administrator regarding additional IP restrictions that should be in place.

Untitled31

Connecting to your 3CX using 3CX phone or any other SIP capable softphone such as Bria, Acrobits, Eyebeam or hardware ATAs:

− your username on the 3CX PBX is “100” in this example.
− password string is revealed when you click on ext 100
− the SIP server is the IP of the virtual machine running 3CX

3CX currently offers Mac, Android, iPhone and Windows softphones available at http://www.3cx.com/3cxphone/
In this guide, we are using the 3CX softphone for Windows.

Untitled32

Click on the little gears icon at the bottom right to bring up the settings dialog.

Untitled33

Go to “Configure accounts” and click the + icon:

Untitled34

Your remotely hosted 3CX is running at 108.61.177.26 (IP address of the virtual machine running Windows) in this example. Choose “In office”. Your Extension is 100 and password can be viewed in the 3CX extension properties.

Untitled35

Go to “Phones” and provision the new device by choosing “Assign to existing extensions” (100)

Untitled36

More information on auto-provisioning can be found at http://www.3cx.com/sip-phones/3cx-voip-phone/


You can also connect to your 3CX server using any other third-party SIP software. In this example, we have disabled the WAN block on ext. 100. You can use 100 as your username to connect to 3CX on any remote desktop or smartphone.

Untitled37

(Bria softphone connecting to your hosted 3CX IP address as extension 100).

Since you already have outbound rules in 3CX that send all calls from extension 100 to “DID Logic trunk”, at this point you can dial 12127205000 to test outbound (always include country code).

Inbound calls to your DID Logic number on 3CX: go to Inbound Rules and click Add DID:

Untitled38

IMPORTANT: check that your DID Logic number is actually pointed to the SIP account you are using in your 3CX.

Untitled39

In this example, we're using 442035198131 as your DID number that will ring to your 3CX extension 100.

Untitled40

If extension is unavailable, 3CX will play the “Record your message and press #, or press * for the operator”. If you chose a different locale during the install, prompts may be different. This is a standard North American version greeting.

If the softphone registered to your 3CX as extension 100 is online, inbound call will go to your softphone and it will ring.

Untitled41

Untitled42