Re: [OpenSIPS-Users] IP address list from SRV/NAPTR records

2013-08-06 Thread Vlad Paiu
Hello, While it may not be that straight-forward, you might want to take a look at the dispatcher module. The dispatcher module does full NAPTR and SRV lookups for the hosts in the dispatcher table. So you could add your needed domains to the dispatcher table and then in your OpenSIPS

Re: [OpenSIPS-Users] IP address list from SRV/NAPTR records

2013-08-06 Thread Jeff Pyle
That'll work. Thanks, Vlad. - Jeff On Tue, Aug 6, 2013 at 3:42 PM, Vlad Paiu vladp...@opensips.org wrote: Hello, While it may not be that straight-forward, you might want to take a look at the dispatcher module. The dispatcher module does full NAPTR and SRV lookups for the hosts in

[OpenSIPS-Users] IP address list from SRV/NAPTR records

2013-07-24 Thread Jeff Pyle
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

Re: [OpenSIPS-Users] IP address list from SRV/NAPTR records

2013-07-24 Thread Mickael HUBERT
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