[asterisk-bugs] [Asterisk 0018277]: [patch] Use ast_sockaddr_stringify_fmt wrappers for sip show peers
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Nov 8 12:52:40 CST 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=18277
======================================================================
Reported By: elguero
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18277
Category: Channels/chan_sip/General
Reproducibility: N/A
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-11-08 12:51 CST
Last Modified: 2010-11-08 12:52 CST
======================================================================
Summary: [patch] Use ast_sockaddr_stringify_fmt wrappers for
sip show peers
Description:
While trying to track something down in chan_sip and in going through the
latest revisions, I saw the patch for issue
https://issues.asterisk.org/view.php?id=18248 adjusted the display of
_sip_show_peers by using ast_sockaddr_stringify_fmt.
I have created a patch which uses the wrappers for
ast_sockaddr_stringify_fmt instead of calling the function directly. The
reason for doing this was to make the code a little bit clearer by
simplifying it.
At the same time, I saw a couple of other places that would benefit from
using the wrappers in netsock2 since it will properly handle IPv4 or IPv6.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-11-08 12:52 elguero Summary Use
ast_sockaddr_stringify_fmt wrappers for sip show peers => [patch] Use
ast_sockaddr_stringify_fmt wrappers for sip show peers
======================================================================
More information about the asterisk-bugs
mailing list