diff --git a/.cheat/asterisk b/.cheat/asterisk new file mode 100644 index 0000000..bda5f88 --- /dev/null +++ b/.cheat/asterisk @@ -0,0 +1,17 @@ +To connect to a running Asterisk session: +asterisk -rvvv + +To issue a command to Asterisk from the shell: +asterisk -rx "" + +To originate a call from a SIP trunk on an Asterisk server, to a specified number: +asterisk -rx "channel originate SIP// application echo" + +To print out the details of SIP accounts: +asterisk -rx "sip show peers" + +To print out the passwords of SIP accounts: +asterisk -rx "sip show users" + +To print out the current active channels: +asterisk -rx "core show channels"