Knowledgebase

Browse articles on provisioning IP phones and troubleshooting PBX-related problems. Learn new ways to configure your phone system and maximize its functionality. Access Knowledgebase

User Guide

Read the official user guide and learn how to setup all of its built-in features. Read this guide for tutorials on call flow management (mobile app included) and softphone creation. Access User Guide

Questions?

Frequently asked questions (FAQ) are listed questions and answers, that are commonly asked. These FAQs will help answer many questions you have in mind concerning our services. Access FAQs

Asterisk PBX Configuration

Our DIDs work with any Asterisk PBX via VoIP forwarding. Commonly, users do this by sending calls to their PBX hostname or IP address via direct SIP URI, known also as SIP address. Most users have static public IP addresses, but that's not to say a PBX can't receive calls via SIP URI with a dynamic IP address or behind a router (NAT). IAX may also be used, however, SIP is preferable.

Configuring DID numbers to work with Asterisk requires knowledge of networking and manipulating Asterisk configuration files. If using a graphical interface (GUI) to configure Asterisk, refer to the documentation for that specific GUI.

To include a new configuration file within an existing standard configuration file, use the following syntax:

#include .conf

For example, to include sip_cloudpbx.conf, the following should appear at the bottom of the sip.conf file:

#include sip_cloudpbx.conf

Indicate the correct context within the configuration details in the following sections. We have used a sample from-cloudpbx context; however, you may want to use something else. FreePBX users will want to set the context to from-trunk so that inbound calls can be handled via "Inbound Routes" within the PBX GUI.

Sample Extensions.Conf

[from-cloudpbx]
;; For example answer the call and then do something else such as call a SIP account on your local PBX
exten => 14165505135,1,Answer()
exten => 14165505135,n,Dial(SIP/)

Sample iax.conf

Within the IAX general settings section, add the following lines. If using FreePBX, these would go in iax_general_custom.conf.

requirecalltoken=no
calltokenoptional = 46.19.209.0/255.255.255.0

Place the following at the bottom of your iax.conf file. Alternatively, you may create a new configuration file called iax_cloudpbx.conf and include that file at the bottom of the iax.conf configuration file. If using FreePBX, this would go in iax_custom.conf.

[46.19.209.10]
type=friend
host=46.19.209.10
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.11]
type=friend
host=46.19.209.11
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.12]
type=friend
host=46.19.209.12
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.13]
type=friend
host=46.19.209.13
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.14]
type=friend
host=46.19.209.14
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.15]
type=friend
host=46.19.209.15
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.75]
type=friend
host=46.19.209.75
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.76]
type=friend
host=46.19.209.76
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.77]
type=friend
host=46.19.209.77
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.78]
type=friend
host=46.19.209.78
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.79]
type=friend
host=46.19.209.79
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

[46.19.209.80]
type=friend
host=46.19.209.80
trunk=yes
context=from-cloudpbx
qualify=no
canreinvite=no
dtmf=rfc2833

Sample sip.conf

To allow an Asterisk-based PBX to receive calls from our service via VoIP / SIP forwarding, use the following configuration. Place it at the bottom of the sip.conf file. Alternatively, create a new configuration file called sip_cloudpbx.conf and include that file at the bottom of the sip.conf configuration file.

[46.19.209.10]
host = 46.19.209.10
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.11]
host = 46.19.209.11
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.12]
host = 46.19.209.12
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.13]
host = 46.19.210.13
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.14]
host = 46.19.210.14
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.15]
host = 46.19.209.15
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.75]
host = 46.19.209.75
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.76]
host = 46.19.209.76
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.77]
host = 46.19.209.77
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.78]
host = 46.19.209.78
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.79]
host = 46.19.209.79
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.209.80]
host = 46.19.209.80
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.10]
host = 46.19.210.10
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.11]
host = 46.19.210.11
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.12]
host = 46.19.210.12
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.13]
host = 46.19.210.13
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.14]
host = 46.19.210.14
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.15]
host = 46.19.210.15
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.75]
host = 46.19.210.75
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.76]
host = 46.19.210.76
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.77]
host = 46.19.210.77
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.78]
host = 46.19.210.78
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.79]
host = 46.19.210.79
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.210.80]
host = 46.19.210.80
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.211.14]
host = 46.19.211.14
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no

[46.19.211.11]
host = 46.19.211.11
type = friend
insecure = port,invite
context = from-cloudpbx
canreinvite=no