I'm trying to migrate SER 2.0 to Kamailio and right now the major hiccup is migrating lookup_domain(). Is there any replacement for lookup_domain() that would enable you to use the domain attributes in Kamailio? I have come across the old thread "domain attributes" about adpoting the SER domain module: http://www.mail-archive.com/sr-dev@lists.sip-router.org/msg00804.html But I'm not sure what was the outcome. Same for load_attrs() and user_attrs column - it looks like there's no direct replacement for that and I have to migrate it to usr_preferences.