https://tech.iprock.com/archives/10789
Link: Asterisk Hangup Handlers