<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Hello Daniel,<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
thanks, interesting. I did not used it so far in my deployments (alias sub-domains were sufficient).<br>
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Cheers,<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Henning<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
-- <br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Henning Westerholt - <a href="https://skalatan.de/blog/">https://skalatan.de/blog/</a><br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Kamailio services - <a href="https://skalatan.de/services">https://skalatan.de/services</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Sent:</b> Monday, August 5, 2019 1:16:13 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; David Villasmil <david.villasmil.work@gmail.com>; Henning Westerholt <hw@skalatan.de><br>
<b>Subject:</b> Re: [SR-Users] alias="server" from db?</font>
<div> </div>
</div>
<div>
<p>Hello,</p>
<p>actually this functionality is there since many years - you have to use domain module and set register_myself parameter for it.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 05.08.19 12:44, David Villasmil wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAFGRPVobG=8nNsG50oqo+chyjCgwTP1O+jxR+2yo+OvBESKApg@mail.gmail.com">
<div>
<div dir="auto">Thanks Henning.</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">The thing is I’ve got a deployment with several alias= and it will happen the I will need to add more as more services come in, I.e.: a new service. It’s a multi tenant service, so I need some way to add them dynamically without restarting,
 so that ‘myself’ works...</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks!</div>
<div dir="auto"><br>
</div>
<div dir="auto">David</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 5 Aug 2019 at 07:32, Henning Westerholt <<a href="mailto:hw@skalatan.de" moz-do-not-send="true">hw@skalatan.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello David,</p>
<p>in the upcoming 5.3 you can set an alias over the command line:</p>
<p>    --alias=val  Add an alias, the value has to be '[proto:]hostname[:port]'<br>
                  (like for 'alias' global parameter)<br>
</p>
<p>This was added to make it easier to use Kamailio in dynamic deployments.</p>
<p>AFAIK there is no functionality to load the "alias=" keyword directly from the database right now. But depending what you want to achieve, you might be successful by just using a database table with an sqlops module DB query.</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="m_3734545702267493305moz-cite-prefix">Am 05.08.19 um 00:48 schrieb David Villasmil:<br>
</div>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<blockquote type="cite">
<div dir="ltr">Hello guys,
<div><br>
</div>
<div>I can't find a module that does this, i want to load my hostname aliases from db, instead of</div>
<div><br>
</div>
<div>
<div>alias="host1:5060"</div>
<div>alias="host2:5060"</div>
<div>alias="host3:5060"</div>
<br class="m_3734545702267493305gmail-Apple-interchange-newline">
</div>
<div>I assume it is possible, but how?</div>
<div>first time i need to implement this</div>
<div><br>
</div>
<div>Thanks!</div>
<div>
<div>
<div dir="ltr" class="m_3734545702267493305gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" moz-do-not-send="true">
david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_3734545702267493305mimeAttachmentHeader"></fieldset> </blockquote>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<blockquote type="cite">
<pre class="m_3734545702267493305moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_3734545702267493305moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_3734545702267493305moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<blockquote type="cite"></blockquote>
<pre class="m_3734545702267493305moz-signature" cols="72">-- 
Henning Westerholt - <a class="m_3734545702267493305moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank" moz-do-not-send="true">https://skalatan.de/blog/</a>
Kamailio services - <a class="m_3734545702267493305moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank" moz-do-not-send="true">https://skalatan.de/services</a></pre>
</div>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" moz-do-not-send="true">
david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</div>
</body>
</html>