Hangup Active Calls from Asterisk CLI
Asterisk CLI provides Hangup command to hangup live calls. For using the hangup command, you need to get the name of the channel that you want to hangup.
Get Active Channels
Use the command below to get all the active channels in your Asterisk server.
core show channels
This command will show all the active channels in your server. Copy the channel name which you want to hangup.
Get detailed channel information
If you want to see a detailed information on the channels in asterisk, use the command
core show channels concise
For hanging up the call, use following command
hangup request channelname
How to use hangup command from Linux shell?
If you want to use hangup command from your linux shell, use
asterisk -rx “hangup request channelname”
Hang up all calls
To hang up all the calls running through your Asterisk , use the command
hangup request all
Choose the Best SIP Trunk Provider for Your Grandstream IP PBX and Phones Do you have a Grandstream IP PBX system? Then you need to think about your SIP trunk provider. Don’t just opt for the cheapest option available because the chances are, you’re not going to...read more
Guide to SMS Compliance. SMS marketing is one of the most effective types of marketing around. An SMS message has an open rate of 98%, when compared to 20% with an email. But before you start sending SMS text campaigns, you need to make sure that you’re compliant...read more
Visit SIP Trunking Pricing to see which plan best suits your business!
With so many options to pick from it can often be hard to decide what’s best.
Our plans have been packaged together to give you optimum output.
Our SIP Trunks are Compatible with wide range of PBX & Platforms.