<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hey </tt><tt>Oleg</tt><tt>,</tt></p>
<p><tt>When processing a SIP request, you can create the SIP
transaction (go stateful)<br>
using either t_newtran() [1] or t_relay() [2]. Replies will be
automatically<br>
intercepted, matched and handled afterwards. To obtain
script-level access to<br>
them, you must install a t_on_reply() [3] route callback.<br>
</tt></p>
<p><tt>Regards,<br>
</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_newtran">https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_newtran</a><br>
[2]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay">https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay</a><br>
[3]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay">https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_on_reply<br>
</a></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 23.06.2019 12:13, Олег Подгуйко via
Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1561281236.38274084@f497.i.mail.ru"><span style="color: #222222; font-family: arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #f8f9fa;" data-mce-style="color: #222222; font-family: arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #f8f9fa;">How to make opensips when accepting INVITE immediately start working as a statefull proxy?</span></blockquote>
</body>
</html>