Automatic add SIP account in Asterisk

I am planing to set up an Asterisk that should have kind of mechanism to Automatic handle SIP account. At moment, if I would like to add a new SIP account I have to edit sip.conf at /etc/asterisk with root. I am wondering if there are some ways to handle SIP account automatic. As far as I know, I can connect SIP account details to MySQL database. But I am not sure if it is the best way to do if.

So if some one has experience in this issue, I would be appreciate

Thanks

  1. Write your own webgui for edit users. (Several existing, but i know only russian implementations)
  2. Bash/Python/PHP… script for adding

[quote=“Samael28”]1. Write your own webgui for edit users. (Several existing, but i know only russian implementations)
2. Bash/Python/PHP… script for adding[/quote]

If I understood correctly, if in your cases I am supposed to put all the users data in to some kind of database, for example MySQL?

Thanks