Setup SIP for MySQL Real time

Im slow moving over some of my configs to realtime MySQL, ive successfully moved over queues and now im trying to move over the sip.conf file.

Ive followed this:
voip-info.org/wiki/view/Aste … alTime+Sip

And everythings working fine on that front, but im not sure how to input the following sip file in to the DB:

.....
[handset](!)
host=dynamic
type=peer
context=from-internal
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
canreinvite=no
dtmfmode=rfc2833

[softphone](!)
host=dynamic
type=peer
context=from-internal-soft
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
canreinvite=no
dtmfmode=rfc2833

;----------------------------- HANDSETS --------------------------
[7100](handset)
username=7100
callerid="Reception" <61399127100>

[1012](softphone)
username=1012
callerid="Fred" <61399130249>
.....

So how do i move across the 7100 and the 1012 user? What are the fields i need to fill in? Mostly the (handset) and the (softphone)

(secret was removed)