Really? I've found that a dynamic domain name --> IP linkup didn't work
with Asterisk - it seemed to caches the IP of the domain name and didn't
re-lookup the IP until after a reload.
Derek
Jens Vagelpohl wrote:
I've found a novel work-a-round: I have a server on the Internet in
a data centre that maps a real static address to the dynamic IP
address of the computer connected via. the ISP. I've got a script
that runs on the client ISP connected machine (its running Linux an
the script is in the ppp-up.d directory so runs automatically
everytime the pc reconnects and gets a new dynamic IP) - this client
script (perl) talks to the server daemon (also perl) and then the
data centre server re-maps the static IP to the dynamic IP - it
redirects (using socat - excellent software!) to redirect the IAX2
port and the RTP ports between the IP addresses so that the normally
dynamic IP addressed asterisk server now always has a real live
static IP address.
This solution is working very well between two remote offices
passing calls between the central data server computer.
I wonder would this solution help many people? I now couldn't live
without it. If other people are interested I could have a little
business renting people static mapped IP addresses.
Who needs that when there's dyndns and similar free services which
are even supported by many routers? I have a dyndns hostname and my
router is configured to contact the dyndns site whenever the IP on
the public side changes. Works very well for my Asterisk setup at home.
jens
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Derek Conniffe
Rivertower Ltd
Ireland: (Freephone) 1800 719 400
Ireland: (Local) 01 244 9719
United Kingdom: 0870 068 2368
International: 00 353 1 244 9719
Derek Conniffe DDI: 01 201 0146 (International: 00 353 1 201 0146)
Derek Conniffe Mobile: 086 856 3823 (International: 00 353 86 856 3823)
Fax: 01 201 0085 (International: 00 353 1 201 0085)
Email: [EMAIL PROTECTED]
Web: http://www.rivertowerhosting.com
begin:vcard
fn:Derek Conniffe
n:Conniffe;Derek
org:Rivertower Ltd;IT
adr:Dublin 2;;46 Upper Mount Street;Dublin;Dublin;Dublin 2;Ireland
email;internet:[EMAIL PROTECTED]
tel;work:+353 1 201 0146
tel;fax:+353 1 201 0085
tel;cell:+353 86 856 3823
note;quoted-printable:Ireland: (Freephone) 1800 719 400=0D=0A=
Ireland: (Local) 01 244 9719=0D=0A=
United Kingdom: 0870 068 2368=0D=0A=
International: 00 353 1 244 9719=0D=0A=
url:http://www.rivertowerhosting.com
version:2.1
end:vcard
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users