[OpenSIPS-Devel] [opensips] New PV which holds the current route type (#316)
David Sanders
notifications at github.com
Thu Aug 28 13:43:47 CEST 2014
New PV (`$rT`) which holds the current route type as a string. Useful for determining the original route type when inside another route in script, such as a route called from an `onreply_route`. Allows for more generic and reusable routes such as a logging route which includes the route type in the logged message.
You can merge this Pull Request by running:
git pull https://github.com/dsanders11/opensips master
Or you can view, comment on it, or merge it online at:
https://github.com/OpenSIPS/opensips/pull/316
-- Commit Summary --
* New PV which holds the current route type
-- File Changes --
M pvar.c (65)
M pvar.h (3)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/316.patch
https://github.com/OpenSIPS/opensips/pull/316.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/316
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140828/2781dab4/attachment.htm>
More information about the Devel
mailing list