[OpenSIPS-Users] IP address list from SRV/NAPTR records
Mickael HUBERT
mickael at winlux.fr
Wed Jul 24 16:29:43 CEST 2013
Hi jef,
I advice you to use the perl module OpenSIPS, and create a perl
function. This is what I do to get the fields in resolv NAPTR
++
Le 24/07/2013 14:50, Jeff Pyle a écrit :
> Hello,
>
> Is there a way to extract an IP address list from SRV and/or NAPTR
> records from within the script?
>
> I have an application where outbound traffic will be relayed via SRV
> or NAPTR. Those name records ultimately resolve to about 4 different
> IP addresses after you take into consideration priorities, weights,
> etc. I'd like to learn and store those 4 IP addresses so I can do
> IP-based authentication on inbound calls from the same network.
>
> Another way to look at this is that I'm looking for a dynamic address
> table-like list of IP addresses resolved from SRV or NAPTR.
>
>
> - Jeff
>
>
>
> _______________________________________________
> 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/20130724/cdbe392a/attachment.htm>
More information about the Users
mailing list