Solved

Asterisk command to "kill" a call

Posted on 2009-06-27
5
10,784 Views
Last Modified: 2013-11-12
Is there an asterisk CLI command, to kill or end a call?  The only way I know of, is to restart asterisk, and that just seems to be a little much.  Thanks
0
Comment
Question by:jkockler
  • 2
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
kode99 earned 250 total points
ID: 24729117
Try using SoftHangup.  It can end a call or end all calls to a device.  You need the channel information to pass.  

Its a basic command, heres some references,

http://www.the-asterisk-book.com/unstable/applikationen-softhangup.html

http://www.voip-info.org/wiki/view/Asterisk+cmd+SoftHangup

0
 
LVL 25

Assisted Solution

by:Ron Malmstead
Ron Malmstead earned 250 total points
ID: 24736909
From the CLI, you can type "soft hangup " if you hit TAB, it will show you the list of SIP channels you can hangup.
0
 
LVL 25

Expert Comment

by:kode99
ID: 24738957
Learn something every day,  did not know about the tab thing.
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 24739001
kode, if you type the partial name of the sip channel (SIP/1000) and hit tab it will "autocomplete" it for you as well..
0
 
LVL 4

Author Comment

by:jkockler
ID: 24739555
tab rocks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question