[sr-dev] [kamailio/kamailio] Dispatcher set_state "all" (#1399)

Timmo Verlaan notifications at github.com
Sun Jan 14 17:05:22 CET 2018


#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description
<!-- Describe your changes in detail -->
Adds a new option to RPC command `dispatcher.set_state` to bulk update all destinations as part of a dispatcher set. The way we use dispatcher sets this comes in handy in a few cases.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1399

-- Commit Summary --

  * dispatcher: add method to reinit state for all destinations in group
  * dispatcher: allow 'all' to update all destinations in group via RPC

-- File Changes --

    M src/modules/dispatcher/dispatch.c (33)
    M src/modules/dispatcher/dispatch.h (1)
    M src/modules/dispatcher/dispatcher.c (10)
    M src/modules/dispatcher/doc/dispatcher_admin.xml (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1399.patch
https://github.com/kamailio/kamailio/pull/1399.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1399
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180114/b44ae4fb/attachment.html>


More information about the sr-dev mailing list