[OpenSIPS-Devel] [OpenSIPS/opensips] 479bc5: callops: only use active dialogs

Răzvan Crainea noreply at github.com
Tue May 26 11:05:01 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 479bc5a1e90e175b2c15d8a8553087339cfacb09
      https://github.com/OpenSIPS/opensips/commit/479bc5a1e90e175b2c15d8a8553087339cfacb09
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M modules/callops/callops.c

  Log Message:
  -----------
  callops: only use active dialogs


  Commit: d883a0d72ac07353d8c84cdd4ab62265887a56b9
      https://github.com/OpenSIPS/opensips/commit/d883a0d72ac07353d8c84cdd4ab62265887a56b9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_handlers.h
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_load.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/doc/dialog_admin.xml
    M modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  dialog: always represent the dialog ID as hexa

This commit normalizes the way the dialog id is represented or
interpreted by different functions to a single, hexa representation of
the hash entry and hash id of the dialog. It affects the following:
 * $DLG_did variable - changes the output representation
 * dlg_list MI command - instead of printing only the db ID, it now shows
   both the dialog ID, and the db id
 * dlg_end_dlg MI command - use the dialog id instead of the DB id to
   terminate a dialog
 * load_dlg_ctx function - the did always need to have the hexa
   representation
 * rtpproxy timeout & DTMF - the id will now have the hexa
   representation


Compare: https://github.com/OpenSIPS/opensips/compare/c7865c64c429...d883a0d72ac0



More information about the Devel mailing list