Hi everybody, I've worked on Asterisk these weeks and I've a great experience abount configuration of LinkSys SPA3102 and Asterisk.
My necessity was to have a Asterisk Server connect to PSTN line throught SPA3102.
I'm not an expert in VOIP but on internet I've found many and many help request and many and many configuration response. So, scan log file, read Asterisk documentation and many forums post I've found my solution.
This is the minimal configuration to achieve :
PSTN (SPA3102) <-> ASTERISK.
Ip configuration :
IP ASTERISK : 192.168.1.30
IP SPA3102 : 192.168.1.132
Asterisk (FreePbx) configuration:
Create a new Sip Extension on Asterisk Free PBX for the line1 on SPA3102.
Extension : 298 , secret 298 (Leave other parameters as default)
Create a new Sip Extension on Asterisk Free PBX for the pstn line on SPA3102.
Extension : 299 , secret 299 (Leave other parameters as default)
Create a new Custom Trunk to forward calls on the extension 299 ( PSTN line)
- Trunk name : PstnTrunk
- Outbound Caller ID : PSTN number
- Maximum Channels : 1
- Custom Dial String : SIP/299/$OUTNUM$
Create a new Outbound route to forward calls to the Custom Trunk
Dial Pattern : 0. e 3. ( in italy , local end cellular phone number )
Trunk sequence : PstnTrunk
Setting static Lan ip adress to 192.168.1.132
- Proxy : 192.168.1.30 ( ip trixbox)
- Display Name : 298
- User ID : 298
- Password : 298
- Make Call Without Reg : yes
- Ans Call Without Reg : yes
- Proxy : 192.168.1.30
- Display : 299
- User Id : 299
- Password : 299
- Disconnect Tone : 425@-12,425@-12;1(.2/.2/1+2) ( for Italy )
- Cfwd All Dest: firstname.lastname@example.org ( where 201 is a FreePbx extension to responde pstn calls )
It's all, enjoy Astersik and customize other configurations as you like.