[asterisk-dev] avoid public IP address in conf

Francesco Pasqualini frapas at gmail.com
Sat Oct 22 10:55:58 CDT 2016


I don't undestand why you talking of local network.

The situation i'm talking about is asterisk running behind NAT (for example
behind a firewall)

On Sat, Oct 22, 2016 at 5:39 PM, Joshua Colp <jcolp at digium.com> wrote:

> Francesco Pasqualini wrote:
>
>> I don't understand....
>>
>> Asterisk can know its external IP and when it changes (query the value
>> at interval). When it changes, asterisk could restart itself, for example.
>>
>> or not ?
>>
>
> Yes, it could use STUN to know its external IP address. It wouldn't need
> to restart - it could update it. You would still need to set the local
> network information like I said though. If you are talking to a device on
> the local network you DO NOT want to put the public address in as it may
> not work.
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20161022/880e9bfc/attachment.html>


More information about the asterisk-dev mailing list