Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: John Riordan (john_riordan)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix: cpl - priority not set correctly when Q_UNSPECIFIED
CPL "lookup" is not checking for the possibility that a contact's q-value could be Q_UNSPECIFIED when setting a locations "priority".
The patch adds this check and sets the priority to "1.0" in accordance with RFC3880 (CPL)
"The optional "priority" parameter specifies a priority for the
location. Its value is a floating-point number between 0.0 and 1.0.
If it is not specified, the server SHOULD assume a default priority
"SIP servers SHOULD honor the "q" parameter of SIP registrations when
determining location priority."