Asterisk + SIP Account + MySQL

Hi

I have Asterisk working and sending CDR to my MySQL database.
Now I would like that Asterisk reads directly the SIP accounts on mysql database. On this post forums.digium.com/viewtopic.php?p=116534 it is said that we have to install an add-on but I can’t find any documentation where I can say to Asterisk to read the SIP accounts directly from mysql. In know that there is a script called retrieve_sip_conf_from_mysql.pl to retrieve from mysql the SIP accounts but this is an “off-line” method. I would like that Asterisk reads direct data records on mysql thus to disable/enable an user it was a question of delete the record on the database.
There is any way to that? If yes what flags/swtichs in config files should I change?

Best regards

voip-info.org/wiki-Asterisk+RealTime

here you can see how it’s done

Thanks a lot.
I’ve now working my SIP clients from MySQL