[OpenSIPS-Devel] [OpenSIPS/opensips] 236b29: dialog: Enhance DLGCB_RESPONSE_FWDED to include ca...

Liviu Chircu noreply at github.com
Wed Nov 23 16:24:19 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 236b294dfb320f3c2c7a76e95ff54b2832ae70cf
      https://github.com/OpenSIPS/opensips/commit/236b294dfb320f3c2c7a76e95ff54b2832ae70cf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M modules/dialog/dlg_cb.h
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: Enhance DLGCB_RESPONSE_FWDED to include callee leg index

The "callee leg index" is very difficult to compute from outside dialog,
given the fact that SIP replies arrive randomly (think parallel forked
branches) or even in random counts (e.g. extra legs from downstream).

This patch simply exposes the dialog-determined callee leg index as the
(long)params->dlg_data value, to be used by other modules.





More information about the Devel mailing list