his is the Divert tab of your Number Control Panel. You can use this page to set the destination where calls to this number should be diverted:

Always click Save to activate any changes you make!
Note: changes to the type of divert destination (PSTN/VoIP) may take a few seconds to take effect
This is where you set forwarding of your calls via IP to a VoIP server. Check the "Voip - Internet PABX" box to enable this feature.
You can set up a standard PSTN divert as a backup if you wish (but if you have both set up, your VoIP divert will always be tried first). Details of configuring your number to divert by the PSTN (Public Switched Telephone Network - an ordinary phone line) can be found in dmNote 3211: instructions for ControlX/DMCDivert
VoIP can be tricky. If you want to check the number itself is working and you have doubts about your server setup or its connectivity, you can copy the following information into your VoIP forwarding settings to access our test service:
| Protocol | SIP |
| Host | voiptest.dmclub.net |
| DTMF | In-band |
| Protocol | IAX2 |
| Username | test |
| Password | test |
| Host | voiptest.dmclub.net |
Calls should be answered immediately with a "congratulations" message followed by an echo-test (the system plays back to you what it hears as quickly as it can - usually within about 0.2s). If this is what you hear, then your dmClub number is working correctly.
You should open up your VoIP server's firewall to all access from the following IP addresses, using SIP (UDP) on port 5060, RTP (UDP) on ports 16384-32767:
87.238.72.151
87.238.72.153
87.238.74.129
87.238.74.130
213.166.5.129
213.166.5.130
213.166.5.131
213.166.5.135
If you wish to use IAX, then add the following as well:
87.238.72.154
87.238.74.140
In addition, RTP traffic may originate from any of the IP addresses contained in the following subnets:
87.238.72.128/26
87.238.74.128/26
213.166.5.128/26
If you firewall UDP traffic on your network you must ensure the above subnets are permitted.
in /etc/asterisk/sip.conf:
[mag-SIP]
type = peer
context =from-mag
host=213.166.5.129
allow=alaw,ulaw
dtmfmode=inband
in /etc/asterisk/extensions.conf:
[from-mag]
exten => _X., 1, Answer
exten => _X., 2, Playback(demo-congrats)
exten => _X., 3, Hangup
Please note that we do not support Asterisk, and this is a friendly hint to VOIP PABX-savvy professionals.
No one has commented on this note.
Please login if you want to add a comment.