[sr-dev] [kamailio/kamailio] Localy generated transaction with dns failover and socket forcing (Issue #2987)

Dennis notifications at github.com
Tue Jan 4 10:29:15 CET 2022


Hi @oej !

Disagree about "I would not expect DNS round robin to work with failover. Just load balancing.", according to doc:
```
use_dns_failover = on |off - if on and sending a request fails (due to not
      being allowed from an onsend_route, send failure, blocklisted destination
      or, when using tm, invite timeout), and the destination resolves to
      multiple ip addresses and/or multiple SRV records, the send will be
      re-tried using the next ip/record. In tm's case a new branch will be
      created for each new send attempt.
```
And if we comment out the strings which modify Via hiader in the scenario above:
```
//        $fs = "udp:IPADDR_THISNODE:5060";
//      This have the same effect as forcing socket
//        via_add_srvid(1);
```
We have the following signaling exchange:
![Screenshot_20220104_121809](https://user-images.githubusercontent.com/26491743/148036789-f614d2de-2f61-43c2-907c-3fac61e23c5d.png)

If uncomment any of the statement which modify Via then error appear as described in the first post .


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2987#issuecomment-1004649991
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/2987/1004649991 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220104/3a30c841/attachment-0001.htm>


More information about the sr-dev mailing list