Move the lookup("aliases") into the main route block after your
uri=myself check. I suspect the alias add problem goes away. This is
because the lookup ("alias") command must be "hit" in your
routing logic in order for the memory resident alias table to be
built.
-Steve
Alberto Cruz wrote:
I had the same problem like you but I didn't get
the message error
with the detailed explanation how to fix it.
Samuel and Andres help me to fix it.
You should add the line lookup(aliases) at the begining of the route{
block:
route{
lookup("aliases");
Regards
Alberto Cruz
Llanos Serna GarcĂa-Conde wrote:
Hello everyone,
I can add subscribers with
serctl add <username><password><email>
but when it comes to adding aliases with
serctl alias add <alias><uri>
the next message appears
400 Table 'aliases' not found in memory, use save("aliases") or
lookup("aliases") in the configuration script first
I don't understand why because I think that the table does exist,
because when I introduce the command
ser_mysql.sh backup
all the tables appear but the aliases one is empty.
Does anyone know what's the problem?
Thank you,
Llanos
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers