Hello,
several days ago, I published a new tutorial about Kamailio and Asterisk realtime integration, using a different approach than in the previous tutorials on this topic I wrote. Specifically, this time the Asterisk database structure is used. You can find it at:
http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb
Hope is useful for some of you, Daniel