Hi Agalya,
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 :
http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id293694
My understanding is you want the DNS resolving to be done at script
level and to have access to the results ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
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_retr_time
<https://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc44>” ,”dns_servers_no
<https://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc46>”
etc…
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?
Regards,
Agalya
_______________________________________________
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