On Tue, Feb 17, 2009 at 08:57:51AM -0600, Danny Nicholas wrote:
> Ok isn't this replacing a "western hack" with a "bridge hack"? The "init
> 0" and "init 6" probably aren't going to work anyway since (1) asterisk has
> to be running as root and
I have already mentioned that this is a requiremen
would work unless you had a copy or symlink in the asterisk
directory.
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Sunday, February 15, 2009 11:26 PM
To: asterisk-users@lists.digium.com
Subje
On Mon, Feb 16, 2009 at 12:15:08AM -0500, Alexander Lopez wrote:
> This will hang-up all channels even if multiples channels are open...
>
>
> Exten => _86,1,system(“init 0”)
>
> Use with Caution…☺
Only if Asterisk is running as root. Which is not recommended, anyway.
And besides, I think
isk-users-boun...@lists.digium.com] On Behalf Of Lenz Emilitri
Sent: Friday, February 13, 2009 3:52 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Hangup extensions via CLI?
This version will hang up the given extension even if it has multiple chann
On Fri, Feb 13, 2009 at 06:08:45PM +0800, Dinesh Nair wrote:
> On Wed, 11 Feb 2009 12:34:12 +0100, Lenz Emilitri wrote:
>
> > This is a bit of trickery, but could not resist :)
> >
> > This will kill a channel that is connected to SIP/201
> >
> > asterisk -rx "soft hangup $(asterisk -rx 'show c
On Wed, 11 Feb 2009 12:34:12 +0100, Lenz Emilitri wrote:
> This is a bit of trickery, but could not resist :)
>
> This will kill a channel that is connected to SIP/201
>
> asterisk -rx "soft hangup $(asterisk -rx 'show channels' | grep SIP/201
> | awk '{ print $1 '} )"
what if there're also ch
You guys think YOU'RE overdoing it... your solution works with a single line.
My solution was some convoluted 100 line shell script!
Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105
- "Lenz Emilitri" wrote:
>
I have a feeling we're overdoing it :)
l.
>
>
2009
x27;{
> print $1 '} )")
>
> Where dialing 861234 would hangup extension 1234
>
> If this needs refinement, will repost:
>
>
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com
> [mailto:asterisk-users-boun...@lists.digium.com] On Beh
I have a feeling we're overdoing it :)
l.
2009/2/12 Lukas Rypl
>
> > asterisk -rx "soft hangup $(asterisk -rx 'core show channels' | grep
> SIP/7000
>
>
> Hi,
>
> I used this way of processing output from asterisk 1.2 and found out
> that it is not 100% safe because there can appear unprintab
> asterisk -rx "soft hangup $(asterisk -rx 'core show channels' | grep SIP/7000
Hi,
I used this way of processing output from asterisk 1.2 and found out
that it is not 100% safe because there can appear unprintable characters
in the output. This will cause the following grep command to show
m
ld hangup extension 1234
If this needs refinement, will repost:
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Helius
Ferreira
Sent: Thursday, February 12, 2009 4:42 AM
To: asterisk-users@lists.digium.com
Sub
Asterisk 1.6 implements the "hangup" on the channel you just made the call
and I used it with this command (apparently)
asterisk -rx "soft hangup $(asterisk -rx 'core show channels' | grep SIP/7000|
awk '{ print $1 '} )"
In my asterisk system:
debian*CLI> core show channels
Channel
This is a bit of trickery, but could not resist :)
This will kill a channel that is connected to SIP/201
asterisk -rx "soft hangup $(asterisk -rx 'show channels' | grep SIP/201 |
awk '{ print $1 '} )"
It basically calls *, gets the list of channels, filters them out to get the
channel name and
Have you looked at soft hangup
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Tim Nelson
> Sent: Monday, February 09, 2009 3:29 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Su
14 matches
Mail list logo