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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 24 00:23:15 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.26 
Regression:                 No 
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-08-24 00:23 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. 


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

---------------------------------------------------------------------- 
 (0109510) tilghman (administrator) - 2009-08-24 00:23
 https://issues.asterisk.org/view.php?id=15593#c109510 
---------------------------------------------------------------------- 
As far as I know, this has always depended upon your routing table to work.
 Asterisk queries the routing table, based upon destination IP, in order to
figure out what source IP it should place within the packet. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 00:23 tilghman       Note Added: 0109510                          
======================================================================




More information about the asterisk-bugs mailing list