Select Git revision
functionspec.md
Yalu Zhang authored
functionspec.md 1.86 KiB
Function Specification
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
APIs
voicemngr publishes one object, endpt.
endpt
| RPC | Description |
|---|---|
| count | Get the count of voice channels (terminals). This is called by asterisk. |
| 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 | Create/destroy a connection for a terminal. This is called by asterisk. |
| status | Get the hook status of a terminal. This is called by asterisk. |
| call | Establish/release a call on a terminal. This is called both by asterisk and by dectmngr. |
| rtp_stats | Get the RTP statistics of a terminal. This is called by asterisk. |
Methods
Methods descriptions of the endpt object.