I played around with upcoming SER 2.0, using sercmd as a tool, as well as inserting records into sql tables directly (as I used to with 0.9.x). The domain module complained loudly that it couldn’t find my domains, even though they were there, I saw them in the sql table!!

Well, beware, with the introduction of dids (domain ids) and uids (user ids), there obviously are some dependencies between tables. Just adding your domains with a did in the domains table do not work. So, what to do? I tried sercmd, but I realized that this tool is quite low level and does not guarantee updates according to the data model constrainsts. From now on I will user the new python ser_ctl tool before I try manual edits. This tool is the replacement for the old ser_ctl. It is a bit confusing because as old serctl in utils dir does not work, sercmd seems to be the obvious choice. However, new ser_ctl can now be found as a separate cvs module (logically called serctl…) on the same level as sip_router and rtpproxy (root of ser project).

See my previous post for a link to a tar package for serctl (and remember that python >=2.3 should be installed!)

Leave a Reply

Post Navigation