Hello,

I need some clarification on the new “sort_alg” columns added to the DROUTING 
module tables in 3.x.

The column was added to the DrRules table, and the documentation has been 
updated to reflect that the “W” flag passed to do_routing is now deprecated and 
has been replaced by the value in the table column. That is clear.

However, the sort_alg column was also added to the DrCarriers table. Previously 
this was specified using the flags column in the table. The Database Schema [1] 
description for the flags column has been updated to include the flags (they 
were not listed here before), and the weight flag is not listed. However, the 
description states that the remaining flags are the first and second bits, 
where previously the weighting flag was the first bit. Have these bits really 
been shifted when the weighting flag was removed?

It is not clear because the module documentation [2] has not been updated for 
the DrCarrier change. It still lists all flags, including the weight flag as 
the first bit, and does not mention the new sort_alg column at all.

Can anyone clarify the expected behavior here? Were the values for the flags 
column changed as part of removing the weight flag?

[1] https://www.opensips.org/Documentation/Install-DBSchema-3-2#AEN5138
[2] https://opensips.org/docs/modules/3.2.x/drouting.html#idp170896

Ben Newlin
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to