[asterisk-bugs] [Asterisk 0015593]: IAX does not bind to multiple virtual IP's correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 17 14:56:56 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15593 
====================================================================== 
Reported By:                middletn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15593
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-27 16:31 CDT
Last Modified:              2009-09-17 14:56 CDT
====================================================================== 
Summary:                    IAX does not bind to multiple virtual IP's correctly
Description: 
This is a resurection of 0007315 which seems to have come back post 1.4.19

Versions of Asterisk past 1.4.19 don't appear to bind correctly to
multiple IP's, only the first listed. Having searched the docs, I can't
find anything that's really changed. Even setting the IP to 0.0.0.0 doesn't
help

netstat -aln |grep 4569 reports:
udp 0 0 192.168.20.251:4569 0.0.0.0:* 
udp 0 0 192.168.20.219:4569 0.0.0.0:* 
udp 0 0 192.168.20.218:4569 0.0.0.0:* 


If I NAT a public IP to 20.251 via a PIX it works, the remaining two do
not work. 

The remote * reports the host as UNREACHABLE 

I do not have this issue with anything prior to 1.4.22 

That said, registrations DO work just fine. 

It seems that Asterisk only binds to the first IP listed in IAX.conf

As a quick test I loaded 1.4.19.2, same config, and it WORKS! I can only
assume therefore that post this version IAX on multiple virtual IP's is
broken. 


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-17 14:56 lmadsen        Asterisk Version         1.4.26 => SVN       
2009-09-17 14:56 lmadsen        Regression               No => Yes           
2009-09-17 14:56 lmadsen        Severity                 major => minor      
======================================================================




More information about the asterisk-bugs mailing list