2025-07-15 04:51:39 +00:00
|
|
|
Make sure postgres client is installed.
|
|
|
|
|
|
|
|
|
|
Download the scripts somewhere on your 3cx box. Make them executable.
|
|
|
|
|
|
2025-07-17 04:24:27 +00:00
|
|
|
Assumes your templates are in /var/lib/3cxpbx/Instance1/Data/Http/Templates/provider
|
|
|
|
|
Assumes your voip.ms template filename is voipms.pv.xml
|
2025-07-15 04:51:39 +00:00
|
|
|
|
2025-07-17 04:24:27 +00:00
|
|
|
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.
|