Somehow I got it that the destination that has the most matches is selected. As
we have ip. port, protocol and socket, I thought that if a record matches three
attributes (ip, port, protocol) is selected over another record that matches
two attributes (ip, socket). But as I could understand from the condition:
```
if(ds_strictness < node_strictness) {
ds_strictness = node_strictness;
ds_strictest_node = node;
ds_strictest_idx = j;
}
```
because of the flag for socket matching, the record matching (ip, socket) is
selected. Is this the desired behaviour. Somehow it has to be clear in the docs
how is the destination record selected.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3699#issuecomment-1898357955
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3699/c1898357...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org