14 lines
No EOL
626 B
Markdown
14 lines
No EOL
626 B
Markdown
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. |