Bare with me I’m by no means a Guru but here it goes. I have a pbx I have been taking care of for some time, there are 2 remote extensions on this PBX that up until Monday were working with no issue. Now suddenly all remote extensions register then immediately become unreachable. Here is a tcpdump showing what happens when I re-register my “remote” extension.
08:37:54.520773 IP cpe----31.columbus.res.rr.com.sip > 192.168.20.2.sip: SIP, length: 734
E…@.0…b.D…REGISTER sip:192.168.20.2:5060 SIP/2.0
Via: SIP/2.0/UDP ...31:5060;branch=z9hG4bK1037135263
From: “Phone Service” ;tag=1513167062
To: "Phone Service"
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact:
Authorization: Digest username=“300”, realm=“asterisk”, nonce=“4887147e”, uri=“sip:..*.113:5060”, response=“3a958eaa3438cd8e017e000de7395f8c”, algorithm=MD5
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T48G 35.80.0.130
Expires: 0
Allow-Events: talk,hold,conference,refer,check-sync
Content-Length: 0
08:37:54.521175 IP 192.168.20.2.sip > cpe----31.columbus.res.rr.com.sip: SIP, length: 543
E…;0…@…(…b.D…’} SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP ...31:5060;branch=z9hG4bK1037135263;received=..*.31;rport=5060
From: “Phone Service” ;tag=1513167062
To: “Phone Service” ;tag=as588f20e7
Call-ID: [email protected]
CSeq: 3 REGISTER
Server: Asterisk PBX 13.10.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7a3cdb6c"
Content-Length: 0
Now for the brain killer, the remote extensions can call out, access voicemail, basically anything outgoing. But inbound calls, Voicemail notifications do not work, phone does not ring. Now if I turn off qualify in the extension settings the phone will ring but if you answer the calling party continues to ring. Eventually you get an Re transmission time out in the asterisk log. I’ve tried everything including disabling the firewall on the box. My biggest battle is that the box is behind a mikrotik with all ports forwarded to the pbx and then another hosts gateway that has specific ports forwarded.
Forwarded ports at the second host gateway.
21 (tcp)
22 (tcp)
25 (tcp)
80 (tcp)
443 (tcp)
2727 (tcp - udp)
5060 (tcp - udp)
5061 (tcp - udp)
10000 - 20000 (tcp - udp)
The pbx in question is
FreePBX 13.0.167
PBX Firmware: 10.13.66-14
with all available updates installed as of this morning Friday 08/11 @ 9:04am
Any help or thoughts will be most appreciated.