| expose_voipms_sms_url.sh | ||
| README.md | ||
| undo_expose.sh | ||
USE AT YOUR OWN RISK! I ACCEPT NO RESPONSIBILITY FOR YOUR LACK OF RESPONSIBILITY! Make backups, or better yet, don't use this! I can confidently say it works for me, but I have no idea if it'll work for you. You have been warned.
Make sure postgres client is installed.
Download the scripts somewhere on your 3cx box. Make them executable.
Assumes your templates are in /var/lib/3cxpbx/Instance1/Data/Http/Templates/provider Assumes your voip.ms template filename is voipms.pv.xml
Assumes defaults on database name and that it's postgres backed
Modify this script if your defaults are different.
Run the expose script to expose the value and the undo to revert the database (but it will still leave the custom template)
Keep in mind, if you modified the script variables before running it, you'll have to apply the same changes to the revert script.