Since Asterisk 12, IPv6 is supported by the most commonly used components of Asterisk which support IP based communication. This includes the latest SIP channel driver chan_pjsip as well as the older chan_sip. IPv6 support may be spotty before Asterisk 12. For sufficient IPv6 support it is recommended that you upgrade to Asterisk 13 or greater.
Fortunately, the configuration is easy and most things will simply work. For channel technologies such as chan_pjsip, chan_sip or chan_iax2 the IPv6 support must be configured in the channel's configuration file. (i.e. pjsip.conf, sip.conf or iax.conf). In each configuration file there are typically options referring to a general bind address or specific TCP or UDP bind addresses. Other than configuring those options to bind to IPv6 interfaces there should be few other options needed. The documentation or configuration samples for each driver should make this clear.
Links to specific instructions:
- Configuring res_pjsip for IPv6
- Configuring chan_sip for IPv6
- Configuring IAX for IPv6
- Configuring ACLs for IPv6
At the time of writing, DUNDi does not support IPv6.