[asterisk-users] Fw: iax2 bindaddress: how to reload so iax2 can bind to an alias IP
Vieri
rentorbuy at yahoo.com
Fri Jan 9 13:20:24 CST 2009
I just found an old bug report at bugs.digium.com with exactly the same problem.
It's really too bad this bug wasn't addressed:
http://bugs.digium.com/view.php?id=7315
--- On Fri, 1/9/09, Vieri <rentorbuy at yahoo.com> wrote:
> I'm trying to figure out how to reload iax2 (without
> breaking existing calls) so it can listen on a new IP
> address (like "ip addr add local ..."). This alias
> IP is added/removed by a custom process (script) for
> clustering purposes.
>
> The iax.conf file contains "bindaddr=0.0.0.0".
>
> I tried a "iax2 reload" (executed without errors
> or warnings) but I'm still not able to connect to the
> alias IP from another Asterisk server within the same LAN
> (no firewalls of any type in the middle).
>
> On the other Asterisk server I run a "iax2 show
> peers" and get "status UNREACHABLE" for the
> alias IP trunk (eg. 192.168.250.115 in the example below).
>
> However, if I specify a non-alias IP address on the other
> server's trunk settings then a "iax2 show
> peers" shows a "status OK" (eg.
> 192.168.250.111 in the example below).
>
> Just for your information, the IP settings on the server
> I'm trying to connect to are:
> # ip addr show eth1
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
> qdisc pfifo_fast qlen 1000
> link/ether 00:1d:60:b0:25:10 brd ff:ff:ff:ff:ff:ff
> inet 192.168.250.111/24 brd 192.168.250.255 scope
> global eth1
> inet 192.168.250.115/24 brd 192.168.250.255 scope
> global secondary eth1
> inet6 fe80::21d:60ff:feb0:2510/64 scope link
> valid_lft forever preferred_lft forever
>
> This Asterisk server has version 1.2.30.
>
> The other "connecting" Asterisk server has
> version 1.4.21.2.
>
> Any ideas as to what I could try?
>
> Vieri
>
More information about the asterisk-users
mailing list