[OpenSER-Devel] [ openser-Bugs-1817384 ] [registrar] default_q is divides by 1000 instead of 100

SourceForge.net noreply at sourceforge.net
Sun Oct 21 17:58:56 CEST 2007


Bugs item #1817384, was opened at 2007-10-21 16:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1817384&group_id=139143

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: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [registrar] default_q is divides by 1000 instead of 100

Initial Comment:
Hi, according to "registrar" documentation in OpenSer 1.2.1:
  http://www.openser.org/docs/modules/1.2.x/registrar.html#AEN113

"the value in the parameter is divided by 100 and stored as float. For example, if you want default_q to be 0.38, use value 38 here."

But if I set in fact 38 then the stored value in "location" table in "q" column is 0.04 (0.038 rounded).

So, maybe the doc should be fixed ("...the parameter is divided by 1000...") or there is a bug in the module.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1817384&group_id=139143



More information about the Devel mailing list