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

Vlad Pătrașcu noreply at github.com
Fri Jan 15 12:48:26 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dc4199b15047e924e71efc5e76def92822f28a66
      https://github.com/OpenSIPS/opensips/commit/dc4199b15047e924e71efc5e76def92822f28a66
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-01-14 (Thu, 14 Jan 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


  Commit: e9627e9dc4f1002a8980980aea0bfdfb1fa05e8b
      https://github.com/OpenSIPS/opensips/commit/e9627e9dc4f1002a8980980aea0bfdfb1fa05e8b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-01-15 (Fri, 15 Jan 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


  Commit: aad28f39c502944f810a7418563fb76e13a9e012
      https://github.com/OpenSIPS/opensips/commit/aad28f39c502944f810a7418563fb76e13a9e012
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-01-15 (Fri, 15 Jan 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


Compare: https://github.com/OpenSIPS/opensips/compare/7dc20e471bf8...aad28f39c502



More information about the Devel mailing list