[OpenSIPS-Devel] [OpenSIPS/opensips] 31ddc4: Fix parsing for Diversion header.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jun 3 18:40:03 CEST 2015


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 31ddc4942d624f4d4cb559c0daa078fcebe527fe
      https://github.com/OpenSIPS/opensips/commit/31ddc4942d624f4d4cb559c0daa078fcebe527fe
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-06-03 (Wed, 03 Jun 2015)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fix parsing for Diversion header.

As Diversion header may be a multi-body header, do not use the parse_to() function as it does not accept multiple bodies. Use parse_rr() function.
Reported by Nick Altmann.

(cherry picked from commit 36384927a5d2fd1d900ac36adc2ee15b2acad0c9)




More information about the Devel mailing list