Module: kamailio Branch: 5.5 Commit: 39143255145ba6387cb001be4c70decfd3811aec URL: https://github.com/kamailio/kamailio/commit/39143255145ba6387cb001be4c70decf...
Author: Wolfgang Kampichler dev@kampichler.info Committer: Wolfgang Kampichler dev@kampichler.info Date: 2021-05-03T12:33:00+02:00
lost: error response fix in lost_function(), lost_held_dereference() and lost_held_function()
- error variable was set to 0 (clean up) before return. Lost functions now returns 500 in case of LOST/HELD server error, or 400 in case of internal error, otherwise 2xx.
(cherry picked from commit 201c219a5496924e701cc2b17fb0a439ee530813)
---
Modified: src/modules/lost/functions.c Modified: src/modules/lost/response.c Modified: src/modules/lost/response.h
---
Diff: https://github.com/kamailio/kamailio/commit/39143255145ba6387cb001be4c70decf... Patch: https://github.com/kamailio/kamailio/commit/39143255145ba6387cb001be4c70decf...