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.

Reply via email to