[OpenSIPS-Devel] [OpenSIPS/opensips] 518b2c: Fix parsing for Diversion header.

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


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 518b2c12192fcc018bedf5f1ad714697966bbdb4
      https://github.com/OpenSIPS/opensips/commit/518b2c12192fcc018bedf5f1ad714697966bbdb4
  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