- Joined
- Jan 3, 2007
- Messages
- 15
- Reaction score
- 0
Phone loops forever trying to register and being refused, just like the D-Link VoIP Gateway. 3CX appears to think the nonce used by the phone is stale, even though it just received it and replied immediately.
Repro:
Create extension
Number = 10
Id = 10
Password = 666
On DPH
Edit the Default SIP account
Phone Number = 10
Auth ID = 10
Auth Password = 666
SIP Domain = 192.168.1.1
Proxy Address = 192.168.1.1
No change to Advanced settings
Message exchange follows:
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342995 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342995 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="3CXPhoneSystem"
To: "10"<sip:[email protected]>;tag=6a46336b
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342995 REGISTER
Content-Length: 0
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="3CXPhoneSystem"
To: "10"<sip:[email protected]>;tag=6a46336b
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342995 REGISTER
Content-Length: 0
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342996 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Proxy-Authorization
igest response="1d73dfedc9691e5a3a7282b025aba9c5",username="10",realm="3CXPhoneSystem",nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,uri="sip:192.168.1.1"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342996 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Proxy-Authorization
igest response="1d73dfedc9691e5a3a7282b025aba9c5",username="10",realm="3CXPhoneSystem",nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,uri="sip:192.168.1.1"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="192.168.1.1",stale=true
To: "10"<sip:[email protected]>;tag=0617a41e
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342996 REGISTER
Content-Length: 0
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="192.168.1.1",stale=true
To: "10"<sip:[email protected]>;tag=0617a41e
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342996 REGISTER
Content-Length: 0
The same exchange continues forever.
Repro:
Create extension
Number = 10
Id = 10
Password = 666
On DPH
Edit the Default SIP account
Phone Number = 10
Auth ID = 10
Auth Password = 666
SIP Domain = 192.168.1.1
Proxy Address = 192.168.1.1
No change to Advanced settings
Message exchange follows:
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342995 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342995 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="3CXPhoneSystem"
To: "10"<sip:[email protected]>;tag=6a46336b
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342995 REGISTER
Content-Length: 0
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bK43dabe787
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="3CXPhoneSystem"
To: "10"<sip:[email protected]>;tag=6a46336b
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342995 REGISTER
Content-Length: 0
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342996 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Proxy-Authorization
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
REGISTER sip:192.168.1.1 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Call-ID: [email protected]
From: 10 <sip:[email protected]>;tag=6e874ea52370c44
To: 10 <sip:[email protected]>
CSeq: 1253342996 REGISTER
Contact: 10 <sip:[email protected]:5060>;expires=3600
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Proxy-Authorization
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="192.168.1.1",stale=true
To: "10"<sip:[email protected]>;tag=0617a41e
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342996 REGISTER
Content-Length: 0
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.11:5060;branch=z9hG4bKe7855201e
Proxy-Authenticate: Digest nonce="12813115818:e875932a2df2037ca1049bd765a80c26",algorithm=MD5,realm="192.168.1.1",stale=true
To: "10"<sip:[email protected]>;tag=0617a41e
From: "10"<sip:[email protected]>;tag=6e874ea52370c44
Call-ID: [email protected]
CSeq: 1253342996 REGISTER
Content-Length: 0
The same exchange continues forever.