When freepbx container is started, some migrations are made on database to add proxy to extensions and trunks, configure webrtc and app extensions, add CTI permissions ...
Those are made by this script
Sometimes, some extension and trunks needs custom settings for codecs and to bypass proxy, but at every restart, those changes are overwritten. On trunk a workaround is to add "custom" to the name, to the extensions this isn't possible
Proposed solution
- only execute migration once
See also
https://mattermost.nethesis.it/nethesis/pl/mutu8uurpbb55y78ta4m8nxmmo