mPBX-100/100R User Manual
Page 138
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-100
Page 1: ...mPBX 100 100R User Manual Version 2 17 43 23 ...
Page 16: ...mPBX 100 100R User Manual Page 16 Figure 3 3 1 1 ...
Page 21: ...mPBX 100 100R User Manual Page 21 Figure 3 3 1 2 ...
Page 73: ...mPBX 100 100R User Manual Page 73 Figure 3 5 4 ...
Page 109: ...mPBX 100 100R User Manual Page 109 Figure 3 8 3 ...
Page 120: ...mPBX 100 100R User Manual Page 120 Figure 6 5 ...
Page 130: ...mPBX 100 100R User Manual Page 130 Figure E 2 Step3 Finish ...
Page 136: ...mPBX 100 100R User Manual Page 136 Figure G 3 ...