Even after restart the aliases are not shown. Is it possible the aliases to
be read
from the database?
----- Original Message -----
From: "Zeus Ng" <zeus.ng(a)isquare.com.au>
To: "'braincrew.com'" <somebody(a)braincrew.com>
Cc: <serusers(a)lists.iptel.org>
Sent: Friday, February 25, 2005 1:19 PM
Subject: RE: [Serusers] aliases with trigger problem
SER does not read from db with the lookup() function. It has a memory
version and read from there. The db version will only be loaded upon
startup. Even though you can do db trigger, it won't be read until next time
SER restart.
Zeus
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of
braincrew.com
Sent: Friday, 25 February 2005 9:48 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] aliases with trigger problem
Hi guys,
I tried to make aliases w/ trigger but something goes wrong.
Trigger is made on insert in the database. If user logins with
username 123 alias 0123 is created. But if I call 0123 I get
"404 Not found" any idea?
P.S. in ser.cfg I have :
if (uri==myself) {
if (method=="REGISTER") {
if (!www_authorize("193.193.162.71",
"subscriber")) {
www_challenge("193.193.162.71",
"0");
break;
};
save("location");
lookup("aliases");
Thanks!
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers