[asterisk-bugs] [Asterisk 0019000]: DNS SRV - does not work

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 1 13:25:38 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19000 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19000
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.16.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-21 04:41 CDT
Last Modified:              2011-04-01 13:25 CDT
====================================================================== 
Summary:                    DNS SRV - does not work
Description: 
SRV's does not work properly.
I've disabled one of IP addresses of DNS SRV enabled peer on my router to
test the functionality. Unfortunately, the Asterisk does not automatically
switch to peer other IP address as IP phones does.
Beneath is the trace of connection:
 21.314976    10.0.4.12 -> 213.218.116.65 SIP Request: REGISTER
sip:sip.freeconet.pl
 21.315459     10.0.4.1 -> 10.0.4.12    ICMP Destination unreachable (Port
unreachable)
 21.611684    10.0.4.12 -> 213.218.116.65 SIP/SDP Request: INVITE
sip:+48587396000 at sip.freeconet.pl:5060, with session description
 21.612330     10.0.4.1 -> 10.0.4.12    ICMP Destination unreachable (Port
unreachable)
 23.610971    10.0.4.12 -> 213.218.116.65 SIP/SDP Request: INVITE
sip:+48587396000 at sip.freeconet.pl:5060, with session description
 23.611627     10.0.4.1 -> 10.0.4.12    ICMP Destination unreachable (Port
unreachable)
 25.319183    10.0.4.12 -> 213.218.116.65 SIP Request: REGISTER
sip:sip.freeconet.pl
 25.319663     10.0.4.1 -> 10.0.4.12    ICMP Destination unreachable (Port
unreachable)
 27.610967    10.0.4.12 -> 213.218.116.65 SIP/SDP Request: INVITE
sip:+48587396000 at sip.freeconet.pl:5060, with session description
 27.611508     10.0.4.1 -> 10.0.4.12    ICMP Destination unreachable (Port
unreachable)
 and so on...

I've attached the sip.conf configuration and my peer configuration.
====================================================================== 

---------------------------------------------------------------------- 
 (0133286) lmadsen (administrator) - 2011-04-01 13:25
 https://issues.asterisk.org/view.php?id=19000#c133286 
---------------------------------------------------------------------- 
Unless it has been changed recently, Asterisk will only return the first
record in an SRV lookup. That may actually be the issue here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-01 13:25 lmadsen        Note Added: 0133286                          
2011-04-01 13:25 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list