Interesting...never heard about or experienced a 'h' extension
(introduced in v.0.1.12) loop.
Is this posted somewhere?
If not, the community should be notified.

At least in the early days of the Zaptel driver, if a zap-to-sip call
was terminated, this was required to properly hang up/clean up the zap
channel.

It's also used in AMP (and [EMAIL PROTECTED]) for example.

-- Bjorn

-----Original Message-----
From: Andrew Kohlsmith [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 28, 2006 9:21 AM
To: [email protected]
Subject: Re: [on-asterisk] Does Bell provide Remote Disconnect
Supervision?

On Thursday 27 April 2006 22:04, Bjorn Asmul wrote:
> exten => h,1,Wait(2)
> exten => h,2,Hangup
>
> It should be standard in all dialplans to make sure your channels get 
> hung up.

*no*

You don't Hangup() inside the 'h' extension. 'h' is called when Asterisk
*has* hung the line up, not when it's about to.  In fact, Digium
recommends against this, as while it hasn't caused any trouble to date,
it could.  (in the sense of the line's hung up, execute Hangup, which
jumps to the 'h' extension, which sees Hangup(), which jumps to the 'h'
extension, which...)

-A.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to