[OpenSIPS-Devel] [OpenSIPS/opensips] 0db7e0: s.fill transformation: Prioritize string pvars ove...

Liviu Chircu liviu at opensips.org
Tue Jun 2 18:09:31 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0db7e0e38c0974ec393446237aa09bc5658c0d24
      https://github.com/OpenSIPS/opensips/commit/0db7e0e38c0974ec393446237aa09bc5658c0d24
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-06-02 (Tue, 02 Jun 2015)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  s.fill transformation: Prioritize string pvars over integer ones

Reason for this is that a pvar which holds a string is a more
particular occurrence than an int one, since integers can be
easily stringified.

This fixes some issues with pvars which have multiple internal
representations (e.g. $rm is "INVITE" and 1 at the same time)

Reported by Eric Tamme




More information about the Devel mailing list