[asterisk-bugs] [Asterisk 0012312]: DNS SRV lookups causing re-registration problems

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jun 26 10:16:49 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12312 
====================================================================== 
Reported By:                jrast
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   12312
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-26-2008 17:38 CDT
Last Modified:              06-26-2008 10:16 CDT
====================================================================== 
Summary:                    DNS SRV lookups causing re-registration problems
Description: 
SIP peer uses DNS SRV records which list multiple entries for
_sip._udp.domain.  

Asterisk is selecting one and successfully registering with it.  When
attempting to re-register, Asterisk is not selecting the same host. 
Instead it is ALWAYS selecting another host, sending seven SIP REGISTER
requests to it, then failing over to the next (correct) host, at which
point the re-register succeeds.  However, this process exceeds the
registration expiry and the registration is timing out on every
re-registration cycle.

Peer in question is callcentric.com.
====================================================================== 

---------------------------------------------------------------------- 
 oej - 06-26-08 10:16  
---------------------------------------------------------------------- 
Bbryant: Can you please explain this comment, I don't understand what
you're doing here:

/* when a 400 type response is sent that doesn't
+	 * mean an unauthorized response that could be to an 
+	 * initial registration, set a flag on the registration 
+	 * structure to look for a new srv record from dns ...
+	 */ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-26-08 10:16  oej            Note Added: 0089281                          
======================================================================




More information about the asterisk-bugs mailing list