Change extension config with Apply

I’m creating a bot that will allow me to quickly manage an extension from my phone.

I can now get the full list, but I can’t figure out how to change the password without a hard server reboot. How can I change the password via the API or by influencing the database, apply the changes, and still not disable all active calls?

Currently, the only option I see is the fwconsole command, but I don’t like it and it looks incredibly stupid.

Can anyone tell me how they’ve solved similar problems?


list of free extension

image
change password button (visual all good, and in GUI pasw was changed, but MicroSip get Wrong Password because in DB i have old password, and need only restart Asterisk)