1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:42:07 +02:00
tldr/pages/linux/asterisk.md
Alejandro Cervera 2862a8c713
pages/linux/*: replace broken links (#12850)
Co-authored-by: spageektti <git@spageektti.cc>
2024-05-28 18:25:30 +02:00

683 B

asterisk

Run and manage telephone and exchange (phone) server instances. More information: https://docs.asterisk.org.

  • [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"