Hello, although I haven't used myself so far, just in case is useful for someone, the permissions module should have support for loading domains from database and do dns lookup at startup/reload. It can be useful in case the lookup is wanted once.
Cheers, Daniel On 31.10.17 04:38, Alex Balashov wrote: > I think I found the answer in the ipops module. > > On Mon, Oct 30, 2017 at 11:32:40PM -0400, Alex Balashov wrote: > >> Hi, >> >> Is there a reasonable way, in Kamailio, to determine whether the source >> of a given SIP message is equivalent to the IP address to which a given >> DNS hostname resolves? >> >> i.e. >> >> if(src_ip == 'fqdn.domain.xyz') >> >> but not src_ip, obviously. >> >> I can't find any core keywords that would seem to fit the bill for a >> composite comparison. Any other options? >> >> -- Alex >> >> -- >> Alex Balashov | Principal | Evariste Systems LLC >> >> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) >> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com Kamailio World Conference - www.kamailioworld.com _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
