SPA 3102 and Trixbox 2.4 Setup

vasgeo45
Posts: 1
Member Since:
2008-01-13

Hello!
I have setup a SPA 3102 with my trixbox server and i would like to share my configuration and get any opinion/suggestion about it. i didn't have the time to read all posts about SPA, i think i did some things differently from the articles i have read but there is a great possibility that a similar setup has already been posted so if it does exist forgive me.

Firstly at trixbox you create two extentions lets say 7000 and 7001 and in the SPA setup you register the two Voip interfaces PSTN Line and Line 1 as these extentions respectively. Then at trixbox you create a misc application with a feature code lets say 7100 and in the SPA under the PSTN Line tab you create a dial plan like Dial Plan 1 :(S0<:7100>) and make sure you point this DP as your PSTN Caller Default DP under PSTN-To-VoIP Gateway Setup. Now you have fanctional incoming calls from PSTN which can be routed any way you like (IVR,extention,announcement, etc) depending on the destination you choose in the 7100 misc application in trixbox.

For outgoing calls you create a custom trunk with maximum channels set to 1 and custom dial string : SIP/7000. Then an outbound route with a Dial Patern only just say a 0 and set first in the trunk sequence the Custom trunk SIP/7000 you created before. In the SPA under the PSTN Line tub you create Dial Plan 2 :(xx.) and point that DP as your Line 1 and VoIP Caller Default DP under VoIP-To-PSTN Gateway Setup. Lastly under Line 1 tab you set Dial Plan :(xx.|*x.) , (*x. to route feature codes, dialed from the phone in the FXS, to asterisk). Now every extention in trixbox including 7000 which is the analog phone connected to the FXS port, when dialing 0 gets a PSTN tone and can then make any call through PSTN.

I think it's a solid setup becouse everything is done without any "tricks" in the trixbox configuration. I would like to read your comments.