<div dir="auto"><div>Hi Georg, </div><div dir="auto"><br></div><div dir="auto">setid is not an autoincrement. </div><div dir="auto"><br></div><div dir="auto">See the DB structure information (should be to your version) </div><div dir="auto"><a href="https://kamailio.org/docs/db-tables/kamailio-db-5.1.x.html#idm1963">https://kamailio.org/docs/db-tables/kamailio-db-5.1.x.html#idm1963</a><br></div><div dir="auto"><br></div><div dir="auto">I group my targets with the setid. That's maybe the name "sets of id's" </div><div dir="auto"><br></div><div dir="auto">So all with the same id would be taken if the are active and how you call them from your kamailio.cfg. </div><div dir="auto"><br></div><div dir="auto">The other question is an implementation one. I don't understand the problem completely. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">George Diamantopoulos <<a href="mailto:georgediam@gmail.com">georgediam@gmail.com</a>> schrieb am Mi., 20. Mai 2020, 19:42:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello all,</div><div><br></div><div>I need to have two separate kamailio instances' dispatcher modules make the same decisions when using algorithm 7 (hash over pvar). What do I need to do to ensure this?</div><div><br></div><div>Note that for design reasons, the two instances cannot share a dispatcher table from db. If I ensure the "setid" group used for algo 7 in the respective cases contain the same group of hosts, is it enough? Do other things matter, such as the ordering of the group members in the table (i.e. different AUTO INCREMENT ids?). Does the setid need to be the same number? Do I need to ensure the 'destination' values are identical (i.e. not using IPs for dispatcher table A and hostnames for dispatcher table B)?<br></div><div><br></div><div>If someone knows what the criteria is for matching a hashed pvar to a member of a dispatcher setid and how this can be made deterministic, I would be grateful. Thanks!</div><div><br></div><div>BR,</div><div>George<br></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>