[asterisk-bugs] [Asterisk 0014961]: externip is ignored for Audio unless localnet is defined
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Apr 24 02:31:54 CDT 2009
A NOTE has been added to this issue.
======================================================================
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: assigned
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:
======================================================================
Date Submitted: 2009-04-23 14:17 CDT
Last Modified: 2009-04-24 02:31 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.
======================================================================
----------------------------------------------------------------------
(0103740) RcRaCk2k (reporter) - 2009-04-24 02:31
http://bugs.digium.com/view.php?id=14961#c103740
----------------------------------------------------------------------
To get more hint on the network-configuration:
wan1 - IP-Address: 95.90.224.157/23 (dynamic assigned IP-Address)
wan2 - IP-Address: 91.205.12.10/30 (static assigned IP-Address)
vpn1 - IP-Address: 91.205.12.2/32 (static assigned IP-Address)
Default-Route is dynamic an will be selected by BGP4-Routing for wan2 and
vpn1. Interface wan1 is only in use to route VPN- and SIP-Traffic.
Asterisk have to send traffic through wan1 (externip=95.90.224.157). My
Linux-Policy-Routing allways routes traffic through that interface where
SRC-IP-Address is matching, else traffic is routed via default-gateway.
A feature such as "interface=wan1" were recommend. Asterisk should take
the ip-address from the interface and take this for SIP-/
RDP-Communications and ip-header creation...
The interface-name should be defined in peer-section also.
Thanks.
Michael.
Issue History
Date Modified Username Field Change
======================================================================
2009-04-24 02:31 RcRaCk2k Note Added: 0103740
======================================================================
More information about the asterisk-bugs
mailing list