Hello!
I found a problem with one of our providers. It looks like SIP Trunk stops re-registering after it receives
Forbidden - wrong password on authentication
I have asterisk version 1.4.38 and i have
registertimeout=20
registerattempts=0
Last I see of even trying to register is this
[code]<------------->
— (7 headers 0 lines) —
Really destroying SIP dialog ‘1892b50f548b631350c6215c2c583dff@XX.XX.XX.XX’ Method: OPTIONS
[Dec 20 09:21:15] NOTICE[4981]: chan_sip.c:8142 sip_reregister: – Re-registration for XXXXXX@XX.XX.XX.XX@XX.XX.XX.XX
[Dec 20 09:21:15] DEBUG[4981]: chan_sip.c:8379 transmit_register: >>> Re-using Auth data for XXXXXX@XX.XX.XX.XX@XX.XX.XX.XX
REGISTER 12 headers, 0 lines
Reliably Transmitting (no NAT) to XX.XX.XX.XX:5060:
REGISTER sip:XX.XX.XX.XX SIP/2.0
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK3cf2047e;rport
From: sip:XXXXXX@XX.XX.XX.XX;tag=as5a605847
To: sip:XXXXXX@XX.XX.XX.XX
Call-ID: 4abf4e6739c12afc0fec9e0a77103d06@127.0.0.1
CSeq: 749 REGISTER
User-Agent: CVX
Max-Forwards: 70
Authorization: Digest username=“XXXXXX”, realm=“xxx.xxx.xxx”, algorithm=MD5, uri=“sip:XX.XX.XX.XX”, nonce=“0250e2be0ee7fb307eebfb920e6fa540”, response=“50babec6edffef6a767c828181c492e0”, opaque="024f13e701c4121"
Expires: 600
Contact: sip:XXXXXX@XX.XX.XX.XX
Event: registration
Content-Length: 0
<— SIP read from XX.XX.XX.XX:5060 —>
SIP/2.0 100 Trying
Call-ID: 4abf4e6739c12afc0fec9e0a77103d06@127.0.0.1
CSeq: 749 REGISTER
From: sip:XXXXXX@XX.XX.XX.XX;tag=as5a605847
To: sip:XXXXXX@XX.XX.XX.XX
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;received=XX.XX.XX.XX;rport=5060;branch=z9hG4bK3cf2047e
Content-Length: 0
<------------->
— (7 headers 0 lines) —
<— SIP read from XX.XX.XX.XX:5060 —>
SIP/2.0 403 Forbidden
Call-ID: 4abf4e6739c12afc0fec9e0a77103d06@127.0.0.1
CSeq: 749 REGISTER
From: sip:XXXXXX@XX.XX.XX.XX;tag=as5a605847
To: sip:XXXXXX@XX.XX.XX.XX;tag=00-31532-0000132c-79e8bd576
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;received=XX.XX.XX.XX;rport=5060;branch=z9hG4bK3cf2047e
Content-Length: 0
<------------->
— (7 headers 0 lines) —
[Dec 20 09:21:15] WARNING[4981]: chan_sip.c:13618 handle_response_register: Forbidden - wrong password on authentication for REGISTER for ‘XXXXXX@XX.XX.XX.XX’ to 'XX.XX.XX.XX’
Really destroying SIP dialog ‘4abf4e6739c12afc0fec9e0a77103d06@127.0.0.1’ Method: REGISTER
Reliably Transmitting (no NAT) to XX.XX.XX.XX:5060:
OPTIONS sip:XX.XX.XX.XX SIP/2.0
Via: SIP/2.0/UDP XX.XX.XX.XX:5060;branch=z9hG4bK5cff07bf;rport
From: “unknown” sip:unknown@XX.XX.XX.XX;tag=as73d40ad3
To: sip:XX.XX.XX.XX
Contact: sip:unknown@XX.XX.XX.XX
Call-ID: 567c4456287d720c36e83dc119dafa28@XX.XX.XX.XX
CSeq: 102 OPTIONS
User-Agent: CVX
Max-Forwards: 70
Date: Mon, 20 Dec 2010 08:21:25 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0[/code]
Am I missing something or is this a BUG?
BR, Rudi