i had a look at freePBX and it looks very promising. i guess i will try installing it this weekend!
back to my initial question, this is what helped me configure the SPA400 with TrixBox/FreePBX.
http://forum.voxilla.com/voip-wiki/using-linksys-spa400-asterisk-24184-2.html
here is the instruction:
- Login to SPA400 as Admin
- in the “Administration” menu, set SPA400 to factory defaults
- In the “Setup” menu set static IP address, netmask, gateway, dns, ntp server and timezone.
- In the “SPA9000 Interface” set:
- USER ID: 9000 (DON’T CHANGE IT!!!) - everybody changing it to spa400 - I don’t understand why? I telneted to SPA400 and look at the configuration. In my opinion it can’t work if you change it.
- Set SPA9000 Address to Discover Automatically.
- In the Voice menu set Preferred Coder
- Login to trixbox and create trunk.
Trunk Name: spa400 (or whatever you want - this is only a name)
PEER Details:
allow=alaw (or ulaw - it’s depend which Preferred Coder you set in SPA400)
type=peer
user=9000 (it’s USER ID in SPA400)
host=192.168.0.11 (ip address your SPA400)
dtmfmode=rfc2833
canreinvite=no
context=from-trunk
insecure=very
Register String:
[email protected]/9000
Incoming Settings - leave blank.
Set Inbound and Outbound Routes
Thats it!