• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 12045
  • Last Modified:

Asterisk command to "kill" a call

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
jkockler
Asked:
jkockler
  • 2
  • 2
2 Solutions
 
kode99Commented:
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
 
Ron MalmsteadInformation Services ManagerCommented:
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
 
kode99Commented:
Learn something every day,  did not know about the tab thing.
0
 
Ron MalmsteadInformation Services ManagerCommented:
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
 
jkocklerAuthor Commented:
tab rocks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now