Difference between revisions of "VoIP with XS4ALL"

From LinuxMCE
Jump to: navigation, search
m (added to the Telecom category)
(updated with new insights)
Line 70: Line 70:
 
[http://forum.linuxmce.com/index.php?topic=1876.msg8515#msg8515 Adding voip phone lines not on the providers list] thread on the forum.
 
[http://forum.linuxmce.com/index.php?topic=1876.msg8515#msg8515 Adding voip phone lines not on the providers list] thread on the forum.
  
 +
----
 +
NB. By examining the automaticly generated setup for "sipgate", I noticed that it uses ''context=from-internal'' in the ''Incoming Settings'' so that might be more suitable.  I'll try that the next time around and update this page accordingly.
 +
----
  
 
[[Category: Telecom]]
 
[[Category: Telecom]]
 
[[Category: Phones]]
 
[[Category: Phones]]
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]

Revision as of 03:33, 4 August 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, <password> with the password for that number and <your-ip> with your external ip-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 AMP (Asterisk Management Portal) 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+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.


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


NB. By examining the automaticly generated setup for "sipgate", I noticed that it uses context=from-internal in the Incoming Settings so that might be more suitable. I'll try that the next time around and update this page accordingly.