[top]Introduction
The
Linksys SPA8000 is an affordable, easy to use, eight port FXS gateway.
Configuring the Linksys SPA8000 to work with Asterisk is pretty simple and straight forward.
This tutorial provides a working basic sample configuration.
[top]Configuring Asterisk
Connect to your asterisk server an locate the configuration files.
[top]Configuring sip.conf
Open sip.conf in your favorite text editor and add the extension information for each SPA8000 FXS port.
In this example, Lines 1 and 2 are configured. Use the appropriate settings for your environment.
Code:
[8001]
type=friend
host=dynamic
secret=SPA8000-test
context=international-usa
mailbox=8001@default
qualify=no
canreinvite=no
dtmfmode=rfc2833
nat=yes
callerid=SPA8000 Line 1 <8001>
[8002]
type=friend
host=dynamic
secret=SPA8000-test
context=international-usa
mailbox=8002@default
qualify=no
canreinvite=no
dtmfmode=rfc2833
nat=yes
callerid=SPA8000 Line 2 <8002>
Save the configuration file.
[top]Configuring extensions.conf
Open extensions.conf in your favorite text editor and add the following to the appropriate context:
Code:
; SPA8000 test extensions
exten => 8001,1,Macro(exten-vm,SIP/${EXTEN},${VM_DELAY},2${EXTEN:1})
exten => 8002,1,Macro(exten-vm,SIP/${EXTEN},${VM_DELAY},2${EXTEN:1}) Save the extensions.conf file.
Login to the asterisk console and reload the configuration files.
[top]Configuring the Linksys SPA8000
The Linksys SPA8000 is ready to work with Asterisk, with most of the existing default settings.
Log into your Linksys SPA8000.
Then go to the Voice tab and select the advanced settigns for admin login. The URL should look something like:
http://192.168.1.113/admin/voice/advanced
Then select the line tab that you want to configure, in our example L1, and enter the following information:
Line Enable: Yes
Proxy: Asterisk Server name User ID: 8001
Password: SPA8000-test
And for the L2 tab:
Line Enable: Yes
Proxy: Asterisk Server name User ID: 8002
Password: SPA8000-test
The configuration above should get you started and give you a basic idea of how to configure the Linksys SPA8000 with Asterisk.