[Devel] Documentation clarification

Dan Pascu dan at ag-projects.com
Fri Oct 6 18:54:13 CEST 2006


I'm reading the paragraph in the usrloc module that explains the contact 
matching algorithms and the section quoted below seems a bit confusing:

     * contact based only - it strict RFC 3261 compliancy - the
       contact is matched as string and extra checked via callid
       and cseg (if callid is the same, it must have a higher
       cseq number, otherwise invalid).
     * contact and callid based - it an extension of the first
       case - the contact and callid must matched as string; the
       cseg must be higher than the previous one - so be careful
       how you deal with REGISTER retransmissions in this case.

Can someone explain what is the difference between the 2, because from the 
above quote they look very similar, considering that the contact-only one 
also looks for callid and cseq just like the second.

My guess is that the 1st method won't use the callid and cseq if there is 
only 1 contact that matches, while the 2nd will use the callid even if 
there is only 1 contact that matches. 

In any case I think the docs should be rephrased because they are 
confusing as they are.

-- 
Dan



More information about the Devel mailing list