Spa112 Can’t Get Line 2 To Register

Home » Asterisk Users » Spa112 Can’t Get Line 2 To Register
Asterisk Users 2 Comments

Hi all,

I’ve got a couple of SPA112’s that are having problems registering line 2.
Line 1 registers just fine. All of them are behind a NAT.

Here is a sample provisioning file that the devices are using.

(Any help would be most appreciated.)



Yes

xxx

syslog.example.com

3
Yes
Yes
2
3600
3600
300
Yes
Yes


Yes
http://example.com/index.pl?mac=$MA





$PN $MAC — Requesting resync $SCHEME://$SERVIP:
$PORT$PATH

$PN $MAC — Successful resync $SCHEME://$SERVIP:
$PORT$PATH

$PN $MAC — Resync failed:
$ERR



Yes
3600

http://example.com/fw/spa112-132.bin
$PN $MAC — Requesting upgrade $SCHEME://$SERVIP:
$PORT$PATH

$PN $MAC — Successful upgrade $SCHEME://$SERVIP:
$PORT$PATH — $ERR

$PN $MAC — Upgrade failed:
$ERR























70
5
2
$VERSION
$VERSION


application>dtmf-relay
application>hook-flash
No
No
No
Yes
Yes
5060
5080
.5
4
5
32
16
32
32
32
240
30
1
30
30
1200
5
0
0






16384
16482
0.030
0
0
No
Yes
100
101

2
112
113
G711u
NSE
telephone-event
PCMU
PCMA
G726-32
G729a
G722
encaprtp
No
No
No
No
No
No
No
No



15
Yes
No
30

no
yes
$NOTIFY
$PROXY
0x68
3
0xb8
6
high
Yes
UDP
No

No

Yes
No
none
0
No
4
0
0
No
No
No
No
Yes
No
No

Yes

3
No


example.com
example.com
No
Yes
Yes
No
7200
No
no
no
3600
Normal


2147483647

None
username-1
username-1
secret
Yes
username-1

yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
No

G711u
Unspecified
Unspecified
No
Yes
No
Yes
medium
Yes
Yes
Yes
Yes
G711u
Yes
Yes
Yes
ReINVITE
Yes
No
Auto
Yes
Strict
70
Yes
None
1
Yes
caller or callee
No
Yes
(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

5000
Forward
Forward
Forward
Yes
No
30

no
yes
$NOTIFY
$PROXY
0x68
3
0xb8
6
high
Yes
UDP
No

No

Yes
No
none
0
No
4
0
0
No
No
No
No
Yes
No
No

Yes

3
No


example.com
example.com
No
Yes
Yes
No
7200
No
NO
NO
3600
Normal


2147483647

None
username-2
username-2
secret
Yes
username-2

yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
G711u
Unspecified
Unspecified
No
Yes
No
Yes
medium
Yes
Yes
Yes
Yes
G711u
Yes
Yes
Yes
ReINVITE
Yes
No
Auto
Yes
Strict
70
Yes
None
1
Yes
caller or callee
No
Yes
(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

5000
Forward
Forward
Forward
No


20




























Yes
No
No
No
Yes
Yes
Yes
No
No
automatic
source
media








1
1
8
7
0
0
New VM Available
0
No
No


20




























Yes
No
No
No
Yes
Yes
Yes
No
No
automatic
source
media








1
1
8
7
0
0
New VM Available
0
No
350@-19,440@-19;10(*/0/1+2)
420@-19,520@-19;10(*/0/1+2)
420@-16;10(*/0/1)
520@-19,620@-19;10(*/0/1+2)
480@-19,620@-19;10(.5/.5/1+2)
480@-19,620@-19;10(.25/.25/1+2)
480@-10,620@0;10(.125/.125/1+2)
440@-19,480@-19;*(2/4/1+2)
440@-19,480@-19;*(1/1/1+2)
600@-16;1(.25/.25/1)

985@-16,1428@-16,1777@-16;20(.380/0/1,.380/0/2,.380/0/3,0/4/0)


914@-16,1371@-16,1777@-16;20(.274/0/1,.274/0/2,.380/0/3,0/4/0)


914@-16,1371@-16,1777@-16;20(.380/0/1,.380/0/2,.380/0/3,0/4/0)


985@-16,1371@-16,1777@-16;20(.380/0/1,.274/0/2,.380/0/3,0/4/0)

350@-19,440@-19;2(.1/.1/1+2);10(*/0/1+2)
350@-19,440@-19;2(.2/.2/1+2);10(*/0/1+2)
600@-19;*(.1/.1/1,.1/.1/1,.1/9.5/1)
350@-19;20(.1/.1/1,.1/9.7/1)
397@-19,507@-19;15(0/2/0,.2/.1/1,.1/2.1/2)
350@-16;*(.1/.1/1)
60(2/4)
60(.8/.4,.8/4)
60(.4/.2,.4/.2,.8/4)
60(.3/.2,1/.2,.3/4)
1(.5/.5)
60(.2/.4,.2/.4,.2/4)
60(.4/.2,.4/.2,.4/4)
60(0.25/9.75)
30(.3/9.7)
30(.1/.1, .1/9.7)
30(.1/.1, .1/.1, .1/9.7)
30(.1/.1,.3/.1,.1/9.3)
1(.5/.5)
30(.1/.1,.3/.2,.3/9.1)
30(.3/.1,.3/.1,.1/9.1)
2.3(.3/2)
Bellcore-r1
Bellcore-r2
Bellcore-r3
Bellcore-r4
Bellcore-r5
Bellcore-r6
Bellcore-r7
Bellcore-r8
Trapezoid
20
85
440@-10
No
.1
.9
0
5
1800
30
.5
0
10
3
2
.5
*69
*07
*98
*66
*86
*05
*72
*73
*90
*91
*92
*93
*63
*83
*60
*80
*64
*84
*56
*57
*71
*70
*67
*68
*81
*82
*77
*87
*78
*79
*65
*85
*25
*45
*26
*46
*74
*96
*16
*17
*18
*19


*99
#99
*03




*017110
*027110
*017111
*027111
*0172632
*0272632
*01729
*02729
*01722
*02722


GMT-07:00
600
-3
-3
-16
.1
Yes
Yes
Bellcore(N.Amer,China)
bell 202
Default
No
No


dh
0
0
0.0.0.0:0.0.0.0:0.0.0.0
0
0



0:5:30
0
0


1
auto


0



username




0
1


0
0.0.0.0/0.0.0.0
public
private
0
v3rwuser
MD5
1111111111
DES
1111111111


-08 1 1
1
auto

3600
0
1



0
10000




0
0.0.0.0

1

1
0

1


1
1
1


1
0
1
0
1
1
0.0.0.0 0
80


0





2 thoughts on - Spa112 Can’t Get Line 2 To Register

  • I’ve got SPA112’s sitting behind NAT’s for fax use. I left the SPA’s on the default config on the latest firmware (1.4.0), then just used the quick setup to configure it.

    For the extension definition I just specified rport,comedia (or nat=yes on older setups). Works great.

    —–Original Message—

  • Did you try to configure it (one of them) by hand first?

    one thing I am not seeing in this file is Line 1 and Line 2 SIP Port
    (unless it’s assumed default 5060 and 5061).

    Do you tell your Asterisk what the other Line (2) signalling port is (extension settings?)

    How many of them are behind one NAT device?

    To how many public/external IP’s are you NATing them (do you use 1 ATA per ext IP, or more?)

    Kind Regards

    el es