[Serusers] aliases with trigger problem

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


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050225/b872ae78/attachment.htm>


More information about the sr-users mailing list