[asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Daniel van den Berg
Hi All,

This is my 1st post so lets go.

What I need to achieve is the following. I have server with both IPv4
addresses and IPv6 addresses. The problem that I am encountering is that
in the sip.conf I am having difficulties to bind to both the IPv4 and
IPv6 addresses.

Can someone please assist me in this regard as I need to connect another
server to this server on IPv6 while the rest of the clients are
connecting on IPv4.

I need to know how to get this working?

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Asghar Mohammad
Hi,
Please Search the List there is already a post and solution.



On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg aster...@suretel.co.za
 wrote:

 Hi All,

 This is my 1st post so lets go.

 What I need to achieve is the following. I have server with both IPv4
 addresses and IPv6 addresses. The problem that I am encountering is that
 in the sip.conf I am having difficulties to bind to both the IPv4 and
 IPv6 addresses.

 Can someone please assist me in this regard as I need to connect another
 server to this server on IPv6 while the rest of the clients are
 connecting on IPv4.

 I need to know how to get this working?

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Daniel van den Berg
Hi Asghar,

How do I search the site as I dont see a search bar anywhere...could you
please give me the link to the solution in the list or educate me on how
to search the site bar going through every thread one by one. :)

Thanks!

Regards,
On 09/27/2013 04:43 PM, Asghar Mohammad wrote:
 Hi,
 Please Search the List there is already a post and solution.



 On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg
 aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

 Hi All,

 This is my 1st post so lets go.

 What I need to achieve is the following. I have server with both IPv4
 addresses and IPv6 addresses. The problem that I am encountering
 is that
 in the sip.conf I am having difficulties to bind to both the IPv4 and
 IPv6 addresses.

 Can someone please assist me in this regard as I need to connect
 another
 server to this server on IPv6 while the rest of the clients are
 connecting on IPv4.

 I need to know how to get this working?

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Johan Wilfer

http://lists.digium.com/pipermail/asterisk-users/2013-March/278122.html

Google :-)

/J

2013-09-27 17:47, Daniel van den Berg skrev:

Hi Asghar,

How do I search the site as I dont see a search bar anywhere...could you
please give me the link to the solution in the list or educate me on how
to search the site bar going through every thread one by one. :)

Thanks!

Regards,
On 09/27/2013 04:43 PM, Asghar Mohammad wrote:

Hi,
Please Search the List there is already a post and solution.



On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg
aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

Hi All,

This is my 1st post so lets go.

What I need to achieve is the following. I have server with both IPv4
addresses and IPv6 addresses. The problem that I am encountering
is that
in the sip.conf I am having difficulties to bind to both the IPv4 and
IPv6 addresses.

Can someone please assist me in this regard as I need to connect
another
server to this server on IPv6 while the rest of the clients are
connecting on IPv4.

I need to know how to get this working?

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users










--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Daniel van den Berg
Hi All,

I dont really see a solution there to the problem, just that the matter
was discussed?

Can Asterisk or can it not listen for IPv4  IPv6 addresses at the same
time? I only see that there is mention that you must use the bindaddr=::
for it to listen for IPv4  IPv6 but when I do this my IPv4 connections
drops.

Thanks!

On 09/27/2013 05:59 PM, Johan Wilfer wrote:
 http://lists.digium.com/pipermail/asterisk-users/2013-March/278122.html

 Google :-)

 /J

 2013-09-27 17:47, Daniel van den Berg skrev:
 Hi Asghar,

 How do I search the site as I dont see a search bar anywhere...could you
 please give me the link to the solution in the list or educate me on how
 to search the site bar going through every thread one by one. :)

 Thanks!

 Regards,
 On 09/27/2013 04:43 PM, Asghar Mohammad wrote:
 Hi,
 Please Search the List there is already a post and solution.



 On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg
 aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

 Hi All,

 This is my 1st post so lets go.

 What I need to achieve is the following. I have server with both
 IPv4
 addresses and IPv6 addresses. The problem that I am encountering
 is that
 in the sip.conf I am having difficulties to bind to both the
 IPv4 and
 IPv6 addresses.

 Can someone please assist me in this regard as I need to connect
 another
 server to this server on IPv6 while the rest of the clients are
 connecting on IPv4.

 I need to know how to get this working?

 --

 _
 -- Bandwidth and Colocation Provided by
 http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every
 Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users










-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Eric Wieling

From sip.conf.sample included in your Asterisk source tree.  See item c) and 
the Note:

; With the current situation, you can do one of four things:
;  a) Listen on a specific IPv4 address.  Example: bindaddr=192.0.2.1
;  b) Listen on a specific IPv6 address.  Example: bindaddr=2001:db8::1
;  c) Listen on the IPv4 wildcard.Example: bindaddr=0.0.0.0
;  d) Listen on the IPv4 and IPv6 wildcards.  Example: bindaddr=::
; (You can choose independently for UDP, TCP, and TLS, by specifying different 
values for
; udpbindaddr, tcpbindaddr, and tlsbindaddr.)
; (Note that using bindaddr=:: will show only a single IPv6 socket in netstat.
;  IPv4 is supported at the same time using IPv4-mapped IPv6 addresses.)
;
; You may optionally add a port number. (The default is port 5060 for UDP and 
TCP, 5061
; for TLS).
;   IPv4 example: bindaddr=0.0.0.0:5062
;   IPv6 example: bindaddr=[::]:5062
;
; The address family of the bound UDP address is used to determine how Asterisk 
performs
; DNS lookups. In cases a) and c) above, only A records are considered. In case 
b), only
;  records are considered. In case d), both A and  records are 
considered. Note,
; however, that Asterisk ignores all records except the first one. In case d), 
when both A
; and  records are available, either an A or  record will be first, and 
which one
; depends on the operating system. On systems using glibc,  records are 
given
; priority.

udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to 
(0.0.0.0 binds to all)
; Optionally add a port number, 
192.168.1.1:5062 (default is port 5060)





-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Daniel van den 
Berg
Sent: Friday, September 27, 2013 12:18 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] How to bind to ipv4  ipv6

Hi All,

I dont really see a solution there to the problem, just that the matter was 
discussed?

Can Asterisk or can it not listen for IPv4  IPv6 addresses at the same time? I 
only see that there is mention that you must use the bindaddr=::
for it to listen for IPv4  IPv6 but when I do this my IPv4 connections drops.

Thanks!

On 09/27/2013 05:59 PM, Johan Wilfer wrote:
 http://lists.digium.com/pipermail/asterisk-users/2013-March/278122.htm
 l

 Google :-)

 /J

 2013-09-27 17:47, Daniel van den Berg skrev:
 Hi Asghar,

 How do I search the site as I dont see a search bar anywhere...could 
 you please give me the link to the solution in the list or educate me 
 on how to search the site bar going through every thread one by one. 
 :)

 Thanks!

 Regards,
 On 09/27/2013 04:43 PM, Asghar Mohammad wrote:
 Hi,
 Please Search the List there is already a post and solution.



 On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg 
 aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

 Hi All,

 This is my 1st post so lets go.

 What I need to achieve is the following. I have server with both
 IPv4
 addresses and IPv6 addresses. The problem that I am encountering
 is that
 in the sip.conf I am having difficulties to bind to both the
 IPv4 and
 IPv6 addresses.

 Can someone please assist me in this regard as I need to connect
 another
 server to this server on IPv6 while the rest of the clients are
 connecting on IPv4.

 I need to know how to get this working?

 --

 _
 -- Bandwidth and Colocation Provided by 
 http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every
 Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users










--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Bakko

This means i can't use IPv4 and IPv6 together.

Right?

El 27/09/2013 11:25, Eric Wieling escribió:

From sip.conf.sample included in your Asterisk source tree.  See item c) and 
the Note:

; With the current situation, you can do one of four things:
;  a) Listen on a specific IPv4 address.  Example: bindaddr=192.0.2.1
;  b) Listen on a specific IPv6 address.  Example: bindaddr=2001:db8::1
;  c) Listen on the IPv4 wildcard.Example: bindaddr=0.0.0.0
;  d) Listen on the IPv4 and IPv6 wildcards.  Example: bindaddr=::
; (You can choose independently for UDP, TCP, and TLS, by specifying different 
values for
; udpbindaddr, tcpbindaddr, and tlsbindaddr.)
; (Note that using bindaddr=:: will show only a single IPv6 socket in netstat.
;  IPv4 is supported at the same time using IPv4-mapped IPv6 addresses.)
;
; You may optionally add a port number. (The default is port 5060 for UDP and 
TCP, 5061
; for TLS).
;   IPv4 example: bindaddr=0.0.0.0:5062
;   IPv6 example: bindaddr=[::]:5062
;
; The address family of the bound UDP address is used to determine how Asterisk 
performs
; DNS lookups. In cases a) and c) above, only A records are considered. In case 
b), only
;  records are considered. In case d), both A and  records are 
considered. Note,
; however, that Asterisk ignores all records except the first one. In case d), 
when both A
; and  records are available, either an A or  record will be first, and 
which one
; depends on the operating system. On systems using glibc,  records are 
given
; priority.

udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to 
(0.0.0.0 binds to all)
 ; Optionally add a port number, 
192.168.1.1:5062 (default is port 5060)





-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Daniel van den 
Berg
Sent: Friday, September 27, 2013 12:18 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] How to bind to ipv4  ipv6

Hi All,

I dont really see a solution there to the problem, just that the matter was 
discussed?

Can Asterisk or can it not listen for IPv4  IPv6 addresses at the same time? I 
only see that there is mention that you must use the bindaddr=::
for it to listen for IPv4  IPv6 but when I do this my IPv4 connections drops.

Thanks!

On 09/27/2013 05:59 PM, Johan Wilfer wrote:

http://lists.digium.com/pipermail/asterisk-users/2013-March/278122.htm
l

Google :-)

/J

2013-09-27 17:47, Daniel van den Berg skrev:

Hi Asghar,

How do I search the site as I dont see a search bar anywhere...could
you please give me the link to the solution in the list or educate me
on how to search the site bar going through every thread one by one.
:)

Thanks!

Regards,
On 09/27/2013 04:43 PM, Asghar Mohammad wrote:

Hi,
Please Search the List there is already a post and solution.



On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg
aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

 Hi All,

 This is my 1st post so lets go.

 What I need to achieve is the following. I have server with both
IPv4
 addresses and IPv6 addresses. The problem that I am encountering
 is that
 in the sip.conf I am having difficulties to bind to both the
IPv4 and
 IPv6 addresses.

 Can someone please assist me in this regard as I need to connect
 another
 server to this server on IPv6 while the rest of the clients are
 connecting on IPv4.

 I need to know how to get this working?

 --

_

 -- Bandwidth and Colocation Provided by
http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every
Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users









--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] How to bind to ipv4 ipv6

2013-09-27 Thread Eric Wieling
Sorry, I meant item d) which says and I quote Listen on the IPv4 and IPv6 
wildcards.  Example: bindaddr=::  and Note that using bindaddr=:: will show 
only a single IPv6 socket in netstat. . IPv4 is supported at the same time 
using IPv4-mapped IPv6

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bakko
Sent: Friday, September 27, 2013 12:28 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to bind to ipv4  ipv6

This means i can't use IPv4 and IPv6 together.

Right?

El 27/09/2013 11:25, Eric Wieling escribió:
 From sip.conf.sample included in your Asterisk source tree.  See item c) and 
 the Note:

 ; With the current situation, you can do one of four things:
 ;  a) Listen on a specific IPv4 address.  Example: bindaddr=192.0.2.1
 ;  b) Listen on a specific IPv6 address.  Example: bindaddr=2001:db8::1
 ;  c) Listen on the IPv4 wildcard.Example: bindaddr=0.0.0.0
 ;  d) Listen on the IPv4 and IPv6 wildcards.  Example: bindaddr=::
 ; (You can choose independently for UDP, TCP, and TLS, by specifying 
 different values for ; udpbindaddr, tcpbindaddr, and 
 tlsbindaddr.) ; (Note that using bindaddr=:: will show only a single IPv6 
 socket in netstat.
 ;  IPv4 is supported at the same time using IPv4-mapped IPv6 
 addresses.) ; ; You may optionally add a port number. (The default is 
 port 5060 for UDP and TCP, 5061 ; for TLS).
 ;   IPv4 example: bindaddr=0.0.0.0:5062
 ;   IPv6 example: bindaddr=[::]:5062
 ;
 ; The address family of the bound UDP address is used to determine how 
 Asterisk performs ; DNS lookups. In cases a) and c) above, only A 
 records are considered. In case b), only ;  records are 
 considered. In case d), both A and  records are considered. Note, 
 ; however, that Asterisk ignores all records except the first one. In 
 case d), when both A ; and  records are available, either an A or 
  record will be first, and which one ; depends on the operating system. 
 On systems using glibc,  records are given ; priority.

 udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to 
 (0.0.0.0 binds to all)
  ; Optionally add a port number, 
 192.168.1.1:5062 (default is port 5060)





 -Original Message-
 From: asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Daniel 
 van den Berg
 Sent: Friday, September 27, 2013 12:18 PM
 To: asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] How to bind to ipv4  ipv6

 Hi All,

 I dont really see a solution there to the problem, just that the matter was 
 discussed?

 Can Asterisk or can it not listen for IPv4  IPv6 addresses at the same time? 
 I only see that there is mention that you must use the bindaddr=::
 for it to listen for IPv4  IPv6 but when I do this my IPv4 connections drops.

 Thanks!

 On 09/27/2013 05:59 PM, Johan Wilfer wrote:
 http://lists.digium.com/pipermail/asterisk-users/2013-March/278122.ht
 m
 l

 Google :-)

 /J

 2013-09-27 17:47, Daniel van den Berg skrev:
 Hi Asghar,

 How do I search the site as I dont see a search bar anywhere...could 
 you please give me the link to the solution in the list or educate 
 me on how to search the site bar going through every thread one by one.
 :)

 Thanks!

 Regards,
 On 09/27/2013 04:43 PM, Asghar Mohammad wrote:
 Hi,
 Please Search the List there is already a post and solution.



 On Fri, Sep 27, 2013 at 3:58 PM, Daniel van den Berg 
 aster...@suretel.co.za mailto:aster...@suretel.co.za wrote:

  Hi All,

  This is my 1st post so lets go.

  What I need to achieve is the following. I have server with 
 both
 IPv4
  addresses and IPv6 addresses. The problem that I am encountering
  is that
  in the sip.conf I am having difficulties to bind to both the
 IPv4 and
  IPv6 addresses.

  Can someone please assist me in this regard as I need to connect
  another
  server to this server on IPv6 while the rest of the clients are
  connecting on IPv4.

  I need to know how to get this working?

  --
 
 _
  -- Bandwidth and Colocation Provided by 
 http://www.api-digital.com --
  New to Asterisk? Join us for a live introductory webinar every
 Thurs:
  http://www.asterisk.org/hello

  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users







 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
 Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http