Thank you for your reply Karsten,
The distinction between the auto-incremented IDs and the manually-chosen setid is clear to me. The issue is how to pick the same entry from the same setid when a pvar resolves to the same value in an algorithm that takes said pvar into account for a hash:
Say KamA has:
set_id_100_members:
* id: 0, setid: 100, destination: sip:b2b1.domain.com...
* id: 1, setid: 100, destination: sip:b2b2.domain.com...
and KamB has:
* id: 7, setid: 100, destination: sip:b2b1.domain.com...
* id: 9, setid: 100, destination: sip:b2b1.domain.com...
Now, say that $fU is used as the value to be hashed over for dispatcher. How does one ensure that for $fU = 'alice', both KamA and KamB will choose the same destination, for example
b2b2.domain.com
Obviously, both need to be configured with setid 100, but do other things play a role, such as the way the destination is presented (e.g. sip:
b2b2.domain.com;xdesc=b2b-east might refer to the same host as sip:
b2b2.domain.com or sip:3.3.3.3, but does it affect dispatcher in any way)? Similarly, how about the fact that these dispatcher destinations are in reversed order, or that their auto-increment IDs are different?
I hope this clarifies my question. Thanks!
BR,
George