Using and configuring FXO

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:

  1. Login to SPA400 as Admin
  2. in the “Administration” menu, set SPA400 to factory defaults
  3. In the “Setup” menu set static IP address, netmask, gateway, dns, ntp server and timezone.
  4. 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.
  1. Set SPA9000 Address to Discover Automatically.
  2. In the Voice menu set Preferred Coder
  3. 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!