I have a linksys spa3000 and I’m trying to get a sip trunk working with it in freepbx-13. The trunk will not work. The linksys is configured as ip 172.16.1.210 port 5060, freepbx is on 172.16.1.61 The error I get in the console is:
Host ‘172.16.1.210:5060’ does not implement 'REGISTER’
I’ve been carefully through the instructions at:
http://wiki.freepbx.org/pages/viewpage.action?pageId=55476525
and I’ve been trawling google but no luck so far.
This is a debug of the sip trunk:
REGISTER sip:172.16.1.210 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK191dde5f;rport
Max-Forwards: 70
From: <sip:[email protected]>;tag=as3a6031cd
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 178 REGISTER
User-Agent: FPBX-13.0.188.8(11.21.2)
Expires: 120
Contact: <sip:[email protected]:5060>
Content-Length: 0
---
[2016-10-12 08:51:57] NOTICE[29815] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #77)
[2016-10-12 08:51:57] VERBOSE[29815] chan_sip.c: Really destroying SIP dialog '[email protected]' Method: REGISTER
[2016-10-12 08:51:57] VERBOSE[29815] chan_sip.c:
<--- SIP read from UDP:172.16.1.210:5060 --->
SIP/2.0 501 Not Implemented
To: <sip:[email protected]>;tag=d260d6d8ee728a59i0
From: <sip:[email protected]>;tag=as3a6031cd
Call-ID: [email protected]
CSeq: 178 REGISTER
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK191dde5f
Server: Sipura/SPA3000-3.1.7(GWg)
Content-Length: 0
<------------->
[2016-10-12 08:51:57] VERBOSE[29815] chan_sip.c: --- (8 headers 0 lines) ---
[2016-10-12 08:51:57] WARNING[29815] chan_sip.c: Host '172.16.1.210:5060' does not implement 'REGISTER'
[2016-10-12 08:52:17] VERBOSE[29815] chan_sip.c: REGISTER 10 headers, 0 lines
[2016-10-12 08:52:17] VERBOSE[29815] chan_sip.c: Reliably Transmitting (NAT) to 172.16.1.210:5060:
REGISTER sip:172.16.1.210 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK3fad98f3;rport
Max-Forwards: 70
From: <sip:[email protected]>;tag=as3a6031cd
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 179 REGISTER
User-Agent: FPBX-13.0.188.8(11.21.2)
Expires: 120
Contact: <sip:[email protected]:5060>
Content-Length: 0
---
[2016-10-12 08:52:17] NOTICE[29815] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #78)
[2016-10-12 08:52:17] VERBOSE[29815] chan_sip.c: Really destroying SIP dialog '[email protected]' Method: REGISTER
[2016-10-12 08:52:17] VERBOSE[29815] chan_sip.c:
<--- SIP read from UDP:172.16.1.210:5060 --->
SIP/2.0 501 Not Implemented
To: <sip:[email protected]>;tag=d260d6d8ee728a59i0
From: <sip:[email protected]>;tag=as3a6031cd
Call-ID: [email protected]
CSeq: 179 REGISTER
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK3fad98f3
Server: Sipura/SPA3000-3.1.7(GWg)
Content-Length: 0
<------------->
[2016-10-12 08:52:17] VERBOSE[29815] chan_sip.c: --- (8 headers 0 lines) ---
[2016-10-12 08:52:17] WARNING[29815] chan_sip.c: Host '172.16.1.210:5060' does not implement 'REGISTER'
[2016-10-12 08:52:37] VERBOSE[29815] chan_sip.c: REGISTER 10 headers, 0 lines
[2016-10-12 08:52:37] VERBOSE[29815] chan_sip.c: Reliably Transmitting (NAT) to 172.16.1.210:5060:
REGISTER sip:172.16.1.210 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK55b3e9ec;rport
Max-Forwards: 70
From: <sip:[email protected]>;tag=as3a6031cd
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 180 REGISTER
User-Agent: FPBX-13.0.188.8(11.21.2)
Expires: 120
Contact: <sip:[email protected]:5060>
Content-Length: 0
[2016-10-12 08:52:37] NOTICE[29815] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #79)
[2016-10-12 08:52:37] VERBOSE[29815] chan_sip.c: Really destroying SIP dialog '[email protected]' Method: REGISTER
[2016-10-12 08:52:37] VERBOSE[29815] chan_sip.c:
<--- SIP read from UDP:172.16.1.210:5060 --->
SIP/2.0 501 Not Implemented
To: <sip:[email protected]>;tag=d260d6d8ee728a59i0
From: <sip:[email protected]>;tag=as3a6031cd
Call-ID: [email protected]
CSeq: 180 REGISTER
Via: SIP/2.0/UDP 172.16.1.61:5060;branch=z9hG4bK55b3e9ec
Server: Sipura/SPA3000-3.1.7(GWg)
Content-Length: 0
I see “501 Not Implemented” as the cause but I don’t know what it means. I don’t know whether the problem lies in the linksys settings or the freebox trunk settings.
Here is a screenshot of top half the linksys spa3000 PSTN-Line page using Advanced:
http://198.91.92.112/linksys1.jpg
here;s the bottom half:
http://198.91.92.112/linksys2.jpg
Here’s a screenshot of the freepbx-13 trunk outgoing sip settings:
http://198.91.92.112/outgoing.jpg
and here’s the sip incoming settings:
http://198.91.92.112/incoming.jpg
if anyone can spot where the problem is I’d be grateful, I’ve been on this for hours.