瀏覽代碼

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

Kamailio Dev 6 年之前
父節點
當前提交
daf09dfbb2
共有 1 個文件被更改,包括 24 次插入0 次删除
  1. 24 0
      src/modules/dispatcher/README

+ 24 - 0
src/modules/dispatcher/README

@@ -125,6 +125,7 @@ Julien Chavanton
               5.3. dispatcher.reload
               5.3. dispatcher.reload
               5.4. dispatcher.ping_active
               5.4. dispatcher.ping_active
               5.5. dispatcher.add
               5.5. dispatcher.add
+              5.6. dispatcher.remove
 
 
         6. Installation and Running
         6. Installation and Running
 
 
@@ -269,6 +270,7 @@ Chapter 1. Admin Guide
         5.3. dispatcher.reload
         5.3. dispatcher.reload
         5.4. dispatcher.ping_active
         5.4. dispatcher.ping_active
         5.5. dispatcher.add
         5.5. dispatcher.add
+        5.6. dispatcher.remove
 
 
    6. Installation and Running
    6. Installation and Running
 
 
@@ -1378,6 +1380,7 @@ onreply_route {
    5.3. dispatcher.reload
    5.3. dispatcher.reload
    5.4. dispatcher.ping_active
    5.4. dispatcher.ping_active
    5.5. dispatcher.add
    5.5. dispatcher.add
+   5.6. dispatcher.remove
 
 
 5.1.  dispatcher.set_state
 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
 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. Installation and Running
 
 
    6.1. Destination List File
    6.1. Destination List File