Seems like the config APIs should be smart enough to leave a file alone if there were no changes (and not add the headers that look like these):
;!
;! Automatically generated configuration file
;! Filename: iax.conf (/etc/asterisk/iax.d/cnet.conf)
;! Generator: res_phreaknet
;! Creation Date: Thu Sep 11 08:38:27 2025
;!
You must be