<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://3389/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>27 maj 2013 kl. 11:58 skrev Moacir Ferreira <<a href="mailto:moacirferreira@hotmail.com">moacirferreira@hotmail.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr"><font face="Times New Roman">Hi,</font><br><font face="Times New Roman"></font> <br><p class="MsoNormal" style="margin: 0cm 0cm 10pt; padding: 0px; "><span lang="EN-US">For the first time I need to setup na alias in Kamailio. I.e.: I would like to have the phone number<a href="mailto:1000@my_domain.com">1000@my_domain.com</a><span class="Apple-converted-space"> </span>also being able to be called as<span class="Apple-converted-space"> </span><a href="mailto:bob@my_domain.com">bob@my_domain.com</a>. However I took a look at the Kamailio alias table and I found a lot of other fields.</span></p><div style="margin: 0cm 0cm 10pt; padding: 0px; "><span lang="EN-US"></span> <br class="webkit-block-placeholder"></div><p class="MsoNormal" style="margin: 0cm 0cm 10pt; padding: 0px; "><span lang="EN-US">Question: can anyone tell me the usage of such table (why so many fileds)? Am I looking into the right table to achieve what I want?</span></p><div><br></div></div></div></blockquote><br></div><div>For simplicity, the table is the same as the location table - we use the same functions, the same module.</div><div>For aliases, not many fields are used though - the address and the alias in the contact field. Remember to make sure you set the timestamp to a date in the future.</div><div><br></div><div>You can also use db_alias that may be easier, but doesn't cache in ram like the usrloc-managed aliases.</div><div><br></div><div>/O</div></body></html>