@routr/ctl 2.0.8-alpha.21 → 2.0.8-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/countries.js +3 -0
- package/oclif.manifest.json +1209 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @routr/ctl
|
|
|
20
20
|
$ rctl COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ rctl (--version)
|
|
23
|
-
@routr/ctl/2.0.8-alpha.
|
|
23
|
+
@routr/ctl/2.0.8-alpha.23 darwin-x64 node-v16.18.1
|
|
24
24
|
$ rctl --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ rctl COMMAND
|
|
@@ -279,7 +279,7 @@ EXAMPLES
|
|
|
279
279
|
$ rctl autocomplete --refresh-cache
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.
|
|
282
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.4.2/src/commands/autocomplete/index.ts)_
|
|
283
283
|
|
|
284
284
|
## `rctl credentials create`
|
|
285
285
|
|
|
@@ -667,7 +667,7 @@ EXAMPLES
|
|
|
667
667
|
$ rctl plugins
|
|
668
668
|
```
|
|
669
669
|
|
|
670
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.
|
|
670
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.2.3/src/commands/plugins/index.ts)_
|
|
671
671
|
|
|
672
672
|
## `rctl plugins:install PLUGIN...`
|
|
673
673
|
|
package/dist/countries.js
CHANGED
|
@@ -20,6 +20,9 @@ exports.countries = void 0;
|
|
|
20
20
|
* limitations under the License.
|
|
21
21
|
*/
|
|
22
22
|
exports.countries = [
|
|
23
|
+
// Special for situations where we don't want to specify a country
|
|
24
|
+
// this would not work if the ENFORCE_E164 flag is set to true
|
|
25
|
+
{ name: "Unknown", value: "XX" },
|
|
23
26
|
{ name: "Afghanistan", value: "AF" },
|
|
24
27
|
{ name: "Åland Islands", value: "AX" },
|
|
25
28
|
{ name: "Albania", value: "AL" },
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1,1209 @@
|
|
|
1
|
-
{"version":"2.0.8-alpha.21","commands":{"acl:create":{"id":"acl:create","description":"Creates a new ACL","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating ACL US Eeast... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"acl:delete":{"id":"acl:delete","description":"Deletes an Access Control List","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"acl:get":{"id":"acl:get","description":"Shows a list of paginated ACLs or a single ACL if a ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n9e7a88f0-8390-42f5-a2cb-689583ba9f4f Local Network ACL 0.0.0.0/0 10.0.0.28 \n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to an ACL","required":false}]},"acl:update":{"id":"acl:update","description":"Updates an existing ACL","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating ACL US East... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an ACL","required":true}]},"agents:create":{"id":"agents:create","description":"Creates a new Agent","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Agent Jhon Doe... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"agents:delete":{"id":"agents:delete","description":"Deletes an Agent","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"agents:get":{"id":"agents:get","description":"Shows a list of paginated Agents or a single Agent if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Username Domain Privacy Enabled\nd31f5fb8-e367-42f7-9884-1a7999f53fe8 John Doe jdoe sip.local PRIVATE Yes\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"The number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"Optional Agents reference","required":false}]},"agents:update":{"id":"agents:update","description":"Updates an existing Agent","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Agent John Doe... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing Agent","required":true}]},"credentials:create":{"id":"credentials:create","description":"Creates a new set of Credentials","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Credentials JDoe Access... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"credentials:delete":{"id":"credentials:delete","description":"Deletes a set of Credentials","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"credentials:get":{"id":"credentials:get","description":"Shows a list of paginated Credentials or a single set if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n80181ca6-d4aa-4575-9375-8f72b07d6666 Europe ACL 0.0.0.0/0 10.0.0.25 \n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to a set of Credentials","required":false}]},"credentials:update":{"id":"credentials:update","description":"Updates an existing set of Credentials","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Credentials JDoe Credentials... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing set of Credentials","required":true}]},"domains:create":{"id":"domains:create","description":"Creates a new set Domain","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Domain Local Domain... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"domains:delete":{"id":"domains:delete","description":"Deletes a Domain","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"domains:get":{"id":"domains:get","description":"Shows a list of paginated Domains or a single Domain if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name URI \nab2b6959-f497-4b14-903b-85a7c464b564 Local Domain sip.local\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to a Domain","required":false}]},"domains:update":{"id":"domains:update","description":"Updates an existing Domain","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Domain Local... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing Domain","required":true}]},"numbers:create":{"id":"numbers:create","description":"Creates a new Number","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Number (784) 317-8170... a134487f-a668-4509-9ddd-dcbc98175468\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"numbers:delete":{"id":"numbers:delete","description":"Deletes a Number","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"numbers:get":{"id":"numbers:get","description":"Shows a list of paginated Numbers or a single Number if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Telephony URL AOR Link Geo \na134487f-a668-4509-9ddd-dcbc98175468 (785) 317-8070 +17853178070 sip:1001@sip.local Cameron, USA (US)\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to a Number","required":false}]},"numbers:update":{"id":"numbers:update","description":"Updates an existing set of Credentials","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Number (785) 317-8070... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing Number","required":true}]},"peers:create":{"id":"peers:create","description":"Creates a new Peer","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Peer Asterisk Conference... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"peers:delete":{"id":"peers:delete","description":"Deletes a Peer","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"peers:get":{"id":"peers:get","description":"Shows a list of paginated Peers or a single Peer if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Username AOR Balancing Algorithm Session Affinity \n6f941c63-880c-419a-a72a-4a107cbaf5c5 Asterisk Conference conference backend:conference ROUND_ROBIN Yes \n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to a Peer","required":false}]},"peers:update":{"id":"peers:update","description":"Updates an existing Peer","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Peer Asterisk Conf... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing Peer","required":true}]},"trunks:create":{"id":"trunks:create","description":"Creates a new Trunk","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nCreating Trunk T01... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[]},"trunks:delete":{"id":"trunks:delete","description":"Deletes a Trunk","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref"}]},"trunks:get":{"id":"trunks:get","description":"Shows a list of paginated Trunks or a single Trunk if ref is provided","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nRef Name Inbound SIP URI \n8cde8ea9-3c58-4dbe-b2cf-23c4413dd4cc Local sip.t01.provider.net\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"},"size":{"name":"size","type":"option","char":"s","description":"the number of items to return","multiple":false,"default":50}},"args":[{"name":"ref","description":"optional reference to a Trunk","required":false}]},"trunks:update":{"id":"trunks:update","description":"Updates an existing Trunk","strict":true,"pluginName":"@routr/ctl","pluginAlias":"@routr/ctl","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>\nUpdating Trunk T01... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"],"flags":{"extended":{"name":"extended","type":"boolean","char":"x","description":"extended output format","allowNo":false},"insecure":{"name":"insecure","type":"boolean","char":"i","description":"allow insecure connections to the routr server","allowNo":false},"endpoint":{"name":"endpoint","type":"option","char":"e","description":"endpoint to connect to the routr server","multiple":false,"default":"localhost:51907"}},"args":[{"name":"ref","description":"reference to an existing Trunk","required":true}]}}}
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.8-alpha.23",
|
|
3
|
+
"commands": {
|
|
4
|
+
"acl:create": {
|
|
5
|
+
"id": "acl:create",
|
|
6
|
+
"description": "Creates a new ACL",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"pluginName": "@routr/ctl",
|
|
9
|
+
"pluginAlias": "@routr/ctl",
|
|
10
|
+
"pluginType": "core",
|
|
11
|
+
"aliases": [],
|
|
12
|
+
"examples": [
|
|
13
|
+
"<%= config.bin %> <%= command.id %>\nCreating ACL US Eeast... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
14
|
+
],
|
|
15
|
+
"flags": {
|
|
16
|
+
"extended": {
|
|
17
|
+
"name": "extended",
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"char": "x",
|
|
20
|
+
"description": "extended output format",
|
|
21
|
+
"allowNo": false
|
|
22
|
+
},
|
|
23
|
+
"insecure": {
|
|
24
|
+
"name": "insecure",
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"char": "i",
|
|
27
|
+
"description": "allow insecure connections to the routr server",
|
|
28
|
+
"allowNo": false
|
|
29
|
+
},
|
|
30
|
+
"endpoint": {
|
|
31
|
+
"name": "endpoint",
|
|
32
|
+
"type": "option",
|
|
33
|
+
"char": "e",
|
|
34
|
+
"description": "endpoint to connect to the routr server",
|
|
35
|
+
"multiple": false,
|
|
36
|
+
"default": "localhost:51907"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"args": {}
|
|
40
|
+
},
|
|
41
|
+
"acl:delete": {
|
|
42
|
+
"id": "acl:delete",
|
|
43
|
+
"description": "Deletes an Access Control List",
|
|
44
|
+
"strict": true,
|
|
45
|
+
"pluginName": "@routr/ctl",
|
|
46
|
+
"pluginAlias": "@routr/ctl",
|
|
47
|
+
"pluginType": "core",
|
|
48
|
+
"aliases": [],
|
|
49
|
+
"examples": [
|
|
50
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
51
|
+
],
|
|
52
|
+
"flags": {
|
|
53
|
+
"extended": {
|
|
54
|
+
"name": "extended",
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"char": "x",
|
|
57
|
+
"description": "extended output format",
|
|
58
|
+
"allowNo": false
|
|
59
|
+
},
|
|
60
|
+
"insecure": {
|
|
61
|
+
"name": "insecure",
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"char": "i",
|
|
64
|
+
"description": "allow insecure connections to the routr server",
|
|
65
|
+
"allowNo": false
|
|
66
|
+
},
|
|
67
|
+
"endpoint": {
|
|
68
|
+
"name": "endpoint",
|
|
69
|
+
"type": "option",
|
|
70
|
+
"char": "e",
|
|
71
|
+
"description": "endpoint to connect to the routr server",
|
|
72
|
+
"multiple": false,
|
|
73
|
+
"default": "localhost:51907"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"args": {
|
|
77
|
+
"ref": {
|
|
78
|
+
"name": "ref"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"acl:get": {
|
|
83
|
+
"id": "acl:get",
|
|
84
|
+
"description": "Shows a list of paginated ACLs or a single ACL if a ref is provided",
|
|
85
|
+
"strict": true,
|
|
86
|
+
"pluginName": "@routr/ctl",
|
|
87
|
+
"pluginAlias": "@routr/ctl",
|
|
88
|
+
"pluginType": "core",
|
|
89
|
+
"aliases": [],
|
|
90
|
+
"examples": [
|
|
91
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n9e7a88f0-8390-42f5-a2cb-689583ba9f4f Local Network ACL 0.0.0.0/0 10.0.0.28 \n"
|
|
92
|
+
],
|
|
93
|
+
"flags": {
|
|
94
|
+
"extended": {
|
|
95
|
+
"name": "extended",
|
|
96
|
+
"type": "boolean",
|
|
97
|
+
"char": "x",
|
|
98
|
+
"description": "extended output format",
|
|
99
|
+
"allowNo": false
|
|
100
|
+
},
|
|
101
|
+
"insecure": {
|
|
102
|
+
"name": "insecure",
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"char": "i",
|
|
105
|
+
"description": "allow insecure connections to the routr server",
|
|
106
|
+
"allowNo": false
|
|
107
|
+
},
|
|
108
|
+
"endpoint": {
|
|
109
|
+
"name": "endpoint",
|
|
110
|
+
"type": "option",
|
|
111
|
+
"char": "e",
|
|
112
|
+
"description": "endpoint to connect to the routr server",
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"default": "localhost:51907"
|
|
115
|
+
},
|
|
116
|
+
"size": {
|
|
117
|
+
"name": "size",
|
|
118
|
+
"type": "option",
|
|
119
|
+
"char": "s",
|
|
120
|
+
"description": "the number of items to return",
|
|
121
|
+
"multiple": false,
|
|
122
|
+
"default": 50
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"args": {
|
|
126
|
+
"ref": {
|
|
127
|
+
"name": "ref",
|
|
128
|
+
"description": "optional reference to an ACL",
|
|
129
|
+
"required": false
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"acl:update": {
|
|
134
|
+
"id": "acl:update",
|
|
135
|
+
"description": "Updates an existing ACL",
|
|
136
|
+
"strict": true,
|
|
137
|
+
"pluginName": "@routr/ctl",
|
|
138
|
+
"pluginAlias": "@routr/ctl",
|
|
139
|
+
"pluginType": "core",
|
|
140
|
+
"aliases": [],
|
|
141
|
+
"examples": [
|
|
142
|
+
"<%= config.bin %> <%= command.id %>\nUpdating ACL US East... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
143
|
+
],
|
|
144
|
+
"flags": {
|
|
145
|
+
"extended": {
|
|
146
|
+
"name": "extended",
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"char": "x",
|
|
149
|
+
"description": "extended output format",
|
|
150
|
+
"allowNo": false
|
|
151
|
+
},
|
|
152
|
+
"insecure": {
|
|
153
|
+
"name": "insecure",
|
|
154
|
+
"type": "boolean",
|
|
155
|
+
"char": "i",
|
|
156
|
+
"description": "allow insecure connections to the routr server",
|
|
157
|
+
"allowNo": false
|
|
158
|
+
},
|
|
159
|
+
"endpoint": {
|
|
160
|
+
"name": "endpoint",
|
|
161
|
+
"type": "option",
|
|
162
|
+
"char": "e",
|
|
163
|
+
"description": "endpoint to connect to the routr server",
|
|
164
|
+
"multiple": false,
|
|
165
|
+
"default": "localhost:51907"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"args": {
|
|
169
|
+
"ref": {
|
|
170
|
+
"name": "ref",
|
|
171
|
+
"description": "reference to an ACL",
|
|
172
|
+
"required": true
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"agents:create": {
|
|
177
|
+
"id": "agents:create",
|
|
178
|
+
"description": "Creates a new Agent",
|
|
179
|
+
"strict": true,
|
|
180
|
+
"pluginName": "@routr/ctl",
|
|
181
|
+
"pluginAlias": "@routr/ctl",
|
|
182
|
+
"pluginType": "core",
|
|
183
|
+
"aliases": [],
|
|
184
|
+
"examples": [
|
|
185
|
+
"<%= config.bin %> <%= command.id %>\nCreating Agent Jhon Doe... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
186
|
+
],
|
|
187
|
+
"flags": {
|
|
188
|
+
"extended": {
|
|
189
|
+
"name": "extended",
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"char": "x",
|
|
192
|
+
"description": "extended output format",
|
|
193
|
+
"allowNo": false
|
|
194
|
+
},
|
|
195
|
+
"insecure": {
|
|
196
|
+
"name": "insecure",
|
|
197
|
+
"type": "boolean",
|
|
198
|
+
"char": "i",
|
|
199
|
+
"description": "allow insecure connections to the routr server",
|
|
200
|
+
"allowNo": false
|
|
201
|
+
},
|
|
202
|
+
"endpoint": {
|
|
203
|
+
"name": "endpoint",
|
|
204
|
+
"type": "option",
|
|
205
|
+
"char": "e",
|
|
206
|
+
"description": "endpoint to connect to the routr server",
|
|
207
|
+
"multiple": false,
|
|
208
|
+
"default": "localhost:51907"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"args": {}
|
|
212
|
+
},
|
|
213
|
+
"agents:delete": {
|
|
214
|
+
"id": "agents:delete",
|
|
215
|
+
"description": "Deletes an Agent",
|
|
216
|
+
"strict": true,
|
|
217
|
+
"pluginName": "@routr/ctl",
|
|
218
|
+
"pluginAlias": "@routr/ctl",
|
|
219
|
+
"pluginType": "core",
|
|
220
|
+
"aliases": [],
|
|
221
|
+
"examples": [
|
|
222
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
223
|
+
],
|
|
224
|
+
"flags": {
|
|
225
|
+
"extended": {
|
|
226
|
+
"name": "extended",
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"char": "x",
|
|
229
|
+
"description": "extended output format",
|
|
230
|
+
"allowNo": false
|
|
231
|
+
},
|
|
232
|
+
"insecure": {
|
|
233
|
+
"name": "insecure",
|
|
234
|
+
"type": "boolean",
|
|
235
|
+
"char": "i",
|
|
236
|
+
"description": "allow insecure connections to the routr server",
|
|
237
|
+
"allowNo": false
|
|
238
|
+
},
|
|
239
|
+
"endpoint": {
|
|
240
|
+
"name": "endpoint",
|
|
241
|
+
"type": "option",
|
|
242
|
+
"char": "e",
|
|
243
|
+
"description": "endpoint to connect to the routr server",
|
|
244
|
+
"multiple": false,
|
|
245
|
+
"default": "localhost:51907"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"args": {
|
|
249
|
+
"ref": {
|
|
250
|
+
"name": "ref"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"agents:get": {
|
|
255
|
+
"id": "agents:get",
|
|
256
|
+
"description": "Shows a list of paginated Agents or a single Agent if ref is provided",
|
|
257
|
+
"strict": true,
|
|
258
|
+
"pluginName": "@routr/ctl",
|
|
259
|
+
"pluginAlias": "@routr/ctl",
|
|
260
|
+
"pluginType": "core",
|
|
261
|
+
"aliases": [],
|
|
262
|
+
"examples": [
|
|
263
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Username Domain Privacy Enabled\nd31f5fb8-e367-42f7-9884-1a7999f53fe8 John Doe jdoe sip.local PRIVATE Yes\n"
|
|
264
|
+
],
|
|
265
|
+
"flags": {
|
|
266
|
+
"extended": {
|
|
267
|
+
"name": "extended",
|
|
268
|
+
"type": "boolean",
|
|
269
|
+
"char": "x",
|
|
270
|
+
"description": "extended output format",
|
|
271
|
+
"allowNo": false
|
|
272
|
+
},
|
|
273
|
+
"insecure": {
|
|
274
|
+
"name": "insecure",
|
|
275
|
+
"type": "boolean",
|
|
276
|
+
"char": "i",
|
|
277
|
+
"description": "allow insecure connections to the routr server",
|
|
278
|
+
"allowNo": false
|
|
279
|
+
},
|
|
280
|
+
"endpoint": {
|
|
281
|
+
"name": "endpoint",
|
|
282
|
+
"type": "option",
|
|
283
|
+
"char": "e",
|
|
284
|
+
"description": "endpoint to connect to the routr server",
|
|
285
|
+
"multiple": false,
|
|
286
|
+
"default": "localhost:51907"
|
|
287
|
+
},
|
|
288
|
+
"size": {
|
|
289
|
+
"name": "size",
|
|
290
|
+
"type": "option",
|
|
291
|
+
"char": "s",
|
|
292
|
+
"description": "The number of items to return",
|
|
293
|
+
"multiple": false,
|
|
294
|
+
"default": 50
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"args": {
|
|
298
|
+
"ref": {
|
|
299
|
+
"name": "ref",
|
|
300
|
+
"description": "Optional Agents reference",
|
|
301
|
+
"required": false
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"agents:update": {
|
|
306
|
+
"id": "agents:update",
|
|
307
|
+
"description": "Updates an existing Agent",
|
|
308
|
+
"strict": true,
|
|
309
|
+
"pluginName": "@routr/ctl",
|
|
310
|
+
"pluginAlias": "@routr/ctl",
|
|
311
|
+
"pluginType": "core",
|
|
312
|
+
"aliases": [],
|
|
313
|
+
"examples": [
|
|
314
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Agent John Doe... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
315
|
+
],
|
|
316
|
+
"flags": {
|
|
317
|
+
"extended": {
|
|
318
|
+
"name": "extended",
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"char": "x",
|
|
321
|
+
"description": "extended output format",
|
|
322
|
+
"allowNo": false
|
|
323
|
+
},
|
|
324
|
+
"insecure": {
|
|
325
|
+
"name": "insecure",
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"char": "i",
|
|
328
|
+
"description": "allow insecure connections to the routr server",
|
|
329
|
+
"allowNo": false
|
|
330
|
+
},
|
|
331
|
+
"endpoint": {
|
|
332
|
+
"name": "endpoint",
|
|
333
|
+
"type": "option",
|
|
334
|
+
"char": "e",
|
|
335
|
+
"description": "endpoint to connect to the routr server",
|
|
336
|
+
"multiple": false,
|
|
337
|
+
"default": "localhost:51907"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"args": {
|
|
341
|
+
"ref": {
|
|
342
|
+
"name": "ref",
|
|
343
|
+
"description": "reference to an existing Agent",
|
|
344
|
+
"required": true
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"credentials:create": {
|
|
349
|
+
"id": "credentials:create",
|
|
350
|
+
"description": "Creates a new set of Credentials",
|
|
351
|
+
"strict": true,
|
|
352
|
+
"pluginName": "@routr/ctl",
|
|
353
|
+
"pluginAlias": "@routr/ctl",
|
|
354
|
+
"pluginType": "core",
|
|
355
|
+
"aliases": [],
|
|
356
|
+
"examples": [
|
|
357
|
+
"<%= config.bin %> <%= command.id %>\nCreating Credentials JDoe Access... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
358
|
+
],
|
|
359
|
+
"flags": {
|
|
360
|
+
"extended": {
|
|
361
|
+
"name": "extended",
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"char": "x",
|
|
364
|
+
"description": "extended output format",
|
|
365
|
+
"allowNo": false
|
|
366
|
+
},
|
|
367
|
+
"insecure": {
|
|
368
|
+
"name": "insecure",
|
|
369
|
+
"type": "boolean",
|
|
370
|
+
"char": "i",
|
|
371
|
+
"description": "allow insecure connections to the routr server",
|
|
372
|
+
"allowNo": false
|
|
373
|
+
},
|
|
374
|
+
"endpoint": {
|
|
375
|
+
"name": "endpoint",
|
|
376
|
+
"type": "option",
|
|
377
|
+
"char": "e",
|
|
378
|
+
"description": "endpoint to connect to the routr server",
|
|
379
|
+
"multiple": false,
|
|
380
|
+
"default": "localhost:51907"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"args": {}
|
|
384
|
+
},
|
|
385
|
+
"credentials:delete": {
|
|
386
|
+
"id": "credentials:delete",
|
|
387
|
+
"description": "Deletes a set of Credentials",
|
|
388
|
+
"strict": true,
|
|
389
|
+
"pluginName": "@routr/ctl",
|
|
390
|
+
"pluginAlias": "@routr/ctl",
|
|
391
|
+
"pluginType": "core",
|
|
392
|
+
"aliases": [],
|
|
393
|
+
"examples": [
|
|
394
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
395
|
+
],
|
|
396
|
+
"flags": {
|
|
397
|
+
"extended": {
|
|
398
|
+
"name": "extended",
|
|
399
|
+
"type": "boolean",
|
|
400
|
+
"char": "x",
|
|
401
|
+
"description": "extended output format",
|
|
402
|
+
"allowNo": false
|
|
403
|
+
},
|
|
404
|
+
"insecure": {
|
|
405
|
+
"name": "insecure",
|
|
406
|
+
"type": "boolean",
|
|
407
|
+
"char": "i",
|
|
408
|
+
"description": "allow insecure connections to the routr server",
|
|
409
|
+
"allowNo": false
|
|
410
|
+
},
|
|
411
|
+
"endpoint": {
|
|
412
|
+
"name": "endpoint",
|
|
413
|
+
"type": "option",
|
|
414
|
+
"char": "e",
|
|
415
|
+
"description": "endpoint to connect to the routr server",
|
|
416
|
+
"multiple": false,
|
|
417
|
+
"default": "localhost:51907"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"args": {
|
|
421
|
+
"ref": {
|
|
422
|
+
"name": "ref"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"credentials:get": {
|
|
427
|
+
"id": "credentials:get",
|
|
428
|
+
"description": "Shows a list of paginated Credentials or a single set if ref is provided",
|
|
429
|
+
"strict": true,
|
|
430
|
+
"pluginName": "@routr/ctl",
|
|
431
|
+
"pluginAlias": "@routr/ctl",
|
|
432
|
+
"pluginType": "core",
|
|
433
|
+
"aliases": [],
|
|
434
|
+
"examples": [
|
|
435
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Deny List Allow List\n80181ca6-d4aa-4575-9375-8f72b07d6666 Europe ACL 0.0.0.0/0 10.0.0.25 \n"
|
|
436
|
+
],
|
|
437
|
+
"flags": {
|
|
438
|
+
"extended": {
|
|
439
|
+
"name": "extended",
|
|
440
|
+
"type": "boolean",
|
|
441
|
+
"char": "x",
|
|
442
|
+
"description": "extended output format",
|
|
443
|
+
"allowNo": false
|
|
444
|
+
},
|
|
445
|
+
"insecure": {
|
|
446
|
+
"name": "insecure",
|
|
447
|
+
"type": "boolean",
|
|
448
|
+
"char": "i",
|
|
449
|
+
"description": "allow insecure connections to the routr server",
|
|
450
|
+
"allowNo": false
|
|
451
|
+
},
|
|
452
|
+
"endpoint": {
|
|
453
|
+
"name": "endpoint",
|
|
454
|
+
"type": "option",
|
|
455
|
+
"char": "e",
|
|
456
|
+
"description": "endpoint to connect to the routr server",
|
|
457
|
+
"multiple": false,
|
|
458
|
+
"default": "localhost:51907"
|
|
459
|
+
},
|
|
460
|
+
"size": {
|
|
461
|
+
"name": "size",
|
|
462
|
+
"type": "option",
|
|
463
|
+
"char": "s",
|
|
464
|
+
"description": "the number of items to return",
|
|
465
|
+
"multiple": false,
|
|
466
|
+
"default": 50
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"args": {
|
|
470
|
+
"ref": {
|
|
471
|
+
"name": "ref",
|
|
472
|
+
"description": "optional reference to a set of Credentials",
|
|
473
|
+
"required": false
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"credentials:update": {
|
|
478
|
+
"id": "credentials:update",
|
|
479
|
+
"description": "Updates an existing set of Credentials",
|
|
480
|
+
"strict": true,
|
|
481
|
+
"pluginName": "@routr/ctl",
|
|
482
|
+
"pluginAlias": "@routr/ctl",
|
|
483
|
+
"pluginType": "core",
|
|
484
|
+
"aliases": [],
|
|
485
|
+
"examples": [
|
|
486
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Credentials JDoe Credentials... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
487
|
+
],
|
|
488
|
+
"flags": {
|
|
489
|
+
"extended": {
|
|
490
|
+
"name": "extended",
|
|
491
|
+
"type": "boolean",
|
|
492
|
+
"char": "x",
|
|
493
|
+
"description": "extended output format",
|
|
494
|
+
"allowNo": false
|
|
495
|
+
},
|
|
496
|
+
"insecure": {
|
|
497
|
+
"name": "insecure",
|
|
498
|
+
"type": "boolean",
|
|
499
|
+
"char": "i",
|
|
500
|
+
"description": "allow insecure connections to the routr server",
|
|
501
|
+
"allowNo": false
|
|
502
|
+
},
|
|
503
|
+
"endpoint": {
|
|
504
|
+
"name": "endpoint",
|
|
505
|
+
"type": "option",
|
|
506
|
+
"char": "e",
|
|
507
|
+
"description": "endpoint to connect to the routr server",
|
|
508
|
+
"multiple": false,
|
|
509
|
+
"default": "localhost:51907"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"args": {
|
|
513
|
+
"ref": {
|
|
514
|
+
"name": "ref",
|
|
515
|
+
"description": "reference to an existing set of Credentials",
|
|
516
|
+
"required": true
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"domains:create": {
|
|
521
|
+
"id": "domains:create",
|
|
522
|
+
"description": "Creates a new set Domain",
|
|
523
|
+
"strict": true,
|
|
524
|
+
"pluginName": "@routr/ctl",
|
|
525
|
+
"pluginAlias": "@routr/ctl",
|
|
526
|
+
"pluginType": "core",
|
|
527
|
+
"aliases": [],
|
|
528
|
+
"examples": [
|
|
529
|
+
"<%= config.bin %> <%= command.id %>\nCreating Domain Local Domain... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
530
|
+
],
|
|
531
|
+
"flags": {
|
|
532
|
+
"extended": {
|
|
533
|
+
"name": "extended",
|
|
534
|
+
"type": "boolean",
|
|
535
|
+
"char": "x",
|
|
536
|
+
"description": "extended output format",
|
|
537
|
+
"allowNo": false
|
|
538
|
+
},
|
|
539
|
+
"insecure": {
|
|
540
|
+
"name": "insecure",
|
|
541
|
+
"type": "boolean",
|
|
542
|
+
"char": "i",
|
|
543
|
+
"description": "allow insecure connections to the routr server",
|
|
544
|
+
"allowNo": false
|
|
545
|
+
},
|
|
546
|
+
"endpoint": {
|
|
547
|
+
"name": "endpoint",
|
|
548
|
+
"type": "option",
|
|
549
|
+
"char": "e",
|
|
550
|
+
"description": "endpoint to connect to the routr server",
|
|
551
|
+
"multiple": false,
|
|
552
|
+
"default": "localhost:51907"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"args": {}
|
|
556
|
+
},
|
|
557
|
+
"domains:delete": {
|
|
558
|
+
"id": "domains:delete",
|
|
559
|
+
"description": "Deletes a Domain",
|
|
560
|
+
"strict": true,
|
|
561
|
+
"pluginName": "@routr/ctl",
|
|
562
|
+
"pluginAlias": "@routr/ctl",
|
|
563
|
+
"pluginType": "core",
|
|
564
|
+
"aliases": [],
|
|
565
|
+
"examples": [
|
|
566
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
567
|
+
],
|
|
568
|
+
"flags": {
|
|
569
|
+
"extended": {
|
|
570
|
+
"name": "extended",
|
|
571
|
+
"type": "boolean",
|
|
572
|
+
"char": "x",
|
|
573
|
+
"description": "extended output format",
|
|
574
|
+
"allowNo": false
|
|
575
|
+
},
|
|
576
|
+
"insecure": {
|
|
577
|
+
"name": "insecure",
|
|
578
|
+
"type": "boolean",
|
|
579
|
+
"char": "i",
|
|
580
|
+
"description": "allow insecure connections to the routr server",
|
|
581
|
+
"allowNo": false
|
|
582
|
+
},
|
|
583
|
+
"endpoint": {
|
|
584
|
+
"name": "endpoint",
|
|
585
|
+
"type": "option",
|
|
586
|
+
"char": "e",
|
|
587
|
+
"description": "endpoint to connect to the routr server",
|
|
588
|
+
"multiple": false,
|
|
589
|
+
"default": "localhost:51907"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"args": {
|
|
593
|
+
"ref": {
|
|
594
|
+
"name": "ref"
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"domains:get": {
|
|
599
|
+
"id": "domains:get",
|
|
600
|
+
"description": "Shows a list of paginated Domains or a single Domain if ref is provided",
|
|
601
|
+
"strict": true,
|
|
602
|
+
"pluginName": "@routr/ctl",
|
|
603
|
+
"pluginAlias": "@routr/ctl",
|
|
604
|
+
"pluginType": "core",
|
|
605
|
+
"aliases": [],
|
|
606
|
+
"examples": [
|
|
607
|
+
"<%= config.bin %> <%= command.id %>\nRef Name URI \nab2b6959-f497-4b14-903b-85a7c464b564 Local Domain sip.local\n"
|
|
608
|
+
],
|
|
609
|
+
"flags": {
|
|
610
|
+
"extended": {
|
|
611
|
+
"name": "extended",
|
|
612
|
+
"type": "boolean",
|
|
613
|
+
"char": "x",
|
|
614
|
+
"description": "extended output format",
|
|
615
|
+
"allowNo": false
|
|
616
|
+
},
|
|
617
|
+
"insecure": {
|
|
618
|
+
"name": "insecure",
|
|
619
|
+
"type": "boolean",
|
|
620
|
+
"char": "i",
|
|
621
|
+
"description": "allow insecure connections to the routr server",
|
|
622
|
+
"allowNo": false
|
|
623
|
+
},
|
|
624
|
+
"endpoint": {
|
|
625
|
+
"name": "endpoint",
|
|
626
|
+
"type": "option",
|
|
627
|
+
"char": "e",
|
|
628
|
+
"description": "endpoint to connect to the routr server",
|
|
629
|
+
"multiple": false,
|
|
630
|
+
"default": "localhost:51907"
|
|
631
|
+
},
|
|
632
|
+
"size": {
|
|
633
|
+
"name": "size",
|
|
634
|
+
"type": "option",
|
|
635
|
+
"char": "s",
|
|
636
|
+
"description": "the number of items to return",
|
|
637
|
+
"multiple": false,
|
|
638
|
+
"default": 50
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"args": {
|
|
642
|
+
"ref": {
|
|
643
|
+
"name": "ref",
|
|
644
|
+
"description": "optional reference to a Domain",
|
|
645
|
+
"required": false
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"domains:update": {
|
|
650
|
+
"id": "domains:update",
|
|
651
|
+
"description": "Updates an existing Domain",
|
|
652
|
+
"strict": true,
|
|
653
|
+
"pluginName": "@routr/ctl",
|
|
654
|
+
"pluginAlias": "@routr/ctl",
|
|
655
|
+
"pluginType": "core",
|
|
656
|
+
"aliases": [],
|
|
657
|
+
"examples": [
|
|
658
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Domain Local... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
659
|
+
],
|
|
660
|
+
"flags": {
|
|
661
|
+
"extended": {
|
|
662
|
+
"name": "extended",
|
|
663
|
+
"type": "boolean",
|
|
664
|
+
"char": "x",
|
|
665
|
+
"description": "extended output format",
|
|
666
|
+
"allowNo": false
|
|
667
|
+
},
|
|
668
|
+
"insecure": {
|
|
669
|
+
"name": "insecure",
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"char": "i",
|
|
672
|
+
"description": "allow insecure connections to the routr server",
|
|
673
|
+
"allowNo": false
|
|
674
|
+
},
|
|
675
|
+
"endpoint": {
|
|
676
|
+
"name": "endpoint",
|
|
677
|
+
"type": "option",
|
|
678
|
+
"char": "e",
|
|
679
|
+
"description": "endpoint to connect to the routr server",
|
|
680
|
+
"multiple": false,
|
|
681
|
+
"default": "localhost:51907"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"args": {
|
|
685
|
+
"ref": {
|
|
686
|
+
"name": "ref",
|
|
687
|
+
"description": "reference to an existing Domain",
|
|
688
|
+
"required": true
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"numbers:create": {
|
|
693
|
+
"id": "numbers:create",
|
|
694
|
+
"description": "Creates a new Number",
|
|
695
|
+
"strict": true,
|
|
696
|
+
"pluginName": "@routr/ctl",
|
|
697
|
+
"pluginAlias": "@routr/ctl",
|
|
698
|
+
"pluginType": "core",
|
|
699
|
+
"aliases": [],
|
|
700
|
+
"examples": [
|
|
701
|
+
"<%= config.bin %> <%= command.id %>\nCreating Number (784) 317-8170... a134487f-a668-4509-9ddd-dcbc98175468\n"
|
|
702
|
+
],
|
|
703
|
+
"flags": {
|
|
704
|
+
"extended": {
|
|
705
|
+
"name": "extended",
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"char": "x",
|
|
708
|
+
"description": "extended output format",
|
|
709
|
+
"allowNo": false
|
|
710
|
+
},
|
|
711
|
+
"insecure": {
|
|
712
|
+
"name": "insecure",
|
|
713
|
+
"type": "boolean",
|
|
714
|
+
"char": "i",
|
|
715
|
+
"description": "allow insecure connections to the routr server",
|
|
716
|
+
"allowNo": false
|
|
717
|
+
},
|
|
718
|
+
"endpoint": {
|
|
719
|
+
"name": "endpoint",
|
|
720
|
+
"type": "option",
|
|
721
|
+
"char": "e",
|
|
722
|
+
"description": "endpoint to connect to the routr server",
|
|
723
|
+
"multiple": false,
|
|
724
|
+
"default": "localhost:51907"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"args": {}
|
|
728
|
+
},
|
|
729
|
+
"numbers:delete": {
|
|
730
|
+
"id": "numbers:delete",
|
|
731
|
+
"description": "Deletes a Number",
|
|
732
|
+
"strict": true,
|
|
733
|
+
"pluginName": "@routr/ctl",
|
|
734
|
+
"pluginAlias": "@routr/ctl",
|
|
735
|
+
"pluginType": "core",
|
|
736
|
+
"aliases": [],
|
|
737
|
+
"examples": [
|
|
738
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
739
|
+
],
|
|
740
|
+
"flags": {
|
|
741
|
+
"extended": {
|
|
742
|
+
"name": "extended",
|
|
743
|
+
"type": "boolean",
|
|
744
|
+
"char": "x",
|
|
745
|
+
"description": "extended output format",
|
|
746
|
+
"allowNo": false
|
|
747
|
+
},
|
|
748
|
+
"insecure": {
|
|
749
|
+
"name": "insecure",
|
|
750
|
+
"type": "boolean",
|
|
751
|
+
"char": "i",
|
|
752
|
+
"description": "allow insecure connections to the routr server",
|
|
753
|
+
"allowNo": false
|
|
754
|
+
},
|
|
755
|
+
"endpoint": {
|
|
756
|
+
"name": "endpoint",
|
|
757
|
+
"type": "option",
|
|
758
|
+
"char": "e",
|
|
759
|
+
"description": "endpoint to connect to the routr server",
|
|
760
|
+
"multiple": false,
|
|
761
|
+
"default": "localhost:51907"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"args": {
|
|
765
|
+
"ref": {
|
|
766
|
+
"name": "ref"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"numbers:get": {
|
|
771
|
+
"id": "numbers:get",
|
|
772
|
+
"description": "Shows a list of paginated Numbers or a single Number if ref is provided",
|
|
773
|
+
"strict": true,
|
|
774
|
+
"pluginName": "@routr/ctl",
|
|
775
|
+
"pluginAlias": "@routr/ctl",
|
|
776
|
+
"pluginType": "core",
|
|
777
|
+
"aliases": [],
|
|
778
|
+
"examples": [
|
|
779
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Telephony URL AOR Link Geo \na134487f-a668-4509-9ddd-dcbc98175468 (785) 317-8070 +17853178070 sip:1001@sip.local Cameron, USA (US)\n"
|
|
780
|
+
],
|
|
781
|
+
"flags": {
|
|
782
|
+
"extended": {
|
|
783
|
+
"name": "extended",
|
|
784
|
+
"type": "boolean",
|
|
785
|
+
"char": "x",
|
|
786
|
+
"description": "extended output format",
|
|
787
|
+
"allowNo": false
|
|
788
|
+
},
|
|
789
|
+
"insecure": {
|
|
790
|
+
"name": "insecure",
|
|
791
|
+
"type": "boolean",
|
|
792
|
+
"char": "i",
|
|
793
|
+
"description": "allow insecure connections to the routr server",
|
|
794
|
+
"allowNo": false
|
|
795
|
+
},
|
|
796
|
+
"endpoint": {
|
|
797
|
+
"name": "endpoint",
|
|
798
|
+
"type": "option",
|
|
799
|
+
"char": "e",
|
|
800
|
+
"description": "endpoint to connect to the routr server",
|
|
801
|
+
"multiple": false,
|
|
802
|
+
"default": "localhost:51907"
|
|
803
|
+
},
|
|
804
|
+
"size": {
|
|
805
|
+
"name": "size",
|
|
806
|
+
"type": "option",
|
|
807
|
+
"char": "s",
|
|
808
|
+
"description": "the number of items to return",
|
|
809
|
+
"multiple": false,
|
|
810
|
+
"default": 50
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"args": {
|
|
814
|
+
"ref": {
|
|
815
|
+
"name": "ref",
|
|
816
|
+
"description": "optional reference to a Number",
|
|
817
|
+
"required": false
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"numbers:update": {
|
|
822
|
+
"id": "numbers:update",
|
|
823
|
+
"description": "Updates an existing set of Credentials",
|
|
824
|
+
"strict": true,
|
|
825
|
+
"pluginName": "@routr/ctl",
|
|
826
|
+
"pluginAlias": "@routr/ctl",
|
|
827
|
+
"pluginType": "core",
|
|
828
|
+
"aliases": [],
|
|
829
|
+
"examples": [
|
|
830
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Number (785) 317-8070... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
831
|
+
],
|
|
832
|
+
"flags": {
|
|
833
|
+
"extended": {
|
|
834
|
+
"name": "extended",
|
|
835
|
+
"type": "boolean",
|
|
836
|
+
"char": "x",
|
|
837
|
+
"description": "extended output format",
|
|
838
|
+
"allowNo": false
|
|
839
|
+
},
|
|
840
|
+
"insecure": {
|
|
841
|
+
"name": "insecure",
|
|
842
|
+
"type": "boolean",
|
|
843
|
+
"char": "i",
|
|
844
|
+
"description": "allow insecure connections to the routr server",
|
|
845
|
+
"allowNo": false
|
|
846
|
+
},
|
|
847
|
+
"endpoint": {
|
|
848
|
+
"name": "endpoint",
|
|
849
|
+
"type": "option",
|
|
850
|
+
"char": "e",
|
|
851
|
+
"description": "endpoint to connect to the routr server",
|
|
852
|
+
"multiple": false,
|
|
853
|
+
"default": "localhost:51907"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"args": {
|
|
857
|
+
"ref": {
|
|
858
|
+
"name": "ref",
|
|
859
|
+
"description": "reference to an existing Number",
|
|
860
|
+
"required": true
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"peers:create": {
|
|
865
|
+
"id": "peers:create",
|
|
866
|
+
"description": "Creates a new Peer",
|
|
867
|
+
"strict": true,
|
|
868
|
+
"pluginName": "@routr/ctl",
|
|
869
|
+
"pluginAlias": "@routr/ctl",
|
|
870
|
+
"pluginType": "core",
|
|
871
|
+
"aliases": [],
|
|
872
|
+
"examples": [
|
|
873
|
+
"<%= config.bin %> <%= command.id %>\nCreating Peer Asterisk Conference... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
874
|
+
],
|
|
875
|
+
"flags": {
|
|
876
|
+
"extended": {
|
|
877
|
+
"name": "extended",
|
|
878
|
+
"type": "boolean",
|
|
879
|
+
"char": "x",
|
|
880
|
+
"description": "extended output format",
|
|
881
|
+
"allowNo": false
|
|
882
|
+
},
|
|
883
|
+
"insecure": {
|
|
884
|
+
"name": "insecure",
|
|
885
|
+
"type": "boolean",
|
|
886
|
+
"char": "i",
|
|
887
|
+
"description": "allow insecure connections to the routr server",
|
|
888
|
+
"allowNo": false
|
|
889
|
+
},
|
|
890
|
+
"endpoint": {
|
|
891
|
+
"name": "endpoint",
|
|
892
|
+
"type": "option",
|
|
893
|
+
"char": "e",
|
|
894
|
+
"description": "endpoint to connect to the routr server",
|
|
895
|
+
"multiple": false,
|
|
896
|
+
"default": "localhost:51907"
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"args": {}
|
|
900
|
+
},
|
|
901
|
+
"peers:delete": {
|
|
902
|
+
"id": "peers:delete",
|
|
903
|
+
"description": "Deletes a Peer",
|
|
904
|
+
"strict": true,
|
|
905
|
+
"pluginName": "@routr/ctl",
|
|
906
|
+
"pluginAlias": "@routr/ctl",
|
|
907
|
+
"pluginType": "core",
|
|
908
|
+
"aliases": [],
|
|
909
|
+
"examples": [
|
|
910
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
911
|
+
],
|
|
912
|
+
"flags": {
|
|
913
|
+
"extended": {
|
|
914
|
+
"name": "extended",
|
|
915
|
+
"type": "boolean",
|
|
916
|
+
"char": "x",
|
|
917
|
+
"description": "extended output format",
|
|
918
|
+
"allowNo": false
|
|
919
|
+
},
|
|
920
|
+
"insecure": {
|
|
921
|
+
"name": "insecure",
|
|
922
|
+
"type": "boolean",
|
|
923
|
+
"char": "i",
|
|
924
|
+
"description": "allow insecure connections to the routr server",
|
|
925
|
+
"allowNo": false
|
|
926
|
+
},
|
|
927
|
+
"endpoint": {
|
|
928
|
+
"name": "endpoint",
|
|
929
|
+
"type": "option",
|
|
930
|
+
"char": "e",
|
|
931
|
+
"description": "endpoint to connect to the routr server",
|
|
932
|
+
"multiple": false,
|
|
933
|
+
"default": "localhost:51907"
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"args": {
|
|
937
|
+
"ref": {
|
|
938
|
+
"name": "ref"
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"peers:get": {
|
|
943
|
+
"id": "peers:get",
|
|
944
|
+
"description": "Shows a list of paginated Peers or a single Peer if ref is provided",
|
|
945
|
+
"strict": true,
|
|
946
|
+
"pluginName": "@routr/ctl",
|
|
947
|
+
"pluginAlias": "@routr/ctl",
|
|
948
|
+
"pluginType": "core",
|
|
949
|
+
"aliases": [],
|
|
950
|
+
"examples": [
|
|
951
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Username AOR Balancing Algorithm Session Affinity \n6f941c63-880c-419a-a72a-4a107cbaf5c5 Asterisk Conference conference backend:conference ROUND_ROBIN Yes \n"
|
|
952
|
+
],
|
|
953
|
+
"flags": {
|
|
954
|
+
"extended": {
|
|
955
|
+
"name": "extended",
|
|
956
|
+
"type": "boolean",
|
|
957
|
+
"char": "x",
|
|
958
|
+
"description": "extended output format",
|
|
959
|
+
"allowNo": false
|
|
960
|
+
},
|
|
961
|
+
"insecure": {
|
|
962
|
+
"name": "insecure",
|
|
963
|
+
"type": "boolean",
|
|
964
|
+
"char": "i",
|
|
965
|
+
"description": "allow insecure connections to the routr server",
|
|
966
|
+
"allowNo": false
|
|
967
|
+
},
|
|
968
|
+
"endpoint": {
|
|
969
|
+
"name": "endpoint",
|
|
970
|
+
"type": "option",
|
|
971
|
+
"char": "e",
|
|
972
|
+
"description": "endpoint to connect to the routr server",
|
|
973
|
+
"multiple": false,
|
|
974
|
+
"default": "localhost:51907"
|
|
975
|
+
},
|
|
976
|
+
"size": {
|
|
977
|
+
"name": "size",
|
|
978
|
+
"type": "option",
|
|
979
|
+
"char": "s",
|
|
980
|
+
"description": "the number of items to return",
|
|
981
|
+
"multiple": false,
|
|
982
|
+
"default": 50
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"args": {
|
|
986
|
+
"ref": {
|
|
987
|
+
"name": "ref",
|
|
988
|
+
"description": "optional reference to a Peer",
|
|
989
|
+
"required": false
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
"peers:update": {
|
|
994
|
+
"id": "peers:update",
|
|
995
|
+
"description": "Updates an existing Peer",
|
|
996
|
+
"strict": true,
|
|
997
|
+
"pluginName": "@routr/ctl",
|
|
998
|
+
"pluginAlias": "@routr/ctl",
|
|
999
|
+
"pluginType": "core",
|
|
1000
|
+
"aliases": [],
|
|
1001
|
+
"examples": [
|
|
1002
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Peer Asterisk Conf... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
1003
|
+
],
|
|
1004
|
+
"flags": {
|
|
1005
|
+
"extended": {
|
|
1006
|
+
"name": "extended",
|
|
1007
|
+
"type": "boolean",
|
|
1008
|
+
"char": "x",
|
|
1009
|
+
"description": "extended output format",
|
|
1010
|
+
"allowNo": false
|
|
1011
|
+
},
|
|
1012
|
+
"insecure": {
|
|
1013
|
+
"name": "insecure",
|
|
1014
|
+
"type": "boolean",
|
|
1015
|
+
"char": "i",
|
|
1016
|
+
"description": "allow insecure connections to the routr server",
|
|
1017
|
+
"allowNo": false
|
|
1018
|
+
},
|
|
1019
|
+
"endpoint": {
|
|
1020
|
+
"name": "endpoint",
|
|
1021
|
+
"type": "option",
|
|
1022
|
+
"char": "e",
|
|
1023
|
+
"description": "endpoint to connect to the routr server",
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"default": "localhost:51907"
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
"args": {
|
|
1029
|
+
"ref": {
|
|
1030
|
+
"name": "ref",
|
|
1031
|
+
"description": "reference to an existing Peer",
|
|
1032
|
+
"required": true
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"trunks:create": {
|
|
1037
|
+
"id": "trunks:create",
|
|
1038
|
+
"description": "Creates a new Trunk",
|
|
1039
|
+
"strict": true,
|
|
1040
|
+
"pluginName": "@routr/ctl",
|
|
1041
|
+
"pluginAlias": "@routr/ctl",
|
|
1042
|
+
"pluginType": "core",
|
|
1043
|
+
"aliases": [],
|
|
1044
|
+
"examples": [
|
|
1045
|
+
"<%= config.bin %> <%= command.id %>\nCreating Trunk T01... b148b4b4-6884-4c06-bb7e-bd098f5fe793\n"
|
|
1046
|
+
],
|
|
1047
|
+
"flags": {
|
|
1048
|
+
"extended": {
|
|
1049
|
+
"name": "extended",
|
|
1050
|
+
"type": "boolean",
|
|
1051
|
+
"char": "x",
|
|
1052
|
+
"description": "extended output format",
|
|
1053
|
+
"allowNo": false
|
|
1054
|
+
},
|
|
1055
|
+
"insecure": {
|
|
1056
|
+
"name": "insecure",
|
|
1057
|
+
"type": "boolean",
|
|
1058
|
+
"char": "i",
|
|
1059
|
+
"description": "allow insecure connections to the routr server",
|
|
1060
|
+
"allowNo": false
|
|
1061
|
+
},
|
|
1062
|
+
"endpoint": {
|
|
1063
|
+
"name": "endpoint",
|
|
1064
|
+
"type": "option",
|
|
1065
|
+
"char": "e",
|
|
1066
|
+
"description": "endpoint to connect to the routr server",
|
|
1067
|
+
"multiple": false,
|
|
1068
|
+
"default": "localhost:51907"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
"args": {}
|
|
1072
|
+
},
|
|
1073
|
+
"trunks:delete": {
|
|
1074
|
+
"id": "trunks:delete",
|
|
1075
|
+
"description": "Deletes a Trunk",
|
|
1076
|
+
"strict": true,
|
|
1077
|
+
"pluginName": "@routr/ctl",
|
|
1078
|
+
"pluginAlias": "@routr/ctl",
|
|
1079
|
+
"pluginType": "core",
|
|
1080
|
+
"aliases": [],
|
|
1081
|
+
"examples": [
|
|
1082
|
+
"<%= config.bin %> <%= command.id %>\nDeleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done\n"
|
|
1083
|
+
],
|
|
1084
|
+
"flags": {
|
|
1085
|
+
"extended": {
|
|
1086
|
+
"name": "extended",
|
|
1087
|
+
"type": "boolean",
|
|
1088
|
+
"char": "x",
|
|
1089
|
+
"description": "extended output format",
|
|
1090
|
+
"allowNo": false
|
|
1091
|
+
},
|
|
1092
|
+
"insecure": {
|
|
1093
|
+
"name": "insecure",
|
|
1094
|
+
"type": "boolean",
|
|
1095
|
+
"char": "i",
|
|
1096
|
+
"description": "allow insecure connections to the routr server",
|
|
1097
|
+
"allowNo": false
|
|
1098
|
+
},
|
|
1099
|
+
"endpoint": {
|
|
1100
|
+
"name": "endpoint",
|
|
1101
|
+
"type": "option",
|
|
1102
|
+
"char": "e",
|
|
1103
|
+
"description": "endpoint to connect to the routr server",
|
|
1104
|
+
"multiple": false,
|
|
1105
|
+
"default": "localhost:51907"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"args": {
|
|
1109
|
+
"ref": {
|
|
1110
|
+
"name": "ref"
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"trunks:get": {
|
|
1115
|
+
"id": "trunks:get",
|
|
1116
|
+
"description": "Shows a list of paginated Trunks or a single Trunk if ref is provided",
|
|
1117
|
+
"strict": true,
|
|
1118
|
+
"pluginName": "@routr/ctl",
|
|
1119
|
+
"pluginAlias": "@routr/ctl",
|
|
1120
|
+
"pluginType": "core",
|
|
1121
|
+
"aliases": [],
|
|
1122
|
+
"examples": [
|
|
1123
|
+
"<%= config.bin %> <%= command.id %>\nRef Name Inbound SIP URI \n8cde8ea9-3c58-4dbe-b2cf-23c4413dd4cc Local sip.t01.provider.net\n"
|
|
1124
|
+
],
|
|
1125
|
+
"flags": {
|
|
1126
|
+
"extended": {
|
|
1127
|
+
"name": "extended",
|
|
1128
|
+
"type": "boolean",
|
|
1129
|
+
"char": "x",
|
|
1130
|
+
"description": "extended output format",
|
|
1131
|
+
"allowNo": false
|
|
1132
|
+
},
|
|
1133
|
+
"insecure": {
|
|
1134
|
+
"name": "insecure",
|
|
1135
|
+
"type": "boolean",
|
|
1136
|
+
"char": "i",
|
|
1137
|
+
"description": "allow insecure connections to the routr server",
|
|
1138
|
+
"allowNo": false
|
|
1139
|
+
},
|
|
1140
|
+
"endpoint": {
|
|
1141
|
+
"name": "endpoint",
|
|
1142
|
+
"type": "option",
|
|
1143
|
+
"char": "e",
|
|
1144
|
+
"description": "endpoint to connect to the routr server",
|
|
1145
|
+
"multiple": false,
|
|
1146
|
+
"default": "localhost:51907"
|
|
1147
|
+
},
|
|
1148
|
+
"size": {
|
|
1149
|
+
"name": "size",
|
|
1150
|
+
"type": "option",
|
|
1151
|
+
"char": "s",
|
|
1152
|
+
"description": "the number of items to return",
|
|
1153
|
+
"multiple": false,
|
|
1154
|
+
"default": 50
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"args": {
|
|
1158
|
+
"ref": {
|
|
1159
|
+
"name": "ref",
|
|
1160
|
+
"description": "optional reference to a Trunk",
|
|
1161
|
+
"required": false
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"trunks:update": {
|
|
1166
|
+
"id": "trunks:update",
|
|
1167
|
+
"description": "Updates an existing Trunk",
|
|
1168
|
+
"strict": true,
|
|
1169
|
+
"pluginName": "@routr/ctl",
|
|
1170
|
+
"pluginAlias": "@routr/ctl",
|
|
1171
|
+
"pluginType": "core",
|
|
1172
|
+
"aliases": [],
|
|
1173
|
+
"examples": [
|
|
1174
|
+
"<%= config.bin %> <%= command.id %>\nUpdating Trunk T01... 80181ca6-d4aa-4575-9375-8f72b07d5555\n"
|
|
1175
|
+
],
|
|
1176
|
+
"flags": {
|
|
1177
|
+
"extended": {
|
|
1178
|
+
"name": "extended",
|
|
1179
|
+
"type": "boolean",
|
|
1180
|
+
"char": "x",
|
|
1181
|
+
"description": "extended output format",
|
|
1182
|
+
"allowNo": false
|
|
1183
|
+
},
|
|
1184
|
+
"insecure": {
|
|
1185
|
+
"name": "insecure",
|
|
1186
|
+
"type": "boolean",
|
|
1187
|
+
"char": "i",
|
|
1188
|
+
"description": "allow insecure connections to the routr server",
|
|
1189
|
+
"allowNo": false
|
|
1190
|
+
},
|
|
1191
|
+
"endpoint": {
|
|
1192
|
+
"name": "endpoint",
|
|
1193
|
+
"type": "option",
|
|
1194
|
+
"char": "e",
|
|
1195
|
+
"description": "endpoint to connect to the routr server",
|
|
1196
|
+
"multiple": false,
|
|
1197
|
+
"default": "localhost:51907"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
"args": {
|
|
1201
|
+
"ref": {
|
|
1202
|
+
"name": "ref",
|
|
1203
|
+
"description": "reference to an existing Trunk",
|
|
1204
|
+
"required": true
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/ctl",
|
|
3
|
-
"version": "2.0.8-alpha.
|
|
3
|
+
"version": "2.0.8-alpha.23",
|
|
4
4
|
"description": "Routr Command-Line Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"bin": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@oclif/plugin-help": "^5",
|
|
26
26
|
"@oclif/plugin-plugins": "^2.1.12",
|
|
27
27
|
"@oclif/plugin-warn-if-update-available": "^2.0.19",
|
|
28
|
-
"@routr/common": "^2.0.8-alpha.
|
|
29
|
-
"@routr/sdk": "^2.0.8-alpha.
|
|
28
|
+
"@routr/common": "^2.0.8-alpha.23",
|
|
29
|
+
"@routr/sdk": "^2.0.8-alpha.23",
|
|
30
30
|
"figlet": "^1.5.2",
|
|
31
31
|
"fuzzy-search": "^3.2.1",
|
|
32
32
|
"inquirer": "^8.2.5",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"oclif"
|
|
86
86
|
],
|
|
87
87
|
"types": "dist/index.d.ts",
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "1347b753f0dbdd3bdf423f2691867aa250b768af"
|
|
89
89
|
}
|