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

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


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




More information about the Devel mailing list