[OpenSIPS-Devel] [OpenSIPS/opensips] 322be6: dialog: call values/profiles write callbacks befor...

Vlad Patrascu vladp at opensips.org
Fri Apr 13 13:51:02 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 322be64d27c8799054a2c2ec2e9675b2e5b3db7b
      https://github.com/OpenSIPS/opensips/commit/322be64d27c8799054a2c2ec2e9675b2e5b3db7b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/cgrates/cgrates_acc.c
    M modules/dialog/dlg_cb.h
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: call values/profiles write callbacks before replicating dialogs

Rename DLGCB_DB_WRITE_VP to DLGCB_WRITE_VP since it should also be
triggered when replicating a created dialog. This allow modules
to properly save context information in the dialog which can then be
visibile on all instances where the dialog is replicated.

This fixes issues with received replicated dialogs in acc and cgrates modules.

(cherry picked from commit bcc3d8c0fb69073f49980c64aa80fba41d7b7961)




More information about the Devel mailing list