<p><a href="https://github.com/bogdan-iancu" class="user-mention">@bogdan-iancu</a> instead of a separate function - how about additional parameters/flags to t_relay or forward?</p>

<p>t_relay("tcp,udp");</p>

<p>vs.</p>

<p>set_transport_reference("tcp,udp");<br>
t_relay();</p>

<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/issues/420#issuecomment-78541537">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcicj5FYO17gOay6bAiY5L2P6Xf2grks5n0caAgaJpZM4Dn7ta.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/420#issuecomment-78541537"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>