diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-07 21:21:49 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-07 21:21:49 +0000 |
commit | 7a21623e096a96b2e028b00bf0b39ab08b156c50 (patch) | |
tree | 8331880d7343e93f0b38c92f000a14e940299ea3 /channels/chan_sip.c | |
parent | 952fe91698db792b26dd4de59c4717adbcd369b0 (diff) |
Merged revisions 285369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r285369 | qwell | 2010-09-07 15:58:34 -0500 (Tue, 07 Sep 2010) | 7 lines
Add note to 'sip show settings' regarding dual-stack support, and a :: bindaddress.
(closes issue #17831)
Reported by: oej
Patches:
17831-v6wildcardbind.diff uploaded by qwell (license 4)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@285394 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e56f55126..658462a25 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16813,6 +16813,10 @@ static char *sip_show_settings(struct ast_cli_entry *e, int cmd, struct ast_cli_ ast_cli(a->fd, "\n\nGlobal Settings:\n"); ast_cli(a->fd, "----------------\n"); ast_cli(a->fd, " UDP Bindaddress: %s\n", ast_sockaddr_stringify(&bindaddr)); + if (ast_sockaddr_is_ipv6(&bindaddr) && ast_sockaddr_is_any(&bindaddr)) { + ast_cli(a->fd, " ** Additional Info:\n"); + ast_cli(a->fd, " [::] may include IPv4 in addition to IPv6, if such a feature is enabled in the OS.\n"); + } ast_cli(a->fd, " TCP SIP Bindaddress: %s\n", sip_cfg.tcp_enabled != FALSE ? ast_sockaddr_stringify(&sip_tcp_desc.local_address) : |