Detect Hangup

Hi, currently I have the cdr_mysql addon installed. This is great because it logs the last action into the database.

Is there a setting somewhere I can edit to call an AGI script if it detects the hangup? Or this can only be done by loading the modules (.so) during startup.


put an extension ‘h’ in the context the call is in. When the remote end hangs up, execution will jump to the ‘h’ extension. Put your AGI there.