Newer
Older
https://www.iopsys.eu/endpt.json
```
| Custom Properties | Additional Properties |
| ----------------- | --------------------- |
| Forbidden | Forbidden |
# endpt
| List of Methods |
| ------------------------- |
| [call](#call) | Method | endpt (this schema) |
| [codecs](#codecs) | Method | endpt (this schema) |
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| [connection](#connection) | Method | endpt (this schema) |
| [count](#count) | Method | endpt (this schema) |
| [rtp_stats](#rtp_stats) | Method | endpt (this schema) |
| [signal](#signal) | Method | endpt (this schema) |
| [status](#status) | Method | endpt (this schema) |
## call
`call`
- type: `Method`
### call Type
`object` with following properties:
| Property | Type | Required |
| -------- | ------ | ------------ |
| `input` | oneOf | **Required** |
| `output` | object | **Required** |
#### input
`input`
- is **required**
- type: complex
##### input Type
**One** of the following _conditions_ need to be fulfilled.
#### Condition 1
`object` with following properties:
| Property | Type | Required |
| ---------- | ------- | ------------ |
| `add` | integer | **Required** |
| `cid` | string | Optional |
| `pcm_id` | integer | **Required** |
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
| `terminal` | integer | **Required** |
#### add
`add`
- is **required**
- type: `integer`
##### add Type
`integer`
- minimum value: `0`
- maximum value: `5`
#### cid
`cid`
- is optional
- type: `string`
##### cid Type
`string`
- maximum length: 32 characters All instances must conform to this regular expression (test examples
[here](https://regexr.com/?expression=%5E%5B0-9%5D*%23)):
```regex
^[0-9]*#
```
#### pcm_id
`pcm_id`
- is **required**
- type: `integer`
##### pcm_id Type
`integer`
- minimum value: `0`
- maximum value: `5`
#### terminal
`terminal`
- is **required**
- type: `integer`
##### terminal Type
`integer`
- minimum value: `1`
- maximum value: `6`
#### Condition 2
`object` with following properties:
| Property | Type | Required |
| ---------- | ------- | ------------ |
| `cid` | string | Optional |
| `pcm_id` | integer | **Required** |
| `release` | integer | **Required** |
| `terminal` | integer | **Required** |
#### cid
`cid`
- is optional
- type: `string`
##### cid Type
`string`
- maximum length: 32 characters All instances must conform to this regular expression (test examples
[here](https://regexr.com/?expression=%5E%5B0-9%5D*%23)):
```regex
^[0-9]*#
```
#### pcm_id
`pcm_id`
- is **required**
- type: `integer`
##### pcm_id Type
`integer`
- minimum value: `0`
- maximum value: `5`
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
#### release
`release`
- is **required**
- type: `integer`
##### release Type
`integer`
- minimum value: `0`
- maximum value: `5`
#### terminal
`terminal`
- is **required**
- type: `integer`
##### terminal Type
`integer`
- minimum value: `1`
- maximum value: `6`
### Ubus CLI Example
```
ubus call endpt call {"terminal":6,"add":1,"pcm_id":0,"cid":"018#"}
```
### JSONRPC Example
```json
{
Loading
Loading full blame...