1. Brekeke Product Name and Version: V3
2. Java version:1.8V65
3. OS type and the version:Win7Pro
4. UA (phone), gateway or other hardware/software involved: Grandstream FXS gateway
5. Your problem: Was registering, now it isn't any more, and I can't find the reason.
SIP logs:
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:06.501
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
============================================
PreCheck [BloqueioUserAgent]
Pattern: $str.lowercase(User-Agent) = friendly-scanner|sundayddr|sipcli/v1.8|linphone/3.7.0 (belle-sip/1.3.0)
Input: $str.lowercase(User-Agent) = grandstream gxw4216 v2.3b 1.0.5.5
Result: false
============================================
============================================
Rule [VPN]
Pattern: $request = ^REGISTER
Input: $request = REGISTER sip:10.33.60.12 SIP/2.0
Result: true
Pattern: $addr = 189\.38\.253\.100
Input: $addr = 10.20.12.139
Result: false
============================================
============================================
Rule [Fritzbox]
Pattern: $request = ^REGISTER
Input: $request = REGISTER sip:10.33.60.12 SIP/2.0
Result: true
Pattern: Route = .+
Input: Route =
Result: false
============================================
============================================
Rule [registerex]
Pattern: $request = ^REGISTER
Input: $request = REGISTER sip:10.33.60.12 SIP/2.0
Result: true
Pattern: &net.registrar.upper.allow = NOT ( on|true )
Input: &net.registrar.upper.allow = off
Result: true
Pattern: $$.e = 5
Input: $$.e = 1
Result: false
============================================
============================================
Rule [register]
Pattern: $request = ^REGISTER
Input: $request = REGISTER sip:10.33.60.12 SIP/2.0
Result: true
============================================
management.287: start: register: from=sip:1701111@10.33.60.12 at 10/26/15 12:59:06.502
management.287: receive: at 10/26/15 12:59:06.502
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport=5060
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
register.287: processing: rule=register
register.287: recv: at 10/26/15 12:59:06.503
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport=5060
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
register.287: target=local
register.287: local: failed: send response=401
register.287: local: send: challenge: at 10/26/15 12:59:06.504
==============================================
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport=5060
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>;tag=bee8f9a14s
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Server: Brekeke SIP Server rev.424
WWW-Authenticate: Digest realm="189.38.253.100",nonce="12b8d03d532c4f54570346e5ab791bc6a448ffdf",algorithm=MD5
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:07.020
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:08.021
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:10.040
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:14.045
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:18.062
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
==============================================
svlistener: debug: remote=10.20.12.139:5060 at 10/26/15 12:59:22.062
==============================================
REGISTER sip:10.33.60.12 SIP/2.0
Via: SIP/2.0/UDP 10.20.12.139:5060;branch=z9hG4bK737029621;rport
From: "Analogico" <sip:1701111@10.33.60.12>;tag=1703514445
To: <sip:1701111@10.33.60.12>
Call-ID: 890602164-5060-2@BA.CA.BC.BDJ
CSeq: 2149 REGISTER
Contact: <sip:1701111@10.20.12.139:5060>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B825377BB>"
Max-Forwards: 70
User-Agent: Grandstream GXW4216 V2.3B 1.0.5.5
Supported: path
Expires: 3600
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
Can't register, but user/password are correct
Moderator: Brekeke Support Team
It seems Grandstream's issue. It might be a phone's bug.
As you can see, the phone doesn't put Authorization: or Proxy-Authorization: header in REGISTER.
It kept sending REGISTER with the same "CSeq: 2149 REGISTER" even though the SIP Server replied "401 Unauthorized" response.
Let you reboot the phone and also check the network stability.
As you can see, the phone doesn't put Authorization: or Proxy-Authorization: header in REGISTER.
It kept sending REGISTER with the same "CSeq: 2149 REGISTER" even though the SIP Server replied "401 Unauthorized" response.
Let you reboot the phone and also check the network stability.