- Joined
- Nov 21, 2018
- Messages
- 7
- Reaction score
- 0
Hello,
This is the second time over a period of one month that I am experiencing periods of authentication reject messages while registering to a DIDLogic SIP trunk we are using and the reason for that is same nonces in register messages sent to trunk provider. The problem is that the SIP provider is sending a 200 OK message for the first and second registration attempt and after 108 seconds that the next registration attempt is made, it is still with the same nonce as the previous and the provider obviously rejects it and causes the trunk to intermittently go offline.
below are the three requests and responses that I captured:
I have contacted DIDLogic regarding this and I think they are now accompanying with accepting more than one similar nonces but 3CX just does not stop using the same nonce until it receives a reject message and a new nonce...
Please help me get past this bug.
Thanks,
This is the second time over a period of one month that I am experiencing periods of authentication reject messages while registering to a DIDLogic SIP trunk we are using and the reason for that is same nonces in register messages sent to trunk provider. The problem is that the SIP provider is sending a 200 OK message for the first and second registration attempt and after 108 seconds that the next registration attempt is made, it is still with the same nonce as the previous and the provider obviously rejects it and causes the trunk to intermittently go offline.
below are the three requests and responses that I captured:
Code:
2018-11-21 14:19:51 -0600 : 192.168.xx.xx:5060 -> 206.191.159.247:5060
REGISTER sip:sip.nyc.didlogic.net:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---276f913231489e10;rport Max-Forwards: 70 Contact: <sip:[email protected]:5060;rinstance=cd3db630fa0809ea> To: <sip:[email protected]:5060> From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1664 REGISTER Expires: 120 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE Supported: replaces, timer User-Agent: 3CXPhoneSystem 15.5.15502.6 (15502) Authorization: Digest username="xxxxx",realm="sip.nyc.didlogic.net",nonce="W/W+p1v1vXtWhaB285OsPes3xWxLrTJ9IG5cSIA=",uri="sip:sip.nyc.didlogic.net:5060",response="2f38e6dfef60ec5b4bd436d7047c5769",cnonce="cc3ae743d10f0b362c62c0a50a1f0cb4",nc=00000002,qop=auth,algorithm=MD5 Content-Length: 0
Code:
2018-11-21 14:21:39 -0600 : 206.191.159.247:5060 -> 192.168.xx.xx:5060
SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---a706c1035a4e6730;rport=5060;received=xx.xx.xx.xx To: <sip:[email protected]:5060>;tag=b27e1a1d33761e85846fc98f5f3a7e58.534f From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1665 REGISTER Contact: <sip:[email protected]:5060;rinstance=cd3db630fa0809ea>;expires=120;received="sip:xx.xx.xx.xx:5060" Content-Length: 0
Code:
2018-11-21 14:21:39 -0600 : 192.168.xx.xx:5060 -> 206.191.159.247:5060
REGISTER sip:sip.nyc.didlogic.net:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---a706c1035a4e6730;rport Max-Forwards: 70 Contact: <sip:[email protected]:5060;rinstance=cd3db630fa0809ea> To: <sip:[email protected]:5060> From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1665 REGISTER Expires: 120 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE Supported: replaces, timer User-Agent: 3CXPhoneSystem 15.5.15502.6 (15502) Authorization: Digest username="xxxxx",realm="sip.nyc.didlogic.net",nonce="W/W+p1v1vXtWhaB285OsPes3xWxLrTJ9IG5cSIA=",uri="sip:sip.nyc.didlogic.net:5060",response="4c3b9f2874674672e5ff37adbf8625f7",cnonce="0f100eb935aa29aa58260dbc85b35efe",nc=00000003,qop=auth,algorithm=MD5 Content-Length: 0
Code:
2018-11-21 14:21:39 -0600 : 206.191.159.247:5060 -> 192.168.xx.xx:5060
SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---a706c1035a4e6730;rport=5060;received=xx.xx.xx.xx To: <sip:[email protected]:5060>;tag=b27e1a1d33761e85846fc98f5f3a7e58.534f From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1665 REGISTER Contact: <sip:[email protected]:5060;rinstance=cd3db630fa0809ea>;expires=120;received="sip:xx.xx.xx.xx:5060" Content-Length: 0
Code:
2018-11-21 14:23:27 -0600 : 192.168.xx.xx:5060 -> 206.191.159.247:5060
REGISTER sip:sip.nyc.didlogic.net:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---b3b25a6073330a3b;rport Max-Forwards: 70 Contact: <sip:[email protected]:5060;rinstance=cd3db630fa0809ea> To: <sip:[email protected]:5060> From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1666 REGISTER Expires: 120 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE Supported: replaces, timer User-Agent: 3CXPhoneSystem 15.5.15502.6 (15502) Authorization: Digest username="xxxxx",realm="sip.nyc.didlogic.net",nonce="W/W+p1v1vXtWhaB285OsPes3xWxLrTJ9IG5cSIA=",uri="sip:sip.nyc.didlogic.net:5060",response="605b6074e203e2631adaccee49f53dbd",cnonce="8d0da32f48bf2efc43652734184c61b8",nc=00000004,qop=auth,algorithm=MD5 Content-Length: 0
Code:
2018-11-21 14:23:27 -0600 : 206.191.159.247:5060 -> 192.168.xx.xx:5060
SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.xx.xx:5060;branch=z9hG4bK-524287-1---b3b25a6073330a3b;rport=5060;received=xx.xx.xx.xx To: <sip:[email protected]:5060>;tag=b27e1a1d33761e85846fc98f5f3a7e58.29c8 From: <sip:[email protected]:5060>;tag=c1f4556b Call-ID: FVA7-prJh05gvGStXAjk7Q.. CSeq: 1666 REGISTER WWW-Authenticate: Digest realm="sip.nyc.didlogic.net", nonce="W/W/61v1vr/SRidWzsDW9/gii4uTP4K0IHYM8YA=", qop="auth" Content-Length: 0
I have contacted DIDLogic regarding this and I think they are now accompanying with accepting more than one similar nonces but 3CX just does not stop using the same nonce until it receives a reject message and a new nonce...
Please help me get past this bug.
Thanks,