No one interested in support asterisk with NAT and dyn IP ? On Wed, Oct 5, 2016 at 8:21 PM, Francesco Pasqualini <[email protected]> wrote:
> Hi, > why we need to specify the public (external) IP address when asterisk is > behind NAT ? > > With stun, asterisk should be able to get this info by himself. > > In bash for example we can get the public IP contacting the stun server: > > > echo -en '\x00\x01\x00\x08\xc0\x0c\xee\x42\x7c\x20\x25\xa3\x3f\x0f\xa > 1\x7f\xfd\x7f\x00\x00\x00\x03\x00\x04\x00\x00\x00\x00' | nc -u > -w 2 stun.l.google.com 19302 | > dd bs=1 count=4 skip=28 2>/dev/null | > hexdump -e '1/1 "%u."' | > sed 's/\.$/\n/' > > > http://askubuntu.com/questions/95910/command-for-determining-my-public-ip > > If we can avoid to specify the public IP we can support dynamic IP. Before > connecting, asterisk could retrieve the public IP. That is what (I think) > is doing my IP phone at home, dynamic IP behind Nat. It ask me only the > stun server address. > > thanks > >
-- _____________________________________________________________________ -- 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
