[OpenSIPS-Users] DNS-SRV query in opensips
bogdan at opensips.org
Tue Jun 21 09:41:04 CEST 2016
OpenSIPS does full flavor DNS lookup (with NATPR and SRV), but this is
internal, and not accessible from script. OpenSIPS implements auto
DNS-based failover :
My understanding is you want the DNS resolving to be done at script
level and to have access to the results ?
OpenSIPS Founder and Developer
On 20.06.2016 20:35, Ramachandran, Agalya (Contractor) wrote:
> Hi team,
> We are using opensips for our project requirements.
> I have a scenario where we need DNS-SRV query and the result of this
> should be placed as the desturi to send request out.(In case of
> forking call)
> As far as I went through opensips documentation, there are some core
> parameters for dns related config such as “dns_retr_time
> <https://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc44>” ,”dns_servers_no
> According to my understanding these config variables can be declared
> and used in the opensips.config file to control the settings of DNS query.
> Is there any available function where I can use and pass the DNS
> server domain name, so that it fetches the IP address of the host ?
> Please let us know what is the best way to achieve this?
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users