astipupdate script, detects public ip and sip peer ip change , blocks unwanted sip traffic.
script start parameter will permit sip traffic only for trusted hosts via iptables,
can also update them with updatepeer parameter if ip changes.
updatepublic parameter reloads asterisk on public ip change (in case you have too long register intervals).
copy this script to /etc/init.d and activate it with update-rc.d astipupdate defaults
enable in cron like: */5 * * * * root /etc/init.d/astipupdate updateboth &> /dev/null

Now includes also an ddnsupdater which uses a simple wget to update if host cmd detects a change.

Project Activity

See All Activity >

Follow Asterisk IP updater & SIP blocker

Asterisk IP updater & SIP blocker Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Asterisk IP updater & SIP blocker!

Additional Project Details

Registered

2014-03-07