[OpenSIPS-Devel] [OpenSIPS/opensips] 19a500: mi: include more details in invalid params errors

Vlad Pătrașcu noreply at github.com
Fri Apr 9 18:56:09 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 19a5008278d1ce53c3171331598b471db3e52977
      https://github.com/OpenSIPS/opensips/commit/19a5008278d1ce53c3171331598b471db3e52977
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M mi/item.c
    M mi/item.h
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi: include more details in invalid params errors

(cherry picked from commit dc4199b15047e924e71efc5e76def92822f28a66)


  Commit: 7d462f117a6a0e1759d0bdc68d31ec57a6072b1c
      https://github.com/OpenSIPS/opensips/commit/7d462f117a6a0e1759d0bdc68d31ec57a6072b1c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi: further improve invalid params errors

* handle an unexpected param as error when receiving named params and
  get rid of the "ambigous call" error for named params
* return appropriate error for bad number of params even when receiving
  named params / no params at all
* include a hint when returning "ambigous call" error for positional
  params

(cherry picked from commit e9627e9dc4f1002a8980980aea0bfdfb1fa05e8b)


  Commit: 6982c0dfb434acaea60a84c70d032179ef610b73
      https://github.com/OpenSIPS/opensips/commit/6982c0dfb434acaea60a84c70d032179ef610b73
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-04-09 (Fri, 09 Apr 2021)

  Changed paths:
    M mi/item.c
    M mi/mi.c
    M mi/mi.h

  Log Message:
  -----------
  mi: improve error message for generic server errors

(cherry picked from commit aad28f39c502944f810a7418563fb76e13a9e012)


Compare: https://github.com/OpenSIPS/opensips/compare/b6aeba98d220...6982c0dfb434



More information about the Devel mailing list