[sr-dev] git:master:201c219a: lost: error response fix in lost_function(), lost_held_dereference() and lost_held_function()

Wolfgang Kampichler dev at kampichler.info
Sun May 2 17:31:40 CEST 2021


Module: kamailio
Branch: master
Commit: 201c219a5496924e701cc2b17fb0a439ee530813
URL: https://github.com/kamailio/kamailio/commit/201c219a5496924e701cc2b17fb0a439ee530813

Author: Wolfgang Kampichler <dev at kampichler.info>
Committer: Wolfgang Kampichler <dev at kampichler.info>
Date: 2021-05-02T17:28:44+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.

---

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/201c219a5496924e701cc2b17fb0a439ee530813.diff
Patch: https://github.com/kamailio/kamailio/commit/201c219a5496924e701cc2b17fb0a439ee530813.patch




More information about the sr-dev mailing list