[asterisk-bugs] [Asterisk 0014961]: externip is ignored for Audio unless localnet is defined

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 24 08:27:08 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14961 
====================================================================== 
Reported By:                RcRaCk2k
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14961
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.0.7 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-23 14:17 CDT
Last Modified:              2009-04-24 08:27 CDT
====================================================================== 
Summary:                    externip is ignored for Audio unless localnet is
defined
Description: 
As described in http://bugs.digium.com/view.php?id=8821 the same issue is
existing in Asterisk 1.6.0.9.

My Asterisk-Server is multihomed and have 3 public routed ip-addresses.
Two IP-Addresses assigned static and once dynamic.

I need to select the dynamic ip-address, because my ISP on the other side
accepts REGISTER, INVITE and so on only from the Interface thats connected
to my ISP.

[general]
externip=95.xx.224.157
nat=no

I didn't define a localnet property.
I tryed to switch matchexterniplocally between yes and no, but no effect.

After define an localnet-entry with 91.2xx.12.0/24 the
Audio-Setup-IP-Address works as expected.

How can i allways set my IP-Address for any communication SDP / Messaging
to the externip-Address?

Thanks.
Michael Rack.
====================================================================== 

---------------------------------------------------------------------- 
 (0103746) file (administrator) - 2009-04-24 08:27
 http://bugs.digium.com/view.php?id=14961#c103746 
---------------------------------------------------------------------- 
Currently you can achieve this by having chan_sip bind to the specific IP
address you want to use, otherwise it binds to all and has to guess what IP
address to use in the messages. There is currently no way to bind to
multiple IP addresses and have each message contain the correct IP address.
You can only bind to one. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-24 08:27 file           Note Added: 0103746                          
2009-04-24 08:27 file           Status                   assigned => resolved
2009-04-24 08:27 file           Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list