Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Asterisk command to "kill" a call

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

Eye-catchers on the conference table

Challenge: The i-unit group was not satisfied with the audio quality during remote meetings. They were looking for a portable solution with excellent audio quality for use in their conference room but also at their client’s offices.

Question has a verified solution.

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

Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

916 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