Add check_hangup() method to pbx_lua, which can be used to check whether it is time...