<html><div style='background-color:'><DIV class=RTE>
<P>I had the same problem, you need to change a couple of things in the ser.cfg file.</P>
<P>I guess you have already uncommented all the lines that ser.cfg tells you to in order to work with SQL database.</P>
<P>In the main routing logic, you have to add lookup("aliases");</P>
<P>route{</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lookup("aliases");</P>
<P>In the usrloc params, put 1 instead of 2 in the last field:</P>
<P>#modparam("usrloc", "db_mode", 2)<BR>modparam("usrloc","db_mode",1)<BR></P>
<P>This will make the date to be stored in the MySQL tables, though it's a bit slow, since you add an alias with serctl command, wait 15 or 20 seconds until you can see it in your database.</P>
<P>Good luck,</P>
<P>Llanos</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&gt;Hi list, </P></DIV>
<DIV></DIV>&gt;I'm running ser-0.9.0.
<DIV></DIV>&gt;I've come across a strange behaviour of adding new aliases to user names.
<DIV></DIV>&gt;I add an alias with serctl command, but the alias wont store in the mysql
<DIV></DIV>&gt;table.&nbsp;&nbsp; If I try it again I get error: &lt;sip:joe@mydomain.com&gt;;q=1;expires=-268
<DIV></DIV>&gt;Once I restart SER I can again add the alias, but with same result,
<DIV></DIV>&gt;it's not saved in the table 'aliases'.
<DIV></DIV>&gt;Have anybody come across this issue?
<DIV></DIV>&gt;
<DIV></DIV>&gt;Thank you,
<DIV></DIV>&gt;Lada
<DIV></DIV>&gt;
<DIV></DIV>&gt;_______________________________________________
<DIV></DIV>&gt;Serusers mailing list
<DIV></DIV>&gt;serusers@lists.iptel.org
<DIV></DIV>&gt;http://lists.iptel.org/mailman/listinfo/serusers
<DIV></DIV></div></html>