commit | abbb6b90880f0828c6228aa9359e61672fb95571 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Dec 28 13:13:50 2017 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Dec 28 14:00:37 2017 +0100 |
tree | 551d2ba2d7c09a5c1500d1cb223e2bf1fde02c10 | |
parent | 3f35a3708aab5bbca11f2edbc41b2bcc17241923 [diff] |
centralize handling of common errors like "endpoint not found" Previously we * did not distinguish between the cause of errors in mgcp_header_parse * common errors were not handled in mgcp_handle_message() but in individual per-verb functions Let's centralize the handling of generating error responses and remove that burden from the individual per-verb handler functions. Change-Id: I463b27306e10ae3b021583ed102977e7299e5e66