Trixbox and SPA3102
I'm spent the last week trying to establish a connection between trixbox and the FXO port of the SPA3102. I think I tried every possible settings that could be found on the internet.
When I try to make a call, I get the message: "All circuits are busy now".
Those are my settings:
Trixbox trunk:
User name = SPA3102
Peer details:
allow=ulaw
canreinvite=no
context=from-pstn
disallow=all
host=10.3.2.251
user=SPA3102
secret=1234
insecure=very
nat=no
port=5061
qualify=yes
type=peer
User context: SPA3102_In
allow=ulaw
canreinvite=no
context=from-pstn
disallow=all
host=10.3.2.250
insecure=very
nat=no
port=5061
type=user
Outbound route:
Dial patterns: 9|.
Trunks: SIP/SPA3102
In the configuration of the SPA3102 I changed following settings:
SIP transport: UDP
SIP Port: 5061
Make call without reg: YES
Proxy: 10.3.2.250
Dipslay name SPA3102
User name SPA3102
Password: 1234
Use auth ID: no
Dial plan 1: (S0<: 089207611@10.3.2.250 :5061>)
In the info page of the SPA3102 I can see this:
Hook state: on
Line voltage: 49V
Loop current 0.0(mV)
Registration state: failed
In the system info at trixbox webpage I can see that there is 1 IP trunk online (I have only 1 programmed). Also if I go to 'panel' in the tab trunks there are two trunks: SPA3102 and SPA3102_in showing the state connected (if I plug out the 3102, those icons become grey).
With those settings if I dial 91200, I get the message "all circuits are busy now". 1200 is the number of the talking clock here. If I connect an regular phone directly to the PSTN line and dial 1200, I get instant connection so the PSTN and the number 1200 should be OK.
I also tried to lower the Line-in-Use voltage to 15V, but this also didn't solve the problem.
I hope someone could help me with this.
I now can use my PSTN line as a trunk for outbound calls.
I used part of this tutorial for that to work.
http://www.claritytele.com/configuring-spa3102-asterisk-trunk
good luck
truefocus
I just tried some more stuff, but nothing will work.
I'm sure that the IP-address, username and password are correct, but registration at the 'info' tab in the PSTN Line section gives "failed".
Now I want to try to reset the SPA3102 to factory defaults and just enter the IP addres, username and password.
Can anyone confirm that if I do so, the SPA3102 must show "registered" at the PSTN site?
Thx
I am using a SPA3102 with my trixbox and it does not register. However, I can still make and receive calls on it. Here is my configuration:
Trunk (Peer Details):
auth=md5
context=from-pstn
dtmfmode=rfc2833
fromuser=spa3102
host=192.168.2.8
insecure=very
port=5061
secret=my_password
type=peer
username=spa3102
Not sure if the "auth" is needed. But, it is working. Also, my Incoming Settings and register string are blank.
As for the SPA3102, you want to make sure you also have "Answer call with Reg" enabled. I am using (xx.) in my DialPlan 1 and (S0<:6025555555) in my Dial Plan 2. I am not specifying a host or port in my Dial Plan 2. On my VOIP to PSTN gateway, I have the "Line 1 VoIP Caller DP" set to 1. On the PSTN to VOIP gateway, I have the "PSTN Caller Default DP" set to 2.
Hope this helps!!
I found a solution for my problem:
In trunk settings at trixbox side, I added allow=ulaw.
In SPA3201 PSTN line settings, I set "preferred codec" to G711u and "use preferred codec only" to yes.
Now I can make and receive calls over the PSTN line!
When I set "use preferred codec only" to no, the calls aren't coming trough anymore. Looks a bit strange right?



Member Since:
2008-09-05