Difference between revisions of "VoIP with XS4ALL"

From LinuxMCE
Jump to: navigation, search
(a few days after updating this page, my phone stopped working so I went back to the old settings)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category: VoIP]]
 +
[[Category: Telecom]]
 +
[[Category: Phone Lines]]
 +
[[Category: Tutorials]]
 +
 
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.
 
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.
  
 
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.
 
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.
  
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 Asterisk Management Portal (AMP) welcome page now.
+
Note that this procedure has been tested on 0710 Beta3, it is probably similar under 0704.
  
2. Choose '''Setup''', a menu appears, goto '''Trunks''' and select Add SIP Trunk.
+
# 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).
- General Settings -
+
## Uncheck ''Also prepend a digit (1 for US/Canada, 0 for Europe)'' (also optional).
+
## ''Local Number Length'' '''7''' (the default).
Outbound Caller ID: '''''<08787.....>'''''
+
# Hit the ''Update'' button.
Maximum channels:
+
# ''Choose provider'' '''sipgate (try for free, pay as you go)'''
+
## ''Username'' '''<08787.....>'''
+
## ''Password'' '''<password>'''
- Outgoing Dial Rules -
+
## ''Phone number'' '''<08787.....>'''
+
## ''Host'' '''sip.xs4all.nl'''
Dial Rules:
+
# Hit the ''Submit'' button.
  '''''020'''+ZXXXXXX''
+
# Hit the ''Deactivate Automatic Configuration'' button, and the following ''Yes'' button.
  ''0ZXXXXXXXX''
+
# Click the ''click here'' link (next to "Manual configuration activated. To configure AMP, click")
  ''0+0031|ZXXXXXXXX''
+
# Click ''Trunks'', and ''Trunk SIP/sipgate''
  ''00ZXXXXXXXXXX''
+
# Under "Outgoing Dial Rules" change ''Dial Rules'' to (adjust the '''020''' to your own area prefix if you're not in Amsterdam):
Outbound Dial Prefix:
+
112
+
'''020'''+XXXXXXX
+
0ZXXXXXXXX
- Outgoing Settings -
+
0031|0+.
+
9|.
Trunk Name: ''xs4all''
+
## This will recognize 112, the emergency number.
PEER Details:
+
## Seven digit local numbers will get 020 prepended.
  ''host=sip.xs4all.nl''
+
## Long distance numbers, 10 digits starting with a zero followed by a non-zero digit.
  ''secret='''<password>'''''
+
## International numbers to the Netherlands get 0031 stripped and a 0 prepended instead.
  ''type=peer''
+
## A nine will dial out no matter how many digits.
  ''username='''<08787.....>'''''
+
# 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.
- Incoming Settings -
+
+
  USER Context: xs4all-in
+
  USER Details:
+
  ''allow=alaw&g729&g723
+
  ''context=from-pstn
+
  ''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''
+
  
3. Hit the submit button and proceed to '''Outbound Routing'''.
+
When you see the status '''Registered''' followed by a date and time you should be able to make and receive calls.
 
+
Route Name: ''VoIP''
+
Route Password:
+
+
Dial Patterns:
+
  ''0031|ZXXXXXXXX''
+
  ''ZXXXXXX''
+
Trunk Sequence:
+
  ''SIP/xs4all''
+
 
+
4. Click '''You have made changes - when finished, click here to APPLY them''' (in the red bar near the top of the page) after which you should be able to make and receive calls using your XS4ALL VoIP number.
+
 
+
 
+
I am not 100% sure whether this is the right setup for LinuxMCE, so 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: Phone Lines]]
+
[[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.