[asterisk-bugs] [Asterisk 0015827]: [patch] dnsmgr: problem handling A and SRV record changes/problem with multiple A/SRV records returned

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 19 15:13:21 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15827 
====================================================================== 
Reported By:                DennisD
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15827
Category:                   Core/Netsock
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-835 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-03 15:54 CDT
Last Modified:              2010-02-19 15:13 CST
====================================================================== 
Summary:                    [patch] dnsmgr: problem handling A and SRV record
changes/problem with multiple A/SRV records returned
Description: 
This ONLY happens with callcentric and only after Asterisk is up for a few
hours:

[2009-09-03 16:28:01.487] DEBUG[6851] devicestate.c: device
'SIP/callcentric' state '6'
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: ** Our capability: 0x4
(ulaw) Video flag: False Text flag: False
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: ** Our prefcodec: 0x4
(ulaw) 
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: -- Done with adding
codecs to SDP
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: Done building SDP.
Settling with this capability: 0x4 (ulaw)
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: Initializing initreq
for method INVITE - callid 6e3807ab0e1b8f406ae186e8110e9606 at dennisd.com
[2009-09-03 16:28:01.488] DEBUG[10700] chan_sip.c: Trying to put 'INVITE
sip' onto UDP socket destined for 204.11.192.39:5060
[2009-09-03 16:28:01.488] WARNING[10700] chan_sip.c: sip_xmit of 0x2844f90
(len 943) to 204.11.192.39:5060 returned -1: Address family not supported
by protocol
[2009-09-03 16:28:01.488] VERBOSE[10700] app_dial.c:     -- Called
15869091150 at callcentric
[2009-09-03 16:28:02.488] DEBUG[8281] chan_sip.c: ** SIP timers:
Rescheduling retransmission 2 to 1000 ms (t1 500 ms (Retrans id
https://issues.asterisk.org/view.php?id=19577)) 
[2009-09-03 16:28:02.488] DEBUG[8281] chan_sip.c: Trying to put 'INVITE
sip' onto UDP socket destined for 204.11.192.39:5060
[2009-09-03 16:28:02.488] WARNING[8281] chan_sip.c: sip_xmit of 0x2844f90
(len 943) to 204.11.192.39:5060 returned -1: Address family not supported
by protocol
[2009-09-03 16:28:03.488] DEBUG[8281] chan_sip.c: ** SIP timers:
Rescheduling retransmission 3 to 2000 ms (t1 500 ms (Retrans id
https://issues.asterisk.org/view.php?id=19577)) 
[2009-09-03 16:28:03.488] DEBUG[8281] chan_sip.c: Trying to put 'INVITE
sip' onto UDP socket destined for 204.11.192.39:5060
[2009-09-03 16:28:03.488] WARNING[8281] chan_sip.c: sip_xmit of 0x2844f90
(len 943) to 204.11.192.39:5060 returned -1: Address family not supported
by protocol
[2009-09-03 16:28:05.488] DEBUG[8281] chan_sip.c: ** SIP timers:
Rescheduling retransmission 4 to 4000 ms (t1 500 ms (Retrans id
https://issues.asterisk.org/view.php?id=19577)) 
[2009-09-03 16:28:05.488] DEBUG[8281] chan_sip.c: Trying to put 'INVITE
sip' onto UDP socket destined for 204.11.192.39:5060
[2009-09-03 16:28:05.488] WARNING[8281] chan_sip.c: sip_xmit of 0x2844f90
(len 943) to 204.11.192.39:5060 returned -1: Address family not supported
by protocol
[2009-09-03 16:28:09.488] DEBUG[8281] chan_sip.c: ** SIP timers:
Rescheduling retransmission 5 to 8000 ms (t1 500 ms (Retrans id
https://issues.asterisk.org/view.php?id=19577)) 
[2009-09-03 16:28:09.488] DEBUG[8281] chan_sip.c: Trying to put 'INVITE
sip' onto UDP socket destined for 204.11.192.39:5060
[2009-09-03 16:28:09.488] WARNING[8281] chan_sip.c: sip_xmit of 0x2844f90
(len 943) to 204.11.192.39:5060 returned -1: Address family not supported
by protocol
[2009-09-03 16:28:11.129] DEBUG[8281] chan_sip.c: Auto destroying SIP
dialog '64357d2a-d82cc7ab at 127.0.0.1'
[2009-09-03 16:28:11.129] DEBUG[8281] chan_sip.c: Destroying SIP dialog
64357d2a-d82cc7ab at 127.0.0.1
[2009-09-03 16:28:17.094] DEBUG[8281] acl.c: Found IP address for this
socket



====================================================================== 

---------------------------------------------------------------------- 
 (0118301) DennisD (reporter) - 2010-02-19 15:13
 https://issues.asterisk.org/view.php?id=15827#c118301 
---------------------------------------------------------------------- 
I applied the patch to 1.6.2.3-rc2, although patch REALLY didn't want to
apply the dnsmgr.c changes for some reason, so I applied them by hand.  I
don't see why it didn't want to apply them as the line numbers were right
and everything looked the same to me.  The other two files patched just
fine.

It's only been running for about 3 hours with the patches, but I haven't
seen any problems, yet (and I definitely would have seen problems by now
without the patches if I didn't have callcentric.com hard coded in my local
DNS - I took out the hardcoded address for this test).

I'll let you know if I see any problems. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-19 15:13 DennisD        Note Added: 0118301                          
======================================================================




More information about the asterisk-bugs mailing list