[SR-Users] Source comparisons by DNS hostname

Alex Balashov abalashov at evaristesys.com
Tue Oct 31 04:32:40 CET 2017


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/



More information about the sr-users mailing list