#### 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.patchhttps://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
Module: kamailio
Branch: master
Commit: 0997892bc9fe93fbd78d2ce239e71c15ba6a7e9f
URL: https://github.com/kamailio/kamailio/commit/0997892bc9fe93fbd78d2ce239e71c1…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-01-15T09:02:09+01:00
modules: readme files regenerated - dispatcher ... [skip ci]
---
Modified: src/modules/dispatcher/README
---
Diff: https://github.com/kamailio/kamailio/commit/0997892bc9fe93fbd78d2ce239e71c1…
Patch: https://github.com/kamailio/kamailio/commit/0997892bc9fe93fbd78d2ce239e71c1…
---
diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index faef52547c..058aa29379 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -1238,12 +1238,14 @@ onreply_route {
The states “a”, “i” or “t” can be followed by “p” to set probing
mode (e.g. 'ap', 'ip' or 'tp').
* _group_: destination group id
- * _address_: address of the destination in the _group_
+ * _address_: address of the destination in the _group_ or 'all' to
+ update all destinations in the group
Example:
...
# prototype: kamcmd dispatcher.set_state _state_ _group_ _address_
kamcmd dispatcher.set_state ip 2 sip:127.0.0.1:5080
+kamcmd dispatcher.set_state ip 3 all
...
5.2. dispatcher.list
[CodeTriage](https://www.codetriage.com/) is an app I have maintained
for the past 4-5 years with the goal of getting people involved in
Open Source projects like this one. The app sends subscribers a random
open issue for them to help "triage". For some languages you can also
suggested areas to add documentation.
The initial approach was inspired by seeing the work of the small
core team spending countless hours asking "what version was
this in" and "can you give us an example app". The idea is to
outsource these small interactions to a huge team of volunteers
and let the core team focus on their work.
I want to add a badge to the README of this project. The idea is to
provide an easy link for people to get started contributing to this
project. A badge indicates the number of people currently subscribed
to help the repo. The color is based off of open issues in the project.
Here are some examples of other projects that have a badge in their
README:
- https://github.com/crystal-lang/crystal
- https://github.com/rails/rails
- https://github.com/codetriage/codetriage
Thanks for building open source software, I would love to help you find some helpers.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1389
-- Commit Summary --
* [ci skip] Get more Open Source Helpers
-- File Changes --
M README.md (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1389.patchhttps://github.com/kamailio/kamailio/pull/1389.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/1389