[OpenSIPS-Devel] [OpenSIPS/opensips] 9a3807: [acc] fixed missed calls callback registration

ionutrazvanionita ionutionita at opensips.org
Fri Sep 23 14:58:58 CEST 2016


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a3807931be237018273fd6719cb892e27595c17
      https://github.com/OpenSIPS/opensips/commit/9a3807931be237018273fd6719cb892e27595c17
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/acc/acc_logic.h

  Log Message:
  -----------
  [acc] fixed missed calls callback registration

If the missed calls callback was not registered the first time
do_accounting was called then it wouldn't have been registered
thereafter. A new internal flag was defined to know wheteher or
not the callback has been registered before the current
do_accounting call.

(cherry picked from commit 0592ab6db2f00b586d5f74fadd9f7f65cc00a7cf)

Conflicts:
	modules/acc/acc_logic.c
	modules/acc/acc_logic.h




More information about the Devel mailing list