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

Thanks.
Daniel



2013/11/21 Mike Tesliuk <[email protected]>

> http://www.opensips.org/Documentation/Script-Tran#toc63
>
>
> 2013/11/21 Daniel Nihlén <[email protected]>
>
>>  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
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to