[SR-Users] Source comparisons by DNS hostname

Alex Balashov abalashov at evaristesys.com
Tue Oct 31 04:38:35 CET 2017


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

-- 
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