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
MongoDB 8.0 on Atlas | Run anywhere Icon
MongoDB 8.0 on Atlas | Run anywhere

Now available in even more cloud regions across AWS, Azure, and Google Cloud.

MongoDB 8.0 brings enhanced performance and flexibility to Atlas—with expanded availability across 125+ regions globally. Build modern apps anywhere your users are, with the power of a modern database behind you.
Learn More
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