Thanks.<br>But I don&#39;t understand the use of aliases table.<br><br>I have defined some subscriber users, with username (like BOB) and password (BOBPWD). So, if I wanted to access the system, I would send a REGISTER message with correct username and password (authorization required). Then my proxy address will be &quot;
sip:BOB@IP_PROXY&quot; and my Contact will be &quot;sip:BOB@MY_IP_ADRRESS&quot;.<br>These information are saved into USER LOCATION table (save(&quot;location&quot;) function).<br>Now, through DB_aliases module and dbaliases table, I can define some aliases for BOB (like &quot;
sip:1234@IP_PROXY&quot;, etc...), so if an INVITE for bob has &quot;sip:1234@IP_PROXY&quot; as R-URI, with db_aliases_lookup() function I can rewrite R-URI with Bob&#39;s URI (&quot;bob@IP_PROXY&quot;) and then call the lookup(&quot;location&quot;) function.
<br>But I don&#39;t understand how I can use the ALIASES table.<br>Are there any example explaining its use ?<br>Sorry.<br><br>Regards,<br>daniel<br>&nbsp;&nbsp;  <br><br>Iñaki Baz Castillo wrote:
<blockquote cite="mid200711151449.30507.ibc@in.ilimit.es" type="cite">
  <pre>El Thursday 15 November 2007 14:31:52 Daniel escribi�:<br></pre>
  <blockquote type="cite"><pre>Hi all,<br>what is the different between Aliases table and DB aliases table? What is<br>their use ?<br></pre></blockquote>
  <pre><br>&quot;aliases&quot; table is same as &quot;location&quot; table but it should be used to look for <br>alias with the function lookup(&quot;aliases&quot;).<br><br>Of course, aliases are simpler than the complex location or aliases tables 
<br>that manage more info about users, so in order to implement alias system in a <br>simpler way the module ALIAS_DB exists and its table dbaliases.<br><br>Note that dbaliases table is much simpler (it&#39;s just valid for aliases),
<br>Look at the module doc:<br>  <a href="http://www.openser.org/docs/modules/1.3.x/alias_db.html">http://www.openser.org/docs/modules/1.3.x/alias_db.html</a><br><br><br></pre>
</blockquote>
<br clear="all"><br>-- <br>Daniel Grotti<br>________________________<br>e-mail : <a href="mailto:d.grotti@gmail.com">d.grotti@gmail.com</a>