[Asterisk-Users] IPv6 possible?

Ronald.vanderPol at rvdp.org Ronald.vanderPol at rvdp.org
Wed Apr 20 00:52:55 MST 2005


On Tue, Apr 19, 2005 at 16:44:58 +0100, Chris Hills wrote:

> Ronald Wiplinger wrote:
> 
> >I have IPv6 (via tunnel) available.
> >Is there a solution for IPv6 available?
> 
> 
> Hi Ronald
> 
> This is something I would like as well. Unfortunately there is no 
> support for IPv6 at present. Perhaps you could put in a bounty for it?

This was announced on the -dev list recently. I haven't looked at it.

-------------------------
Date: Tue, 5 Apr 2005 01:01:06 +0200
From: Mikael Magnusson <mikaelmagnusson at glocalnet.net>
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] IPv6

On Mon, Apr 04, 2005 at 09:37:40PM +0100, David Woodhouse wrote:
> On Sun, 2005-04-03 at 20:30 +0200, Mikael Magnusson wrote:
> > The patch will need a lot of testing, since it
> > modifies (almost) all networking code in Asterisk.
>
> As far as I can tell that needs doing anyway, because at the moment we
> don't even handle falling back to the second and subsequent A record,
> let alone falling back from AAAA to A records.
>
> How close are you to having something to share? Are you doing IAX2 while
> you're at it?
>

The experimental IPv6 patch can be downloaded from [1].

It adds IPv6 support to the manager interface and the SIP and IAX2 channels.

It may break the IPv4 support, since It will never use IPv4 when
communicating with servers that have AAAA records.

diffstat:
 Makefile                   |    3
 acl.c                      |  245 +++++++---- 
 channels/Makefile          |   16
 channels/chan_iax2.c       |  583 ++++++++++++++-------------
 channels/chan_sip.c        |  953 ++++++++++++++++++++++++++------------------
 channels/iax2-parser.c     |   36 +
 channels/iax2-parser.h     |    8
 include/asterisk/acl.h     |   23 -
 include/asterisk/manager.h |    3
 include/asterisk/net.h     |   90 ++++
 include/asterisk/rtp.h     |    9
 manager.c                  |   75 +--
 net.c                      |  960 +++++++++++++++++++++++++++++++++++++++++++++
 pbx/Makefile               |    4
 rtp.c                      |  376 +++++++++--------
 15 files changed, 2391 insertions(+), 993 deletions(-)

Use "bindaddr=[::0]" to enable both IPv4 and IPv6 support. And you
may not disable rtp checksums since UDP checksums are required for IPv6.

/Mikael

[1] http://www.hem.za.org/asterisk-ipv6_20050404-2.patch.gz
-------------------------

	rvdp



More information about the asterisk-users mailing list