mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:37:56 +01:00
asterisk: add page (#4474)
This commit is contained in:
parent
709765c323
commit
d9e540a387
1 changed files with 33 additions and 0 deletions
33
pages/linux/asterisk.md
Normal file
33
pages/linux/asterisk.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# asterisk
|
||||
|
||||
> Telephone and exchange (phone) server.
|
||||
> Used for running the server itself, and managing an already running instance.
|
||||
> More information: <https://wiki.asterisk.org/wiki/display/AST/Home>.
|
||||
|
||||
- [R]econnect to a running server, and turn on logging 3 levels of [v]erbosity:
|
||||
|
||||
`asterisk -r -vvv`
|
||||
|
||||
- [R]econnect to a running server, run a single command, and return:
|
||||
|
||||
`asterisk -r -x "{{command}}"`
|
||||
|
||||
- Show chan_SIP clients (phones):
|
||||
|
||||
`asterisk -r -x "sip show peers"`
|
||||
|
||||
- Show active calls and channels:
|
||||
|
||||
`asterisk -r -x "core show channels"`
|
||||
|
||||
- Show voicemail mailboxes:
|
||||
|
||||
`asterisk -r -x "voicemail show users"`
|
||||
|
||||
- Terminate a channel:
|
||||
|
||||
`asterisk -r -x "hangup request {{channel_ID}}"`
|
||||
|
||||
- Reload chan_SIP configuration:
|
||||
|
||||
`asterisk -r -x "sip reload"`
|
Loading…
Reference in a new issue