[OpenSIPS-Users] Checking src IP against addresses from DNS?

Mike Tesliuk mike at ultra.net.br
Thu Nov 21 18:10:39 CET 2013


http://www.opensips.org/Documentation/Script-Tran#toc63


2013/11/21 Daniel Nihlén <daniel at grandtotal.se>

>  Hi,
>
> Any way to have openSIPS check source IP according to dns.
>
> Now for example:
> if(src_ip==10.10.10.10 || src_ip==11.11.11.11)
>
> I would like:
> if(src_ip==parterfqdn.com)
>
> and source ip to be compared with any ip available from dns for
> partnerfqdn.com, a-record, srv for different transport etc.
>
> Does any one know if there is any built in function to achieve this? Or a
> recommended solution.
>
> Thanks
> Daniel Nihlén
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131121/faf80304/attachment.htm>


More information about the Users mailing list