remove code duplication. and ignore the actual error so prosodys type=cancel forbidden is matched as well