#87 fix: cpl - priority not set correctly when Q_UNSPECIFIED

1.5.x
closed-accepted
modules (179)
5
2009-05-05
2009-05-04
No

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."

Discussion

  • John Riordan

    John Riordan - 2009-05-04
     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-accepted
     
  • Bogdan-Andrei Iancu

    Hi John,

    Thanks for the patch - I applied it on trunk, 1.5 and 1.4 OpenSIPS versions.

    Regards,
    Bogdan

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks