Solved

Asterisk command to "kill" a call

Posted on 2009-06-27
5
11,103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cti route point to unity issue 2 85
Can't connect to FTP 18 154
Skype For Business - Force update with existing distribution list 6 58
General network\voice question.. 4 55
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 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