[asterisk-bugs] [Asterisk 0011245]: Asterisk unable to handle Multple Authorization Headers

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Dec 1 14:39:39 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11245 
====================================================================== 
Reported By:                MrTelephone
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11245
Category:                   Channels/chan_sip/Registration
Reproducibility:            sometimes
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:            1.2.24  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-14-2007 12:11 CST
Last Modified:              12-01-2007 14:39 CST
====================================================================== 
Summary:                    Asterisk unable to handle Multple Authorization
Headers
Description: 
U 10.1.3.65:5060 -> 69.71.79.175:5060
REGISTER sip:sip.picriverisp.net SIP/2.0.
From:
2293699<sip:2293699 at sip.picriverisp.net>;tag=94af8fe8-a010341-13c4-45026-35-10986656-35.
To: 2293699<sip:2293699 at sip.picriverisp.net>.
Call-ID: 94af2570-a010341-13c4-45026-35-309b2630-35.
CSeq: 8626 REGISTER.
Via: SIP/2.0/UDP 10.1.3.65:5060;branch=z9hG4bK-4ea53-13335721-7b40596a.
Max-Forwards: 70.
Supported: timer,replaces,join,100rel.
User-Agent: ARRIS-TM502G release v.05.02.0X SN/0015A37D20F6.
Contact: 2293699<sip:2293699 at 10.1.3.65:5060>.
Authorization: Digest
username="2293699",realm="sip.picriverisp.net",nonce="6c3d3a9c",uri="sip:sip.picriverisp.net",response
Authorization: Digest
username="2293699",realm="sip.picriverisp.net",nonce="38305d6d",uri="sip:sip.picriverisp.net",response
Authorization: Digest
username="2293699",realm="sip.picriverisp.net",nonce="284031de",uri="sip:sip.picriverisp.net",response
Authorization: Digest
username="2293699",realm="sip.picriverisp.net",nonce="7333cfa5",uri="sip:sip.picriverisp.net",response
Authorization: Digest
username="2293699",realm="sip.picriverisp.net",nonce="776ccacf",uri="sip:sip.picriverisp.net",response
Allow: INVITE,ACK,BYE,CANCEL,NOTIFY,PRACK,UPDATE,OPTIONS.
Content-Length: 0.
.

Arris sip endpoints under "unknown" conditions append Authorization
Headers during a register request when a new nonce is received from
asterisk. The newest Auth Header is added to the bottom. Other brand
endpoints work fine.

A workable fix could be to use the last Authorization header instead of
the first. 
====================================================================== 

---------------------------------------------------------------------- 
 MrTelephone - 12-01-07 14:39  
---------------------------------------------------------------------- 
I know its a client error. Every other ATA/Soft phone registers properly. I
can recreate the scenery by reloading asterisk at the time the modem
registers. It can't handle not having an ACK for the REGISTER message.
Still waiting on some feedback from Arris but I can see why the reseller
doesn't want to help. They want to sell me their $80k call agent instead of
fixing the real issue at hand. I posted a small patch that increases x
until the last authorization header is reached. Then it continues to the
original subroutine/loop. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-01-07 14:39  MrTelephone    Note Added: 0074635                          
======================================================================




More information about the asterisk-bugs mailing list