[asterisk-dev] avoid public IP address in conf
Guido Falsi
mad at madpilot.net
Sun Oct 23 13:24:54 CDT 2016
On 10/23/16 11:58, Francesco Pasqualini wrote:
> OK interresting.
>
> Is there a recipe to configure asterisk behind NAT with two WAN failover ?
>
I know no recipe, since WAN failover means your IP is moved on to the
standby connection when links are switched. If this is not the case what
you have isn't really a WAN failover, but just two unrelated internet
connections and a router balancing them with a failover logic.
If the IP changes when the WAN link is switched there is no way the
router, or asterisk or anything in your LAN can do to bring over
existing connections.
Asterisk using ICE will analyze the active connection at call time and
insert SDP information pertinent to that one for the call. So it will
work correctly for whatever link is being used as long as it is used.
Active calls when the link is switched due to a failure on the main one
will go mute and time out.
As Joshua Colp stated, ICE needs the other party to also have ICE
enabled to work correctly, so you also need collaboration from the other
side of the communication.
Maybe if you explain better what you have and what you are trying to
achieve some better suggestion can be given.
--
Guido Falsi <mad at madpilot.net>
More information about the asterisk-dev
mailing list