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

Bogdan Andrei IANCU noreply at github.com
Tue Feb 18 11:31:55 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0200c0e1424c1a2b993cd3545507f2ccaf6c573a
      https://github.com/OpenSIPS/opensips/commit/0200c0e1424c1a2b993cd3545507f2ccaf6c573a
  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


  Commit: b7b22d6e3f54711d64ecd4731a40bfa55211e9d6
      https://github.com/OpenSIPS/opensips/commit/b7b22d6e3f54711d64ecd4731a40bfa55211e9d6
  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.


Compare: https://github.com/OpenSIPS/opensips/compare/339773071ad8...b7b22d6e3f54



More information about the Devel mailing list