[OpenSIPS-Users] DNS based failover after alternate routes.

Ali Dogan alidogan at plan.com
Thu Jan 23 14:45:30 UTC 2025


Hello Bogdan,

Thank you for response however, this is also failed.

With debug logs enabled.

/usr/local/sbin/opensips[722026]: DBG:core:mk_proxy: doing DNS lookup...
/usr/local/sbin/opensips[722026]: DBG:core:sip_resolvehost: no port, no proto -> do NAPTR lookup!
/usr/local/sbin/opensips[722026]: DBG:core:get_record: lookup(<DOMAIN_NAME>, 35) failed
/usr/local/sbin/opensips[722026]: DBG:core:sip_resolvehost: no valid NAPTR record found for <DOMAIN_NAME, trying direct SRV lookup...
/usr/local/sbin/opensips[722026]: DBG:core:get_record: lookup(_sip._udp.<DOMAIN_NAME>, 33) failed
/usr/local/sbin/opensips[722026]: DBG:core:sip_resolvehost: no valid SRV record found for <DOMAIN_NAME>, trying A record lookup...

Also, the version I'm using,

version: opensips 3.5.2 (x86_64/linux)



Ali Dogan
+44(0)3300 88 18 18
alidogan at plan.com
plan.com is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
________________________________
From: Bogdan-Andrei Iancu <bogdan at opensips.org>
Sent: Thursday, January 23, 2025 16:47
To: OpenSIPS users mailling list <users at lists.opensips.org>; Ali Dogan <alidogan at plan.com>
Subject: Re: [OpenSIPS-Users] DNS based failover after alternate routes.


This message was sent from outside plan.com. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe.

Hi Ali,

try:
 t_relay("no-dns-failover")

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com<https://www.opensips-solutions.com/>
  https://www.siphub.com<https://www.siphub.com/>

On 23.01.2025 11:45, Ali Dogan wrote:
Hello All,

My problem openSIPS is doing DNS based failover/routing after trying every available route and I don't want this to be happening. What I tried so far is adding following parameters to my config but it didn't work;

disable_dns_failover=yes
alias=<domain_name_opensips_resolving>


Is there any way to achieve what I need?

Best Regards,

Ali Dogan​​​​

[plan.com]<http://www.plan.com/>

+44(0)3300 88 18 18<tel:+44(0)3300%2088%2018%2018>

alidogan at plan.com<mailto:alidogan at plan.com>

[Facebook]<https://www.facebook.com/plan.im>

[Instagram]<https://www.instagram.com/plandotcom>

[LinkedIn]<https://www.linkedin.com/company/plan-com>



[http://www.plan.com/signatures/v4/2024-awards-logos.png]

plan.com<http://www.plan.com/> is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.



_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto: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/20250123/60c1e180/attachment-0001.html>


More information about the Users mailing list