If you are referring to adding a hangup handler[1] then you can use the variables functionality in call files to set one.
[1] Hangup Handlers - Asterisk Project - Asterisk Project Wiki
If you are referring to adding a hangup handler[1] then you can use the variables functionality in call files to set one.
[1] Hangup Handlers - Asterisk Project - Asterisk Project Wiki