[Serusers] aliases with trigger problem

braincrew.com somebody at braincrew.com
Fri Feb 25 12:18:28 CET 2005


When I type 
serctl alias show or serctl ul show
no one alias is displayed... :(
  ----- Original Message ----- 
  From: braincrew.com 
  To: serusers at lists.iptel.org 
  Sent: Friday, February 25, 2005 12:48 PM
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050225/f2641b66/attachment.htm>


More information about the sr-users mailing list