Hello,
On 04.07.18 09:25, tyd wrote:
Dear all,
I'm trying Kamailio 5.1.4 and IMS module.
When registering to Kamailio IMS using the same ip and port for 30
users (different contact user part), the P-CSCF get the same hash
number and aor value.
The function get_aor_hash(_d, &_ci->via_host, _ci->via_port,
_ci->via_prot) in ims_usrloc_pcscf pcontact.c seems the problem.
Because hashing with host, port, prot will get the same hash value.
Anyone can help this ?
I am not using the ims module, but the hash id is typically
for speeding
up the searching, there can be collisions also for different values, so
I expect there is a matching rule on other attributes at some point, not
only the hash id.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com