[asterisk-users] [SOLVED] Re: Hangup extensions via CLI?

Tim Nelson tnelson at rockbochs.com
Mon Feb 9 17:17:56 CST 2009


I used the AMI show the current channels, grep out the ones I wanted to kill, and then used Command: Hangup to get rid of them. And, all done with about 100 lines of nasty nasty bash. :-)

Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105

----- "Alexander Lopez" <Alex.Lopez at opsys.com> wrote:

> Have you looked at soft hangup????
> 
> 
> 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-
> > bounces at lists.digium.com] On Behalf Of Tim Nelson
> > Sent: Monday, February 09, 2009 3:29 PM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: [asterisk-users] Hangup extensions via CLI?
> > 
> > Greetings list-
> > 
> > I'd like the ability to hangup all calls for a particular extension
> from
> > the system CLI. I understand this can probably be scripted using the
> AMI
> > but I'm not familiar on how to do it. Help!
> > 
> > Tim Nelson
> > Systems/Network Support
> > Rockbochs Inc.
> > (218)727-4332 x105
> > 
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com
> --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list