I have an Aastra 480i set up here with a primary and secondary proxy:
local.cfg:
sip registrar ip: 192.168.50.5
sip registrar port: 5060
sip backup registrar ip: 192.168.50.1
sip backup registrar port: 5060
I stop asterisk on the primary, and watch the SIP messages go by via
syslog, it fails 3 times, and then tries the backup. The backup says '401
Unauthorized', and rather than responding with credentials, the Aastra
gives up!
Am I missing a setting?
Here's an example of the dialog:
Mar 24 15:36:10 192.168.50.169 09/3/24 15:36:10.24 0 CSipEngine.cpp:4758
=====OUT=====>>>>>>>>>>192.168.50.169: Sending SIP packet to:
192.168.50.1:5060
REGISTER sip:192.168.50.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.50.169;branch=z9hG4bK45dcbb99a
Max-Forwards: 70
Content-Length: 0
To: user-001 <sip:[email protected]:5060>
From: user-001 <sip:[email protected]:5060>;tag=8e36719c23700d6
Call-ID: [email protected]
CSeq: 1335153520 REGISTER
Contact: user-001 <sip:[email protected];transport=udp>;expires=3600
Allow-Events: talk,hold,conference
Allow:NOTIFY,REFER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO
Expires: 3600
User-Agent: Aastra 480i/1.4.2.3000 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
=====OUT=====>>>>>>>>>>END SIP packet
mac:00-08-5D-03-D6-50
Mar 24 15:36:10 192.168.50.169 09/3/24 15:36:10.25 0 CSipEngine.cpp:4758
<<<<<<<<<<=====IN=====192.168.50.169: Received SIP packet from:
192.168.50.1:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.50.169;branch=z9hG4bK45dcbb99a;received=192.168.50.169
From: user-001 <sip:[email protected]:5060>;tag=8e36719c23700d6
To: user-001 <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 1335153520 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Length: 0
<<<<<<<<<<=====IN=====END SIP packet
mac:00-08-5D-03-D6-50
Mar 24 15:36:10 192.168.50.169 09/3/24 15:36:10.27 0 CSipEngine.cpp:4758
<<<<<<<<<<=====IN=====192.168.50.169: Received SIP packet from:
192.168.50.1:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.50.169;branch=z9hG4bK45dcbb99a;received=192.168.50.169
From: user-001 <sip:[email protected]:5060>;tag=8e36719c23700d6
To: user-001 <sip:[email protected]:5060>;tag=as5f85f2c5
Call-ID: [email protected]
CSeq: 1335153520 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2c72d17a"
Content-Length: 0
<<<<<<<<<<=====IN=====END SIP packet
mac:00-08-5D-03-D6-50
--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so. -- Mark Twain
|
| Network: http://www.linkedin.com/in/spditner
| http://facebook.com/people/Simon-P-Ditner/776370031
| http://twitter.com/spditner
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]