Added optional parameter [dsts_cnt] to lb_start/next family of functions that 
holds a string containing an integer PV (pseudo-variable) where the total 
number of matching destinations (regardless of their capacity) will be stored.

This could be used to distinguish between 'no capacity' and 'no destinations 
left' situations upon a failure to find out an available destination.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/662

-- Commit Summary --

  * Merge pull request #1 from OpenSIPS/master
  * Merge pull request #2 from OpenSIPS/master
  * Added optional parameter [dsts_cnt] to lb_start/next family of functions 
that holds a

-- File Changes --

    M modules/load_balancer/README (26)
    M modules/load_balancer/doc/load_balancer_admin.xml (36)
    M modules/load_balancer/lb_data.c (22)
    M modules/load_balancer/lb_data.h (4)
    M modules/load_balancer/load_balancer.c (97)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/662.patch
https://github.com/OpenSIPS/opensips/pull/662.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/662
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to