I had the same problem, you need to change a couple of things in the ser.cfg file.
I guess you have already uncommented all the lines that ser.cfg tells you to in order to work with SQL database.
In the main routing logic, you have to add lookup("aliases");
route{
lookup("aliases");
In the usrloc params, put 1 instead of 2 in the last field:
#modparam("usrloc", "db_mode", 2)
modparam("usrloc","db_mode",1)
This will make the date to be stored in the MySQL tables, though it's a bit slow, since you add an alias with serctl command, wait 15 or 20 seconds until you can see it in your database.
Good luck,
Llanos
>Hi list,