Richard Malcolm-Smith
2005-Oct-07 02:29 UTC
[Asterisk-Users] Asterisk on dynamic extrenal IP behind a nat router.
Is there no way to have asterisk determine its IP either via upnp or else resolve a dyndns hostname rather then having an entry in the config file? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3232 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051007/78e5a8d0/smime.bin
Leigh Fereday
2005-Oct-07 08:53 UTC
[Asterisk-Users] Asterisk on dynamic extrenal IP behind a natrouter.
You could use a modem/router with a DynDNS server in it, that would take care of finding the Asterisk address from the outside. On the Asterisk server you can can (I think by default it is anyway) tell it to bind to all IP addresses. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Richard Malcolm-Smith Sent: 07 October 2005 05:29 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Asterisk on dynamic extrenal IP behind a natrouter. Is there no way to have asterisk determine its IP either via upnp or else resolve a dyndns hostname rather then having an entry in the config file?
Wilson Pickett
2005-Oct-07 09:35 UTC
[Asterisk-Users] Asterisk on dynamic extrenal IP behind a nat router.
> Is there no way to have asterisk determine its IP either via upnp or else > resolve a dyndns hostname rather then having an entry in the config file?For SIP you need to change the externip= variable and then "sip reload". If you detect the ip change using a cron script (dyndns.org has info on this), you can easily do this, I did it for months until I finally got a fixed ip.