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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Razvan Crainea-3
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a250191728b761cdfb18fe37d2625e94623918f7
      https://github.com/OpenSIPS/opensips/commit/a250191728b761cdfb18fe37d2625e94623918f7
  Author: Razvan Crainea <[hidden email]>
  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



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel