[sr-dev] Outbound registrar.lookup() not ordering results by reg-id?

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon Mar 4 11:55:32 CET 2013


Hi,

I've been looking at caching the ruid and while reading the code I have 
not been able to understand how the contacts get correctly ordered for 
outbound.

The contacts should be ordered so that those with the lowest reg-id are 
the first tried for each ;+sip.instance.  However, I can't see any 
comparisons of reg-id anywhere (I've looked in usrloc, registrar, and 
the tm:t_..._contacts() functions).

Have I missed something or is this (like the parallel forking issue Olle 
reported from SIPit) another outbound registrar issue that we need to fix?

Thanks.

Peter



More information about the sr-dev mailing list