[sr-dev] git:master:daf09dfb: modules: readme files regenerated - dispatcher ... [skip ci]

Kamailio Dev kamailio.dev at kamailio.org
Mon Mar 11 09:47:04 CET 2019


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

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2019-03-11T09:46:42+01:00

modules: readme files regenerated - dispatcher ... [skip ci]

---

Modified: src/modules/dispatcher/README

---

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

---

diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index de510807ca..2438ded0c5 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -125,6 +125,7 @@ Julien Chavanton
               5.3. dispatcher.reload
               5.4. dispatcher.ping_active
               5.5. dispatcher.add
+              5.6. dispatcher.remove
 
         6. Installation and Running
 
@@ -269,6 +270,7 @@ Chapter 1. Admin Guide
         5.3. dispatcher.reload
         5.4. dispatcher.ping_active
         5.5. dispatcher.add
+        5.6. dispatcher.remove
 
    6. Installation and Running
 
@@ -1378,6 +1380,7 @@ onreply_route {
    5.3. dispatcher.reload
    5.4. dispatcher.ping_active
    5.5. dispatcher.add
+   5.6. dispatcher.remove
 
 5.1.  dispatcher.set_state
 
@@ -1485,6 +1488,27 @@ kamcmd dispatcher.add 2 sip:127.0.0.1:5080
 kamcmd dispatcher.add 3 sip:127.0.0.1:5075 8
 ...
 
+5.6.  dispatcher.remove
+
+   Remove a destination address from the in-memory dispatcher list.
+   Reloading the dispatcher from file or database will re-add destinations
+   that are removed using this command.
+
+   This command will remove all entries that match the group and address.
+
+   Name: dispatcher.remove
+
+   Parameters:
+     * _group_: destination group id
+     * _address_: address of the destination in the _group_
+
+   Example:
+...
+# prototype: kamcmd dispatcher.remove _group_ _address_
+kamcmd dispatcher.remove 2 sip:127.0.0.1:5080
+kamcmd dispatcher.remove 3 sip:127.0.0.1:5075;transport=udp
+...
+
 6. Installation and Running
 
    6.1. Destination List File




More information about the sr-dev mailing list