[SR-Users] Source comparisons by DNS hostname
miconda at gmail.com
Tue Oct 31 10:20:10 CET 2017
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.
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:
>> 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?
>> 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 at lists.kamailio.org
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
More information about the sr-users