[asterisk-bugs] [Asterisk 0016543]: [patch] sin_family not set to AF_INET when running trunk on Solaris nevada
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Jan 10 21:26:29 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
Target Version: 1.4.30
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-10 21:26 CST
======================================================================
Summary: [patch] 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'"
======================================================================
----------------------------------------------------------------------
(0116426) crjw (reporter) - 2010-01-10 21:26
https://issues.asterisk.org/view.php?id=16543#c116426
----------------------------------------------------------------------
I have uploaded a patch that adds one line to main/rtp_engine.c
If somebody wishes, they can create a more extensive patch, but in my
case, this one-line fix was enough to make RTP work correctly.
Without the patch, Asterisk runs without crashing, but it is impossible to
make phone calls.
I only tested the patch on Solaris nevada build 129.
I did not test on Linux (which does not need the patch), but I can not
imagine that this patch could possibly break anything.
Issue History
Date Modified Username Field Change
======================================================================
2010-01-10 21:26 crjw Note Added: 0116426
======================================================================
More information about the asterisk-bugs
mailing list