Alex Balashov schrieb:
Greetings,
I've got a small problem with how registration lookups work.
I have several concurrent registrations from one PBX that have multiple contact URIs that they declare that aren't the same; they contain the DIDs to route a call to. So, for instance, in Asterisk:
register => user:pass@registrar/DID1 register => user:pass@registrar/DID2
Of course, lookup() doesn't care what those contacts actually are. If it sees multiple contacts for one username, t_relay() will simply create branches for all of them and and ring them all. I can't actually have that happen.
Sorry - but I do not see the problem. If somebody registers multiple contacts for the same AoR this means it really wants to receive multiple INVITEs. If this is not wanted, then it should not register multiple times.
regards klaus