[sr-dev] Registrar lookup function - check for local socket before path
Olle E. Johansson
oej at edvina.net
Sun Sep 15 09:33:20 CEST 2013
14 sep 2013 kl. 20:32 skrev Juha Heinanen <jh at tutpro.com>:
> Charles Chance writes:
>
>> Yes, we could use a separate table for each registrar and replicate
>> registrations to all of them. But we still need to add Path to ensure
>> invites etc go via the server each client used to register (due to client
>> NAT). And if that is local to the lookup, it still makes sense to ignore
>> the path as it is itself.
>
> load_contacts() automatically prioritizes contacts so that one without
> path has higher priority. so, no changes are needed to current code.
Why?
/O
More information about the sr-dev
mailing list