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

Call Hangup

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

New Posts

Why VoIP Phone System is better choice for businesses

Why VoIP Phone System is better choice for businesses? Having a phone is a must for any business small or large, new or old. Traditionally office phone numbers were just a medium for business to business or business to consumer voice interactions. But entry of VoIP in...

read more

SMS via Email – Receiving, Replying & Sending

SMS VIA EMAIL – RECEIVING, REPLYING & SENDINGDIDForSale’s new feature will enable its user to receive, reply & send SMS via email. This will give individuals and resellers the capability to allow anyone to receive, reply & send SMS by using an email address. Easy...

read more

Learn more about our Products

SIP TRUNKING

PHONE NUMBERS

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.

Share This