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)
(forgot a codec)
Line 37: Line 37:
 
   USER Context: xs4all-in
 
   USER Context: xs4all-in
 
   USER Details:
 
   USER Details:
   ''allow=alaw&g729&g723
+
   ''allow=g723&g729&alaw&ulaw''
   ''context=from-pstn
+
   ''context=from-pstn''
   ''disallow=all
+
   ''disallow=all''
   ''externip='''<your-ip>'''
+
   ''externip='''<your-ip>'''''
   ''fromdomain=sip.xs4all.nl
+
   ''fromdomain=sip.xs4all.nl''
   ''fromuser='''08787.....'''
+
   ''fromuser='''08787.....'''''
 
   ''host=sip.xs4all.nl''
 
   ''host=sip.xs4all.nl''
 
   ''insecure=very''
 
   ''insecure=very''

Revision as of 02:50, 24 October 2007

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.

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.

2. Choose Setup, a menu appears, goto Trunks and select Add SIP Trunk.

- General Settings -

Outbound Caller ID: <08787.....>
Maximum channels:


- Outgoing Dial Rules -

Dial Rules:
 020+ZXXXXXX
 0ZXXXXXXXX
 0+0031|ZXXXXXXXX
 00ZXXXXXXXXXX
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=g723&g729&alaw&ulaw
 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.

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 Adding voip phone lines not on the providers list thread on the forum.