[OpenSER-Devel] irc on domains for rr module
Juha Heinanen
jh at tutpro.com
Wed Feb 20 23:43:04 CET 2008
there was also irc discussion on making rr module check if a domain in
route uri is local. i recently implemented in domain module capability
to check from other modules if domain is local:
domain_api_t domain_api;
bind_domain_t bind_domain;
bind_domain = (bind_domain_t)find_export("bind_domain", 0, 0);
bind_domain(&domain_api);
if (domain_api.is_domain_local(&domain)) ...
perhaps it could be used by rr module (if rr user wants to do such a
check).
making domain module to import its domains as aliases seems a more
complicated and hack like solution to me.
-- juha
More information about the Devel
mailing list