Newer
Older
*voicemngr* provides the following UBUS objects:
```
'endpt'
"count":{"effective":"Boolean"}
"signal":{"line":"Integer","signal":"String","state":"String","data":"String"}
"connection":{"line":"Integer","id":"Integer","action":"String"}
"status":{"line":"Integer"}
"call":{"terminal":"Integer","add":"Integer","release":"Integer","cid":"String"}
"rtp_stats":{"line":"Integer","reset":"Boolean"}```
```
# Contents
* [Endpoint](#endpt)
## APIs
*voicemngr* publishes one object, `endpt`.
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
57
58
59
60
### endpt
| RPC | Description |
|------------|----------------------------------------------------------------------------------------------------------------|
| [count](#count) | Get the count of voice channels (terminals). This is called by asterisk. |
| [signal](#signal) | Start/stop call progress tone or signals on a terminal, e.g. dial tone, ring signal, and etc. This is called by asterisk. |
| [connection](#connection) | Create/destroy a connection for a terminal. This is called by asterisk. |
| [status](#status) | Get the hook status of a terminal. This is called by asterisk. |
| [call](#call) | Establish/release a call on a terminal. This is called both by asterisk and by dectmngr. |
| [rtp_stats](#rtp_stats) | Get the RTP statistics of a terminal. This is called by asterisk. |
#### Methods
Methods descriptions of the `endpt` object.
##### count
[count documentation](./api/endpt.md#count)
##### signal
[signal documentation](./api/endpt.md#signal)
##### connection
[connection documentation](./api/endpt.md#connection)
##### status
[status documentation](./api/endpt.md#status)
##### call
[call documentation](./api/endpt.md#call)
##### rtp_stats
[rtp_stats documentation](./api/endpt.md#rtp_stats)