Difference between revisions of "VoIP with XS4ALL"

From LinuxMCE
Jump to: navigation, search
m (added to the Telecom category)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The internet provider [http://www.xs4all.nl XS4All] (in dutch) gives it's customers 2 [http://www.xs4all.nl/allediensten/voip/ VOIP] lines free of charge, with the option to be able to make outbound calls to phone numbers worldwide.
+
[[Category: VoIP]]
 +
[[Category: Telecom]]
 +
[[Category: Phone Lines]]
 +
[[Category: Tutorials]]
  
Before you start you need to have activated your [http://www.xs4all.nl/allediensten/voip/activeren.php XS4All VOIP number].  As you will need the account details further on, replace '''08787.....''' with your own phone number, '''<password>''' with the password for that number and '''<your-ip>''' with your external ip-number.
+
The internet provider [http://www.xs4all.nl XS4ALL] (in dutch) gives it's customers 2 [http://www.xs4all.nl/allediensten/voip/ VoIP] lines free of charge, with the option to be able to make outbound calls to phone numbers worldwide.
  
1. Go to the web admin page (type your core's IP in a browser) and from the upper menu, choose Advanced / Configuration / Phones setup, you should see the AMP (Asterisk Management Portal) welcome page now.
+
Before you start you need to have activated your [http://www.xs4all.nl/allediensten/voip/activeren.php XS4All VoIP number].  As you will need the account details further on, replace '''<08787.....>''' with your own phone number and '''<password>''' with the password for that number.
  
2. Choose Setup, a menu appears, goto Trunks and select Add SIP Trunk.
+
Note that this procedure has been tested on 0710 Beta3, it is probably similar under 0704.
+
- General Settings -
+
+
Outbound Caller ID: '''''08787.....'''''
+
Maximum channels:
+
+
+
- Outgoing Dial Rules -
+
+
Dial Rules:
+
  '''''020+NXXXXXX'''''
+
  ''0NXXXXXXXX''
+
  ''0+0031|NXXXXXXXX''
+
  ''00NXXXXXXXXXX''
+
Outbound Dial Prefix:
+
+
+
- Outgoing Settings -
+
+
Trunk Name: ''xs4all''
+
PEER Details:
+
  ''host=sip.xs4all.nl''
+
  ''secret='''<password>'''''
+
  ''type=peer''
+
  ''username='''08787.....'''''
+
+
+
- Incoming Settings -
+
+
USER Context: xs4all-in
+
USER Details:
+
  ''allow=alaw&g729&g723
+
  ''context=from-trunk
+
  ''disallow=all
+
  ''externip='''<your-ip>'''
+
  ''fromdomain=sip.xs4all.nl
+
  ''fromuser='''08787.....'''
+
  ''host=sip.xs4all.nl''
+
  ''insecure=very''
+
  ''nat=yes''
+
  ''port=5060''
+
  ''qualify=no''
+
  ''restricted=no''
+
  ''secret='''<password>'''''
+
  ''type=friend''
+
  ''username='''08787.....'''''
+
+
+
- Registration -
+
+
Register String: '''''08787.....:<password>@sip.xs4all.nl'''''
+
  
I'm not sure whether all of these are necessary (or even the ''right way'' of doing things) but it works for me.
+
# Go in the web admin page (see [[Logging In]]) to ''Wizard > Devices > Phone Lines''.
 +
## Check ''When dialing a local number, automatically prepend the area code'' and specify the areacode you would like to have prepended when dialing a local number, for instance in Rotterdam 010, Amsterdam 020, etc. (this is optional).
 +
## Uncheck ''Also prepend a digit (1 for US/Canada, 0 for Europe)'' (also optional).
 +
## ''Local Number Length'' '''7''' (the default).
 +
# Hit the ''Update'' button.
 +
# ''Choose provider'' '''sipgate (try for free, pay as you go)'''
 +
## ''Username'' '''<08787.....>'''
 +
## ''Password'' '''<password>'''
 +
## ''Phone number'' '''<08787.....>'''
 +
## ''Host'' '''sip.xs4all.nl'''
 +
# Hit the ''Submit'' button.
 +
# Hit the ''Deactivate Automatic Configuration'' button, and the following ''Yes'' button.
 +
# Click the ''click here'' link (next to "Manual configuration activated. To configure AMP, click")
 +
# Click ''Trunks'', and ''Trunk SIP/sipgate''
 +
# Under "Outgoing Dial Rules" change ''Dial Rules'' to (adjust the '''020''' to your own area prefix if you're not in Amsterdam):
 +
112
 +
'''020'''+XXXXXXX
 +
0ZXXXXXXXX
 +
0031|0+.
 +
9|.
 +
## This will recognize 112, the emergency number.
 +
## Seven digit local numbers will get 020 prepended.
 +
## Long distance numbers, 10 digits starting with a zero followed by a non-zero digit.
 +
## International numbers to the Netherlands get 0031 stripped and a 0 prepended instead.
 +
## A nine will dial out no matter how many digits.
 +
# You now can (optionally) modify other settings to your liking as well, however do NOT change the ''Trunk Name'' (leave it at the default '''sipgate''').  When done hit ''Submit Changes''.
 +
# Click ''Reload Required Apply Configuration Changes'' and ''Continue with reload''.
 +
# Go back to ''Wizard > Devices > Phone Lines'' and hit the ''Activate Automatic Configuration'' button, followed by the ''Yes and keep my advanced settings'' button.
  
 
+
When you see the status '''Registered''' followed by a date and time you should be able to make and receive calls.
3. Hit the submit button and proceed to Inbound Routing, pick '''anything but NOT''': '''''Use 'Incoming Calls' settings''''' for Set Destination (see below). And hit submit again, then you need to click the red bar near the top of the page to appy the changes.
+
 
+
 
+
You should be able to make and receive calls using your XS4All VOIP number now.
+
 
+
 
+
I am not 100% sure whether this is the right setup for LinuxMCE, especially about the inbound routing using the predefined ''from-trunk'' and the loop it seems to create when using the ''Use 'Incoming Calls' settings''.  If there is a better way or anything else is wrong then please update this page or leave a message in the 
+
[http://forum.linuxmce.com/index.php?topic=1876.msg8515#msg8515 Adding voip phone lines not on the providers list] thread on the forum.
+
 
+
 
+
[[Category: Telecom]]
+
[[Category: Phones]]
+
[[Category: Tutorials]]
+

Latest revision as of 14:58, 18 October 2010


The internet provider XS4ALL (in dutch) gives it's customers 2 VoIP lines free of charge, with the option to be able to make outbound calls to phone numbers worldwide.

Before you start you need to have activated your XS4All VoIP number. As you will need the account details further on, replace <08787.....> with your own phone number and <password> with the password for that number.

Note that this procedure has been tested on 0710 Beta3, it is probably similar under 0704.

  1. Go in the web admin page (see Logging In) to Wizard > Devices > Phone Lines.
    1. Check When dialing a local number, automatically prepend the area code and specify the areacode you would like to have prepended when dialing a local number, for instance in Rotterdam 010, Amsterdam 020, etc. (this is optional).
    2. Uncheck Also prepend a digit (1 for US/Canada, 0 for Europe) (also optional).
    3. Local Number Length 7 (the default).
  2. Hit the Update button.
  3. Choose provider sipgate (try for free, pay as you go)
    1. Username <08787.....>
    2. Password <password>
    3. Phone number <08787.....>
    4. Host sip.xs4all.nl
  4. Hit the Submit button.
  5. Hit the Deactivate Automatic Configuration button, and the following Yes button.
  6. Click the click here link (next to "Manual configuration activated. To configure AMP, click")
  7. Click Trunks, and Trunk SIP/sipgate
  8. Under "Outgoing Dial Rules" change Dial Rules to (adjust the 020 to your own area prefix if you're not in Amsterdam):
112
020+XXXXXXX
0ZXXXXXXXX
0031|0+.
9|.
    1. This will recognize 112, the emergency number.
    2. Seven digit local numbers will get 020 prepended.
    3. Long distance numbers, 10 digits starting with a zero followed by a non-zero digit.
    4. International numbers to the Netherlands get 0031 stripped and a 0 prepended instead.
    5. A nine will dial out no matter how many digits.
  1. You now can (optionally) modify other settings to your liking as well, however do NOT change the Trunk Name (leave it at the default sipgate). When done hit Submit Changes.
  2. Click Reload Required Apply Configuration Changes and Continue with reload.
  3. Go back to Wizard > Devices > Phone Lines and hit the Activate Automatic Configuration button, followed by the Yes and keep my advanced settings button.

When you see the status Registered followed by a date and time you should be able to make and receive calls.