Steven,
I already use db on sip profiles, switch.conf. Have you a working situation where a register received from FS box 2
is known to FS box 1?
As I said "show registrations" work but sofia_contact not.
My solution has been a lua script to retrive url from db.