Live Chat

Live Chat

Our last tweet


didww: DIDWW module for A2Billing released. More info at http://t.co/eV5lCzLW

Stay Connected

Facebook Twitter Google Bookmarks RSS Feed 

How to set Asterisk@Home/TrixBox with DIDWW DID numbers? How to set Asterisk@Home/TrixBox with DIDWW DID numbers?

This document explains how to use the Asterisk@Home/TrixBox.
Please note that the configuration in the article should work with Trixbox but unfortunately there are DID numbers that do not send the correct Caller ID format. Which means that if you configure your system to allow incoming calls just for recognized incoming numbers, and the DID is without correct Caller ID, there will be no incoming calls from this DID.

1.    Add new mapping on your DIDWW account:

a.    Enter your account at http://www.didww.com/ and go to Mapping page (Figure 1).

Access Mapping Page in your Account

Figure 1: Access Mapping Page in your Account

b.    Choose Custom mapping (Figure 2).

Entering Custom Mapping

Figure 2: Entering Custom Mapping

c.     If you already have custom mappings click on Add Custom Server. Fill the Custom mapping fields as follows:

·        Friendly name – Specify name by your choice that you will be able to recognize this mapping easily, choosing the name is important when you have many mappings, e.g. MyTrixBox (Figure 3).

Setting Custom Mapping (1)

Figure 3: Setting Custom Mapping (1)

·        IP address or domain – Enter your asterisk server's external IP address (Figure 3).

·        Protocol – Choose SIP (Figure 3).

·        Preferred server – Select the preferred server, choose the server which is closest to your location (Figure 3).

·        Default mapping – Select this checkbox if you wish that all new DIDs will be assigned to this default mapping (Figure 4).

Setting Custom Mapping (2)

Figure 4: Setting Custom Mapping (2)

d.    Press on the Add button to complete the mapping settings (Figure 4).

2.    Go to My DIDs and map your DID to the new MyTrixBox mapping.

a.    GO to My DIDspage (Figure 5).

Access My DIDs Page in your Account

Figure 5: Access My DIDs Page in your Account

b.    Click on the checkbox of the DID numbers that you wish to map and open the Map selected DID(s) todropdown list to select the MyTrixBox mapping, press on Update button to complete your mapping (Figure 6).

Assign Mapping to DID

Figure 6: Assign Mapping to DID

3.    Additional configuration is required on your Asterisk server, you should add the IP addresses of DIDWW as follows:
Go to the FreePBX administration page, click on the Trunks menu and add SIP trunks with the following settings:

 

USA 1:
Outgoing Settings
Trunk Name: didww_us10

 

Incoming Settings
USER Context: [46.19.209.10]

 

USER Details:
host=46.19.209.10
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 2:
Outgoing Settings
Trunk Name: didww_us11

 

Incoming Settings
USER Context: [46.19.209.11]

 

USER Details:
host=46.19.209.11
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 3:
Outgoing Settings
Trunk Name: didww_us12

 

Incoming Settings
USER Context: [46.19.209.12]

 

USER Details:
host=46.19.209.12
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

  

USA 4:
Outgoing Settings
Trunk Name: didww_us13

 

Incoming Settings
USER Context: [46.19.209.13]

 

USER Details:
host=46.19.209.13
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

  

USA 5:
Outgoing Settings
Trunk Name: didww_us14

 

Incoming Settings
USER Context: [46.19.209.14]

 

USER Details:
host=46.19.209.14
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 6:
Outgoing Settings
Trunk Name: didww_us15

 

Incoming Settings
USER Context: [46.19.209.15]

 

USER Details:
host=46.19.209.15
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 7:

Outgoing Settings
Trunk Name: didww_us75

 

Incoming Settings
USER Context: [46.19.209.75]

 

USER Details:
host=46.19.209.75
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 8:

Outgoing Settings
Trunk Name: didww_us76

 

Incoming Settings
USER Context: [46.19.209.76]

 

USER Details:
host=46.19.209.76
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 9:

Outgoing Settings
Trunk Name: didww_us77

 

Incoming Settings
USER Context: [46.19.209.77]

 

USER Details:
host=46.19.209.77
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 10:

Outgoing Settings
Trunk Name: didww_us78

 

Incoming Settings
USER Context: [46.19.209.78]

 

USER Details:
host=46.19.209.78
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 11:

Outgoing Settings
Trunk Name: didww_us79

 

Incoming Settings
USER Context: [46.19.209.79]

 

USER Details:
host=46.19.209.79
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 

USA 12:

Outgoing Settings
Trunk Name: didww_us80

 

Incoming Settings
USER Context: [46.19.209.80]

 

USER Details:
host=46.19.209.80
dtmfmode=rfc2833
type=peer
context=from-trunk
insecure=very
nat=never
allow=all

 


Please, make sure you have defined extensions within a context [from-trunk] in extensions.conf, otherwise you need to add context="your context" in sip.conf under the created trunk above.
Now click on Inbound Routes and add your DID number (full number, including the country code) and map it to your desired extension or IVR.

 

Please find more information about DIDWW Configuration Scripts

Article is in the following categories:
KB » Step By Step Guides