Behalf Of Raj Mathur (???
?)
Sent: Tuesday, 7 February 2012 1:19 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Script to automatically update externip. Useful
for a host with dynamic public IP
On Monday 06 Feb 2012, John Cahill wrote:
> logger
On Monday 06 Feb 2012, John Cahill wrote:
> logger -s "checksetexternip.sh: External IP address
> has changed, changing /etc/asterisk/sip_general_custom.conf" grep -v
> "externip" /etc/asterisk/sip_general_custom.conf >
> /etc/asterisk/sip_general_custom.conf.tmp echo "externip=$EXT
: [asterisk-users] Script to automatically update externip. Useful for a
host with dynamic public IP
#!/bin/bash
# checksetexternip.sh
# Author: John Cahill em...@johncahill.net
# Licence: GPL v3
# Description: script that queries checkip.dyndns.com to find the
server's external IP addres
#!/bin/bash
# checksetexternip.sh
# Author: John Cahill em...@johncahill.net
# Licence: GPL v3
# Description: script that queries checkip.dyndns.com to find the server's
external IP address. Updates asterisk's externip value and does a sip reload if
necessary.
# Last modified 06/02/2012
is_ip(){