[asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Jaap Winius
Hi folks, Following an upgrade to Debian wheezy, I'm now running Asterisk 1.8.13.1. As opposed to Asterisk 1.6.2.9 that I ran with squeeze, this version can support IPv6. However, it seems that I can't get it to support both IPv4 and IPv6 at the same time. For example, if in sip.conf I set the

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Asghar Mohammad
please see, http://lists.digium.com/pipermail/asterisk-users/2013-March/278130.html On Thu, Mar 21, 2013 at 5:47 PM, Jaap Winius wrote: > Hi folks, > > Following an upgrade to Debian wheezy, I'm now running Asterisk 1.8.13.1. > As opposed to Asterisk 1.6.2.9 that I ran with squeeze, this versio

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Michael L. Young
- Original Message - > From: "Jaap Winius" > To: asterisk-users@lists.digium.com > Sent: Thursday, March 21, 2013 12:47:57 PM > Subject: [asterisk-users] Asterisk 1.8 and dual stack support > > Hi folks, > > Following an upgrade to Debian wheezy, I

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Rob van der Putten
Hi there Michael L. Young wrote: How are you determining that it is not listening on IPv4? bindaddr=:: should allow you to support dual stack. Which is the way it works with 1:1.8.11.1-1digium1~squeeze. I even use Asterisk as a RTP audio IPv4 <-> IPv6 proxy. Regards, Rob -- _

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Jaap Winius
On Thu, 21 Mar 2013 12:21:44 -0700, Michael L. Young wrote: > How are you determining that it is not listening on IPv4? > > bindaddr=:: should allow you to support dual stack. That's what I thought would happen. When I set bindaddr=:: and use 'netstat -lpn |grep 5060' it shows: udp6 0

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Asghar Mohammad
:) On Thu, Mar 21, 2013 at 10:27 PM, Jaap Winius wrote: > On Thu, 21 Mar 2013 12:21:44 -0700, Michael L. Young wrote: > > > How are you determining that it is not listening on IPv4? > > > > bindaddr=:: should allow you to support dual stack. > > That's what I thought would happen. When I set bin

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Michael L. Young
- Original Message - > From: "Jaap Winius" > To: asterisk-users@lists.digium.com > Sent: Thursday, March 21, 2013 5:27:37 PM > Subject: Re: [asterisk-users] Asterisk 1.8 and dual stack support > > That's what I thought would happen. When I set bindaddr

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-21 Thread Jaap Winius
On Thu, 21 Mar 2013 16:02:17 -0700, Michael L. Young wrote: > Let me try to understand this. With bindaddr set as "bindaddr=::", upon > starting Asterisk, you are fine and all your IPv4 peers connect > properly. Therefore, dual stack is working at this point. ... You minunderstand. When I start

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-22 Thread Jakob Hirsch
Jaap Winius, 21.03.2013 17:47: > support IPv6. However, it seems that I can't get it to support both IPv4 > and IPv6 at the same time. For example, if in sip.conf I set the bindaddr > variable to '::' it will only listen on IPv6 and none of my IPv4-only > friends and peers will be able to connec

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-22 Thread Rob van der Putten
Hi there Jakob Hirsch wrote: This is well explained here: http://serverfault.com/a/39561 In short: In Linux, binding to :: means bind to both ipv6 and ipv4. Setting /proc/sys/net/ipv6/bindv6only to 1 changes this behaviour, and Debian has this by default (since squeeze, AFAIK). On my Squeez

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-22 Thread Jaap Winius
On Fri, 22 Mar 2013 10:07:57 +0100, Jakob Hirsch wrote: > This is well explained here: http://serverfault.com/a/39561 Indeed, that's the solution! There is a file, called /etc/sysctl.d/bindv6only.conf, on my system that sets /proc/sys/net/ipv6/bindv6only to 1 and it's been there since June 201

Re: [asterisk-users] Asterisk 1.8 and dual stack support

2013-03-23 Thread Jaap Winius
On Sat, 23 Mar 2013 00:49:31 +, Jaap Winius wrote: > There is a file, called /etc/sysctl.d/bindv6only.conf, on my system that > sets /proc/sys/net/ipv6/bindv6only to 1 and it's been there since June > 2010 when I installed Debian squeeze on my server machine (while squeeze > was still in its t