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

Daniel Nihlén daniel at grandtotal.se
Fri Nov 22 11:23:06 CET 2013


Seems it does not resolve srv, but its works for a-names.

Thanks.
Daniel



2013/11/21 Mike Tesliuk <mike at ultra.net.br>

> 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
>>
>>
>
> _______________________________________________
> 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/20131122/69e72b86/attachment.htm>


More information about the Users mailing list