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

Reply via email to