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

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


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 04a0192ee14541ac0ad0bc3870c48fc634a36ea1
      https://github.com/OpenSIPS/opensips/commit/04a0192ee14541ac0ad0bc3870c48fc634a36ea1
  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

(cherry picked from commit a250191728b761cdfb18fe37d2625e94623918f7)




More information about the Devel mailing list