[OpenSIPS-Devel] [OpenSIPS/opensips] 28101e: Re-introduce the $rT (top route type) variable

Liviu Chircu noreply at github.com
Mon Jan 31 15:53:09 UTC 2022

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 28101e1245547f320b94699d19bd0774bf923f9f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M pvar.c
    M pvar.h

  Log Message:
  Re-introduce the $rT (top route type) variable

Although the recently introduced $route variable holds all necessary
information (including route type), saying $rT (just as before) is
preferable to the convoluted $(route[-1]{s.select,0,[}) alternative.

Many thanks to Nick Altmann / Bogdan Iancu for pointing this out!

More information about the Devel mailing list