Summary:ASTERISK-00219: Feature Request: initiate an event/script when a hangup occurs
Reporter:dtwilson (dtwilson)Labels:
Date Opened:2003-09-04 11:48:29Date Closed:2011-06-07 14:05:11
Versions:Frequency of
Description:It would be nice to be able to configure asterisk to run a script every time a hangup occurs. Regardless of the origin of the hangup.

The purpose is to enable the possibility of recording call end time and thus duration to any third party app/db
Comments:By: John Todd (jtodd) 2003-09-04 13:49:33

This already exists with the "h" context, unless you're referring to something else.

For an example of how "h" can be used to do some tasks (like cleaning up call recording, as you state) take a look at http://www.loligo.com/asterisk/  and look at the configs in there.

By: dtwilson (dtwilson) 2003-09-05 06:44:54

Thanks for pointing this out jtodd. I'd asked around on the mailing list, irc and google but no-one seemed to know so I presumed the feature didnt exist.

Time to close this report.

By: Mark Spencer (markster) 2003-09-05 13:15:42

Already exists