Module: kamailio
Branch: master
Commit: 1d6c1d74ab028ca0d75c6cd9f6466a255b93d2d2
URL: 
https://github.com/kamailio/kamailio/commit/1d6c1d74ab028ca0d75c6cd9f6466a255b93d2d2

Author: Savolainen Dmitri <[email protected]>
Committer: Savolainen Dmitri <[email protected]>
Date: 2015-06-20T22:02:28+03:00

dispatcher: relative weight distribution added

- it is possible to assign "rweight" (relative weight) param to each host in 
destination group.
rweight is in the integer range from 1 to 100.
Active host usage probability is  rweight/(sum of all active host rweights in 
destination group).
So INACTIVE/DISABLED destinations are removed from probability calculation.

---

Modified: modules/dispatcher/dispatch.c
Modified: modules/dispatcher/dispatch.h
Modified: modules/dispatcher/dispatcher.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/1d6c1d74ab028ca0d75c6cd9f6466a255b93d2d2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/1d6c1d74ab028ca0d75c6cd9f6466a255b93d2d2.patch


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to