Added HANGUP handling in AGI exmaple.