Add a new SIP trunk in real time


Is there a way to store the SIP trunks settings in a MySQL database ? using that for example :

My client needs a web interface where he can add/remove/edit the SIP trunks settings “dynamically”. I know it’s possible to make it for the SIP users but I don’t know how to do it for the trunks.

Thank you very much for your help,

Best Regards