[asterisk-users] Delay the HungUp

Jim Dickenson dickenson at cfmc.com
Fri Apr 16 07:08:04 CDT 2010


The h extension does not get executed until the hang up has occurred. The use of this is to do something after the hang up. Like cleaning up database entires or sending user events or the like.
-- 
Jim Dickenson
mailto:dickenson at cfmc.com

CfMC
http://www.cfmc.com/



On Apr 16, 2010, at 4:58 AM, Philipp von Klitzing wrote:

> Hi!
> 
>> exten => h,1,NoOp(Start)
>> exten => h,n,Wait(5)
>> exten => h,n,NoOp(End)
>> exten => h,n,Hangup()
> 
> * Wait() does not work in the context of the h extension (I am curious as 
> to the reasons for that as well)
> 
> * Hangup() makes no sense in the context of the h extension and should 
> not be used; you are _already_ in the process of hanging up
> 
> Philipp
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list