On Wed, 18 Mar 2009, Gabriel Ortiz Lour wrote:

>  Is there something like a global h exten, that gets called on every 
> hang up, no matter what exten?

(no matter what context)

Nope -- but it sounds like a great idea.

I do it this way...

I define an "h" template:

        [h](!)
                exten = h,1,                    goto(finish-call,h,1)

And then every context references the template:

        [block-me](digit-timeout,h,i,max-timeout,pound-main,s)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      [email protected]      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
-- 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

Reply via email to