asterisk

Telephone and exchange (phone) server.

TLDR

[R]econnect to a running server, and turn on logging 3 levels of [v]erbosity

$ asterisk -r -vvv
copy

[R]econnect to a running server, run a single command, and return

$ asterisk -r -x "[command]"
copy

Show chan_SIP clients (phones)

$ asterisk -r -x "sip show peers"
copy

Show active calls and channels

$ asterisk -r -x "core show channels"
copy

Show voicemail mailboxes

$ asterisk -r -x "voicemail show users"
copy

Terminate a channel

$ asterisk -r -x "hangup request [channel_ID]"
copy

Reload chan_SIP configuration

$ asterisk -r -x "sip reload"
copy

Copied to clipboard
free 100$ digital ocean credit