[Serusers] aliases with trigger problem

braincrew.com somebody at braincrew.com
Fri Feb 25 13:45:11 CET 2005


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 at isquare.com.au>
To: "'braincrew.com'" <somebody at braincrew.com>
Cc: <serusers at 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 at lists.iptel.org
> [mailto:serusers-bounces at lists.iptel.org] On Behalf Of braincrew.com
> Sent: Friday, 25 February 2005 9:48 PM
> To: serusers at 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 at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list