mPBX-36 User Manual
Page 128
APPENDIX I How to modify
configuration files
Introduction
The system configuration files included asterisk configurations are stored into
database first and then logistically generated by the background applications.
Now during the usage, some of the customers (asterisk specialist) would like to
manually modify the configurations sometimes. If they operate directly to the
configurations of /etc/asterisk/, the configuration file will be updated when
customers apply the changes on WEB GUI next time. Reboot the device will
result in the update of configuration file as well. Namely, the customized
modifications by clients can’t be saved successfully.
Solution
If we want to save the user-defined data, we must save it to the database.
Now in the directory of ‘/persistent/var/lib/asterisk/db/’, we create a directory
‘custom-cfg’ to store user-defined data. If users want, they can supplement or
modify an appropriate configuration file under this directory.
Modified data must be saved in this format ‘*_custom.conf’, such as the changes
of sip.conf must be saved in ‘/persistent/custom-cfg/sip_custom.conf’.
Every time, when background application generates a configuration according
to database, there will be a specific thread to check the contents of custom-cfg
directory and modify the configuration file again.
Users-defined Format Data
Configuration files supported to be modified manually:
extensions.conf
sip.conf
users.conf
iax.conf
queue.conf // Multiple extensions context type
features.conf
voicemail.conf
meetme.conf
rc_org.conf
rtp.conf
http.conf
musiconhold.conf
followme.conf
Summary of Contents for mPBX-36
Page 1: ...mPBX 36 User Manual Version 7 17 43 23 ...
Page 15: ...mPBX 36 User Manual Page 15 Figure 3 3 1 1 ...
Page 20: ...mPBX 36 User Manual Page 20 Figure 3 3 1 2 ...
Page 36: ...mPBX 36 User Manual Page 36 Figure 3 3 4 1 ...
Page 70: ...mPBX 36 User Manual Page 70 Figure 3 5 4 ...
Page 73: ...mPBX 36 User Manual Page 73 Figure 3 5 6 ...
Page 112: ...mPBX 36 User Manual Page 112 Figure 6 5 ...
Page 122: ...mPBX 36 User Manual Page 122 Figure E 2 Step3 Finish ...