[ opensips-Patches-2786818 ] fix: cpl - priority not set correctly when Q_UNSPECIFIED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Patches-2786818 ] fix: cpl - priority not set correctly when Q_UNSPECIFIED

SourceForge.net
Patches item #2786818, was opened at 2009-05-04 15:34
Message generated for change (Tracker Item Submitted) made by john_riordan
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2786818&group_id=232389

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.
Category: modules
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Riordan (john_riordan)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix: cpl - priority not set correctly when Q_UNSPECIFIED

Initial Comment:
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)
...
Section 5.1
...
"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
of 1.0."
...
Section 6.1.1
...
"SIP servers SHOULD honor the "q" parameter of SIP registrations when
determining location priority."


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2786818&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel