Difference between revisions of "Didx.net"

From Kolmisoft Wiki
Jump to navigationJump to search
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=What is didx.net=
=What is didx.net=
DIDX (DIDXchange) is where Internet protocol communications companies buy and sell DID (Direct Inward Dialing) phone numbers.
DIDX (DIDXchange) is a place where VOIP companies buy and sell DID (Direct Inward Dialing) phone numbers.
 
=How to configure a DID purchased from didx.net to work with MOR?=
=How to configure a DID purchased from didx.net to work with MOR?=
1. Go to purchased DIDs:
1. Go to purchased DIDs:
Line 36: Line 37:
[[File:Dids_new_did.png]]
[[File:Dids_new_did.png]]
<br><br>
<br><br>
6. Now go to '''SETTINGS - Users''':
6. Now go back to DIDs list: '''SETTINGS - Billing -> DIDs'''
<br><br>
<br><br>
[[File:Users_path.png]]
[[File:Did_path.png]]
<br><br>
<br><br>
7. Select the marked icon (you must select the correct icon from the column which represents the user you want to assign DID to):
7. Edit the DID you created:
<br><br>
<br><br>
[[File:Users_device.png]]
[[File:Didx_edit_did.png]]
<br><br>
<br><br>
8. Select the marked icon for an appropriate device:
8. Select a user you want to reserve a DID for:
<br><br>
<br><br>
[[File:101_devices_call_flow_sip.png]]
[[File:Didx_edit_did_reserve_for_user.png]]
<br><br>
<br><br>
9. Select the marked icon:
9. Reserve the DID for a user - press the marked button:
<br><br>
<br><br>
[[File:Callflow_before_call_edit.png]]
[[File:Didx_edit_did_reserve_for_user_commit.png]]
 
<br><br>
<br><br>
10. Click the marked triangle and select the option '''"Forward"''':
10. Now you have to select the device you configured earlier with callflow, in this case it will be SIP/1001:
<br><br>
<br><br>
[[File:Callflow_edit_triangle.png]]
[[File:Didx_edit_did_select_device.png]]
<br><br>
<br><br>
11. Click the marked icon:
11. Save the changes by pressing the marked button:
<br><br>
<br><br>
[[File:Callflow_forward_click_tick.png]]
[[File:Didx edit did select device commit.png]]
<br><br>
<br><br>
12. Click the marked radio button on the left and enter destination number where the call will be sent when it comes to this device.
 
 
= How to allow incoming connections from DIDx.net =
 
== DIDx.net used IP's ==
 
DIDX may send you calls from any of the IP's below.
 
You can find the most up-to-date at KB.DIDX list of IP addresses at http://kb.didx.net/tiki-index.php?page=IP%20Addresses
 
Last update (2016 Jan 29):
 
67.15.128.14 – sip1.didx.net
67.15.128.18 – sip2.didx.net
198.101.50.4 – sip4.didx.net
198.101.50.2 – sip5.didx.net
74.55.75.30 – sip6.didx.net
67.228.182.162 – sip8.didx.net
66.228.114.228 - sip10.didx.net
88.208.247.34 – eu1.didx.org
 
== Configuration on MOR ==
 
In order to receive incoming connections from DIDx you can ether create IP authenticated Providers for all IP's or you can do the following:
It is possible to implement multiple DIDx IP addresses by making these changes:
 
1. Create a provider in MOR, with a name didx:<br>
[[File:provider_create_didx.png]] <br>
2. Afterwards, enter any IP (or leave blank) in Provider Network settings, and write down Provider Device ID value, you
will need it later.<br>
[[File:provider_settings_didx.png]]<br>
3. Now connect to your server over ssh and locate this file /etc/asterisk/extensions_mor_didx.conf and find these lines:
[from-didx]
exten => _X.,1,Set(CDR(ACCOUNTCODE)=0)
exten => _X.,2,Goto(mor,${EXTEN},1)
Now you need to change '''(ACCOUNTCODE)=0''' value (0) to Provider Device ID value as follows:
exten => _X.,1,Set(CDR(ACCOUNTCODE)=221)
exten => _X.,2,Goto(mor,${EXTEN},1)
<br>
4. Make sure, file /etc/asterisk/sip.conf has this line included:
#include sip_didx.conf
<br>
NOTE: sip_didx.conf file contains list of DIDWW server IPs, so this file must be included if you are using DIDx DIDs. Without this list, all incoming calls from DIDx will not be allowed by MOR.<br>
<br>
5. [[How_to_restart_Asterisk_server | Restart Asterisk]]
<br>
Now your system is updated with all the DIDx IP addresses that are listed in their recommendations.
<br><br>
<br><br>
[[File:Call_flow_forward_edit.png]]
'''Now there is no need to create one Provider for each IP'''
<br><br>
<br><br>


 
'''That's all'''
to be continued..

Latest revision as of 08:27, 29 January 2016

What is didx.net

DIDX (DIDXchange) is a place where VOIP companies buy and sell DID (Direct Inward Dialing) phone numbers.

How to configure a DID purchased from didx.net to work with MOR?

1. Go to purchased DIDs:

Didx purchased dids.png

2. Then select a DID for edit:

Didx edit purchased did.png

3. Select "New SIP"

In this field you have to enter your DID and server address with the following syntax: DID@example.com

For example:

You have purchased a DID: 37068111888 Your MOR server address is: 127.0.0.1

Then you have to put in this field:

37068111888@127.0.0.1

Don't forget to press the update button!

Didx purchased dids addr did.png



4. Now login to MOR GUI and go to SETTINGS - Billing -> DIDs

Did path.png

5. Now create a new DID and leave it free at the moment. To create a DID press the marked icon:

Dids new did.png

6. Now go back to DIDs list: SETTINGS - Billing -> DIDs

Did path.png

7. Edit the DID you created:

Didx edit did.png

8. Select a user you want to reserve a DID for:

Didx edit did reserve for user.png

9. Reserve the DID for a user - press the marked button:

Didx edit did reserve for user commit.png

10. Now you have to select the device you configured earlier with callflow, in this case it will be SIP/1001:

Didx edit did select device.png

11. Save the changes by pressing the marked button:

Didx edit did select device commit.png


How to allow incoming connections from DIDx.net

DIDx.net used IP's

DIDX may send you calls from any of the IP's below.

You can find the most up-to-date at KB.DIDX list of IP addresses at http://kb.didx.net/tiki-index.php?page=IP%20Addresses

Last update (2016 Jan 29):

67.15.128.14 – sip1.didx.net 
67.15.128.18 – sip2.didx.net 
198.101.50.4 – sip4.didx.net 
198.101.50.2 – sip5.didx.net 
74.55.75.30 – sip6.didx.net 
67.228.182.162 – sip8.didx.net 
66.228.114.228 - sip10.didx.net 
88.208.247.34 – eu1.didx.org

Configuration on MOR

In order to receive incoming connections from DIDx you can ether create IP authenticated Providers for all IP's or you can do the following: It is possible to implement multiple DIDx IP addresses by making these changes:

1. Create a provider in MOR, with a name didx:
Provider create didx.png
2. Afterwards, enter any IP (or leave blank) in Provider Network settings, and write down Provider Device ID value, you will need it later.
Provider settings didx.png
3. Now connect to your server over ssh and locate this file /etc/asterisk/extensions_mor_didx.conf and find these lines:

[from-didx]
exten => _X.,1,Set(CDR(ACCOUNTCODE)=0)
exten => _X.,2,Goto(mor,${EXTEN},1)

Now you need to change (ACCOUNTCODE)=0 value (0) to Provider Device ID value as follows:

exten => _X.,1,Set(CDR(ACCOUNTCODE)=221)
exten => _X.,2,Goto(mor,${EXTEN},1)


4. Make sure, file /etc/asterisk/sip.conf has this line included:

#include sip_didx.conf


NOTE: sip_didx.conf file contains list of DIDWW server IPs, so this file must be included if you are using DIDx DIDs. Without this list, all incoming calls from DIDx will not be allowed by MOR.

5. Restart Asterisk
Now your system is updated with all the DIDx IP addresses that are listed in their recommendations.

Now there is no need to create one Provider for each IP

That's all