Hello,
indeed, if the value of the pv is the same, it should be the same hash id and same destination selected, if they are the in the same order.
Therefore the first thing to check is the list of the dispatcher records in memory via rpc/mi. If you stored the dispatcher records in database, I noticed that the mysql server can return different order for there records when doing something like 'select * ...'. To ensure a specific order always, you can set the priority value even if you don't use priority based routing algorithm.
Otherwise, there was no change to the dispatcher code related to
this algorithm between 4.3.4 and 4.3.7.
Cheers,
Daniel
Hi,
I have multiple Kamailio instances using dispatcher using alg “7” - hash over the content of PVs string, both using the same dispatcher list.
Is it reasonable to expect both Kamailio, given the same hash_pvar, to select the same host from the same set?Looking at the source I do not see any reason why not, but I am getting different results from the two Kamailio servers. The only difference between them is different minor version numbers - 4.3.4 and 4.3.7
I want to ensure that calls with the same hash_pvar value go to the same backend no matter which Kamailio processes the request.
Thanks!
-Barry Flanagan
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com