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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users