#### 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