Write dialplan change with ami actions in extensions.conf

is there a way to write dialplan changes made by DialplanExtensionAdd or DialplanExtensionRemove in extensions.conf file? I thought these actions are supposed to write change in that file.

I can’t remember the details, but I believe you can write back the whole in memory configuration, but, if you do so, you will lose any comments in the file. I’ve never used this in anger.

1 Like

Thank you. Comments are not important. currently I’m updating extensions.conf with UpdateConfig action! Isn’t there a better way?!