#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit (if not, squash them into one commit)
#### Type Of Change - [x] refactoring, and better handling of miss configuration
#### Checklist: <!-- Go over all points below, and after creating the PR, tick the checkboxes that apply --> - [] Tested changes locally
#### Description - decouple latency update with congestion control further - decouple congestion control with weighted congestion control and make sure that miss-configuration (no positive weight and/or no cc attributes) are handle gracefully) - fix an error in the doc
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2521
-- Commit Summary --
* dispatcher: congestion control refactoring
-- File Changes --
M src/modules/dispatcher/dispatch.c (72) M src/modules/dispatcher/doc/dispatcher_admin.xml (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2521.patch https://github.com/kamailio/kamailio/pull/2521.diff