Hello, On 05/08/15 17:30, Iwan Aucamp wrote: > From the descriptions these seem similar: > > corex alias_subdomains > (http://kamailio.org/docs/modules/devel/modules/corex.html#idp18017160): > > Register a domain and all its sub-domains to match the “myself” > 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. > > //alias core parameter > (http://www.kamailio.org/wiki/cookbooks/devel/core#alias): > > 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. > > Is the only difference that corex alias_subdomains can include 'proto' ? > > alias can be also a proto:domain:port.
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. For example: 1) alias=xyz.com the myself will match only when value is "xyz.com". 2) alias_subdomain=xyz.com the myself will match any of values such as: a.xyz.com, b.xyz.com, c.d.xyz.com and the likely Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users