[OpenSIPS-Devel] [OpenSIPS/opensips] 26a8be: dialog: Add PRACK support to dlg_send_sequential()

Liviu Chircu noreply at github.com
Fri Mar 20 14:01:59 UTC 2026


  Branch: refs/heads/feature/dlg-prack-handling
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 26a8bee3983d8b80fd26fe1979373ebdb5c3fc5f
      https://github.com/OpenSIPS/opensips/commit/26a8bee3983d8b80fd26fe1979373ebdb5c3fc5f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: Add PRACK support to dlg_send_sequential()

* various validations of the current 101-199 provisional reply
* takes the RSeq header and builds the RAck header into the PRACK


  Commit: 9341318e5d532c321356ac47a05b4bd3519cebbf
      https://github.com/OpenSIPS/opensips/commit/9341318e5d532c321356ac47a05b4bd3519cebbf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/dialog.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_handlers.h
    M modules/dialog/dlg_hash.h
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: Add "auto-PRACK handling" flag to create_dialog() ("L" flag)

Similar logic to the dlg_send_sequential() addition, but fully automated.


  Commit: 388c48d868ed3b3b88b6e7c06706983372604843
      https://github.com/OpenSIPS/opensips/commit/388c48d868ed3b3b88b6e7c06706983372604843
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

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

  Log Message:
  -----------
  dialog PRACK: Fix issues during early-dialog

* work around the fact that r_cseq, Contact, and route-set and not yet
  present in the dst_leg struct.  So the use of send_leg_msg() and
  build_dialog_info() should be avoided here.
* fix outbound ACK CSeq to match the INVITE, rather than +1 due to
  the in-between PRACK


  Commit: 28fcd6cd1a3c66c12045e15a5a207dc6891a8ea2
      https://github.com/OpenSIPS/opensips/commit/28fcd6cd1a3c66c12045e15a5a207dc6891a8ea2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

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

  Log Message:
  -----------
  dialog: relax manual PRACK checks


  Commit: c5b5b00cd5aa76dd13ffa5ecfe966770610f1c60
      https://github.com/OpenSIPS/opensips/commit/c5b5b00cd5aa76dd13ffa5ecfe966770610f1c60
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog PRACK: Fix outgoing CSeq with multiple PRACKs


  Commit: 7e14715c7c83b15afe9c307afb77eb641d8cc0ea
      https://github.com/OpenSIPS/opensips/commit/7e14715c7c83b15afe9c307afb77eb641d8cc0ea
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: Change create_dialog() to use explicit flag names


  Commit: 7ec1271978dfff4959f3632ed455e8c87dbdd7c9
      https://github.com/OpenSIPS/opensips/commit/7ec1271978dfff4959f3632ed455e8c87dbdd7c9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog PRACK: Enhance auto-prack mode with failure handling


  Commit: cbbc4afdc157437716cfcfddcc59b568f9bbf1bb
      https://github.com/OpenSIPS/opensips/commit/cbbc4afdc157437716cfcfddcc59b568f9bbf1bb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h

  Log Message:
  -----------
  dialog PRACK: Add a couple knobs/settings for UAC-side control

    * auto_prack_hangup_on_failure (default: 0) -> enable strict UAC
    * auto_prack_fr_timeout (default: 2 sec) -> related to above


Compare: https://github.com/OpenSIPS/opensips/compare/a3b8a9ae6416...cbbc4afdc157

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list