[OpenSIPS-Devel] [OpenSIPS/opensips] a25019: acc: fix prepared statements for non-ctx records

Razvan Crainea razvan at opensips.org
Tue Dec 19 03:43:18 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a250191728b761cdfb18fe37d2625e94623918f7
      https://github.com/OpenSIPS/opensips/commit/a250191728b761cdfb18fe37d2625e94623918f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  acc: fix prepared statements for non-ctx records

In case one is doing a "manual" acc_db_request() in local route, where
you don't have a context, there are not extra values available, thus we
need to use a different prepared statement.

Credits go to Pete Kelly for reporting this




More information about the Devel mailing list