<p>New PV (<code>$rT</code>) 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 <code>onreply_route</code>. Allows for more generic and reusable routes such as a logging route which includes the route type in the logged message.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/dsanders11/opensips master</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/316'>https://github.com/OpenSIPS/opensips/pull/316</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>New  PV which holds the current route type</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/316/files#diff-0">pvar.c</a>
    (65)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/316/files#diff-1">pvar.h</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/316.patch'>https://github.com/OpenSIPS/opensips/pull/316.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/316.diff'>https://github.com/OpenSIPS/opensips/pull/316.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/316">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDg0NTQyNywiZGF0YSI6eyJpZCI6NDA5Mjk0ODR9fQ==--39b5b8c1efb872de72aa55f4162525606ab8aac8.gif" width="1" /></p>