[asterisk-users] force channel hangup

Alex Balashov abalashov at evaristesys.com
Fri Nov 28 16:24:36 CST 2008


Because hangup (and other behavioural) directives can only be addressed 
to a particular instance of a channel use, i.e. 
Technology/channel-uniqueID.  The latter are not addressable from the 
dial plan except implicitly.

Danny Nicholas wrote:

> Why wouldn't this work?
> exten => _911,1,Hangup(Zap/1)
> exten => _911,2,Dial(Zap/1/ww911,60)
> exten => _911,3,Hangup()
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anthony
> Messina
> Sent: Friday, November 28, 2008 3:48 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] force channel hangup
> 
> On Thursday 27 November 2008 20:25:49 Kelvin Chan wrote:
>> Hi guys,
>>
>> I have 1 zap channel in my house shared among couple people. If someone
>> dials 911, I want that zap channel to be disconnected right away to make
>> way for the 911 call.
>>
>> I dug through voip-info.org and didn't find much.
>> Any hints?
>>
> 
> i use this: 
> http://messinet.com/index.php?page_name=Asterisk&wikipage=Asteriske911


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the asterisk-users mailing list