<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 05/08/15 17:30, Iwan Aucamp wrote:<br>
</div>
<blockquote
cite="mid:CAGjV75CeeHn93xuQ3FCB=JD=4Zw53GG3m0RPmbSnvSno_rF9dg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>From the descriptions these seem similar:<br>
<br>
</div>
corex alias_subdomains (<a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/devel/modules/corex.html#idp18017160">http://kamailio.org/docs/modules/devel/modules/corex.html#idp18017160</a>):<br>
<br>
<p style="margin-left:40px"> Register a domain and all its
sub-domains to match the <span class="quote">“<span
class="quote">myself</span>”</span> condition. It can be
set many times. Its full format is: 'proto:domain:port',
allowing to set restrictions on protocol and port as well.
Protocol and port are optional. </p>
<span class="emphasis"><em></em></span>alias core parameter (<a
moz-do-not-send="true"
href="http://www.kamailio.org/wiki/cookbooks/devel/core#alias">http://www.kamailio.org/wiki/cookbooks/devel/core#alias</a>):<br>
<br>
<div style="margin-left:40px">Parameter to set alias hostnames
for the server. It can be set many times, each value being
added in a list to match the hostname when 'myself' is
checked.<br>
</div>
<div><br>
</div>
<div>Is the only difference that corex alias_subdomains can
include 'proto' ?<br>
</div>
<div><br>
</div>
<br>
</div>
</blockquote>
alias can be also a proto:domain:port.<br>
<br>
The difference is that alias is about specifying the full domain as
value to match, while alias_subdomains is about matching any
subdomain part of the value.<br>
<br>
For example:<br>
<br>
1) alias=xyz.com<br>
<br>
the myself will match only when value is "xyz.com".<br>
<br>
2) alias_subdomain=xyz.com<br>
<br>
the myself will match any of values such as: a.xyz.com, b.xyz.com,
c.d.xyz.com and the likely<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>