[Asterisk-Users] NAT and SIP.conf update.

2005-08-24 Thread razza
Title: Message I have a standard BT home DSL, which means I cannot have a static IP address, therefore i'm forced to use NAT, I subscribe to a DDNS service and have written a VB app which polls the router every 10 seconds and updates the DDNS if appropriate.   This is fine but I need to be

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-08-24 Thread Rudolf Ladyzhenskii
Message I have a standard BT home DSL, which means I cannot have a static IP address, therefore i'm forced to use NAT, I subscribe to a DDNS >service and have written a VB app which polls the router every 10 seconds and updates the DDNS if appropriate. There are ready applications to do that

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-08-24 Thread razza
--%< SNIP! >%--- >>I have a standard BT home DSL, which means I cannot have a static IP >>address, therefore i'm forced to use NAT, I subscribe to a DDNS >service >>and have written a VB app which polls the router every 10 seconds and >>updates the DDNS if appropriate. >There ar

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-08-24 Thread Bob Goddard
On Wednesday 24 Aug 2005 09:44, razza wrote: > I have a standard BT home DSL, which means I cannot have a static IP > address, therefore i'm forced to use NAT, I subscribe to a DDNS service > and have written a VB app which polls the router every 10 seconds and > updates the DDNS if appropriate. D

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-08-24 Thread razza
I did write a script to do this but blew away my box by accident yesterday :o( if nothing exists I'll start googling shell commands again ;o) Although when installing mandrake again today, I noticed a package called wine which might be interesting. Cheers %<-- SNIP -->% On Wednesd

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-08-27 Thread razza
Title: Message I'm assuming no apps/scripts exist which completes this? Can someone please confirm that if I use a FQDN in sip.conf for my external IP, the FQDN is only resolved at the time of loading, therefore if my IP changes after sip is loaded, I will have to manually reload asterisk/

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-08-29 Thread razza
Title: Message   I'm assuming no apps/scripts exist which completes this? Can someone please confirm that if I use a FQDN in sip.conf for my external IP, the FQDN is only resolved at the time of loading, therefore if my IP changes after sip is loaded, I will have to manually reload asteri

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Derek Conniffe
No always possible to get a fixed IP address from your provider - in Ireland anyway. 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

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Jens Vagelpohl
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 pp

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Peter Bowyer
On 24/08/05, razza <[EMAIL PROTECTED]> wrote: > I have a standard BT home DSL, which means I cannot have a static IP > address, Yes you can - depends on your ISP, but the underlying IPStream Home products don't prevent the allocation of static addresses. It's all down to who you buy your service

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread razza
Jens Wrote: >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. I

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Jens Vagelpohl
On 13 Sep 2005, at 11:18, razza wrote: Jens Wrote: 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 wel

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Derek Conniffe
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 ce

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread razza
Ray Wrote: >> I'm sure if you use a DNS in SIP.CONF for your external IP this is >> only >> resolved when loaded? Jens: >This might be true - for me there's only other Asterisk servers >connecting from the outside using IAX, and that works fine. IAX is different! So back to sip, assuming if ext

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Wilson Pickett
> This is fine but I need to be able to modify my sip.conf (externip = > w.x.y.z) and reload sip, does anyone know of a script/app which does an > nslookup and modifies the conf file, then reloads sip? What I did was to have the ip checker write a one line file called "externip.conf" containing t

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Michiel van Baak
On 11:36, Tue 13 Sep 05, Derek Conniffe wrote: > 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. > Then why go with all the hassle of perl daemons and stu

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread canuck15
uch better. -Original Message- From: razza [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 3:18 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] NAT and SIP.conf update. Jens Wrote: >Who needs that when there's dyndns and

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Derek Conniffe
Hi Michiel, The problem is the Asterisk server on the far away side (not the local office behind the firewall/pppd) server. When a call comes in to the far away (Datacentre) server it needs to be able to make an IAX2 connection back to the office server to carry the call inbound so the probl

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Mark Phillips
Sent: Tuesday, September 13, 2005 3:18 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] NAT and SIP.conf update. Jens Wrote: Who needs that when there's dyndns and similar free services which are even supported by many routers? I have a

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread razza
Could you send me a copy of your script? %<- SNIP! ->% Wilson Pickett wrote: What I did was to have the ip checker write a one line file called "externip.conf" containing the line: externip = nnn.nnn.nnn.nnn ; this is the new ip address then in sip.conf, #include "externip.conf" ; repl

Re: [Asterisk-Users] NAT and SIP.conf update.

2005-09-13 Thread Michiel van Baak
On 18:13, Tue 13 Sep 05, Derek Conniffe wrote: > Hi Michiel, > > The problem is the Asterisk server on the far away side (not the local > office behind the firewall/pppd) server. When a call comes in to the > far away (Datacentre) server it needs to be able to make an IAX2 > connection back to

RE: [Asterisk-Users] NAT and SIP.conf update.

2005-09-14 Thread Dave Cotton
On Tue, 2005-09-13 at 09:31 -0700, canuck15 wrote: > I don't recommend anyone use free dyndns via router support. If you reboot > your router more than once or twice in a month or have a power outage or > whatever dyndns stops updating the IP automatically and will cancel your > account for too mu