[asterisk-bugs] [Asterisk 0016543]: sin_family not set to AF_INET when running trunk on Solaris nevada

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 6 04:49:30 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16543 
====================================================================== 
Reported By:                crjw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16543
Category:                   Core/RTP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-628 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 237213M 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-05 00:19 CST
Last Modified:              2010-01-06 04:49 CST
====================================================================== 
Summary:                    sin_family not set to AF_INET when running trunk on
Solaris nevada
Description: 
Dialing from any phone fails because sin_family is set to 0 instead of 2
for the RTP traffic.
Asterisk logs the following error:
"res_rtp_asterisk.c:437 ast_rtp_new: Oh dear... we couldn't allocate a
port for RTP instance '827de88'"

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

---------------------------------------------------------------------- 
 (0116109) snuffy (manager) - 2010-01-06 04:49
 https://issues.asterisk.org/view.php?id=16543#c116109 
---------------------------------------------------------------------- 
After looking through the code there are quite a few places this occurs.

Noting that generally ast_rtp_instance_get_remote_address() is called most
times and checks that its not AF_NET sin_family.

Maybe someone else could comment. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-06 04:49 snuffy         Note Added: 0116109                          
======================================================================




More information about the asterisk-bugs mailing list