[OpenSIPS-Devel] [OpenSIPS/opensips] a39552: In UAS replies, preserve the CSEQ from the UAS req...

Bogdan Andrei IANCU noreply at github.com
Tue Feb 18 12:08:35 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a39552e5ee68aae988527a9dcc7b65607b03fc72
      https://github.com/OpenSIPS/opensips/commit/a39552e5ee68aae988527a9dcc7b65607b03fc72
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M modules/uac/auth.c

  Log Message:
  -----------
  In UAS replies, preserve the CSEQ from the UAS request

Instead of computing the cseq for the forwarded replied, better use the cseq value from the original requests (like restoring).
Thanks to @razvancrainea for the brainstorming on the issue.

Fixes #1969

(cherry picked from commit 0200c0e1424c1a2b993cd3545507f2ccaf6c573a)


  Commit: 66984aba3e7c1e855b0b45ea7929ab75a699fe12
      https://github.com/OpenSIPS/opensips/commit/66984aba3e7c1e855b0b45ea7929ab75a699fe12
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  Fix computing the cseq for a branch.

Instead of assuming a +1 increment (to the cseq from request), better copy the cseq from the received reply.
Thanks to @razvancrainea for the brainstorming.

(cherry picked from commit b7b22d6e3f54711d64ecd4731a40bfa55211e9d6)


Compare: https://github.com/OpenSIPS/opensips/compare/31b6ae5d8832...66984aba3e7c



More information about the Devel mailing list