Add a new SIP trunk in real time

Hi,

Is there a way to store the SIP trunks settings in a MySQL database ? using that for example :
http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip

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