Sip register statement in db

Hi guys,

I was exploring the asterisk code and found that i can do static file in database like
sipusers => mysql,asterisk,tablename
sippeers => mysql,asterisk,tablename
sip.conf => mysql,asterisk,config_table

how can i place only register statement in db? instead of whole file. Please save my time :smile: