Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Asterisk command to "kill" a call

Posted on 2009-06-27
5
Medium Priority
?
11,589 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 1000 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 1000 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

715 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