<div dir="ltr"><div><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Hi,</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">I started using testing the
event_route[dialog:failed].</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">On my scenario, I receive an INVITE,
use t_newtran(), check some stuff and send a failure reply like 3XX or 4XX.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">I use send_reply() and can see that
the TM sends the reply.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Now, if I use
event_route[dialog:failed], I keep on getting the warning &quot;script writer
didn&#39;t release transaction&quot;.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">If<span style> 
</span>I delete the event_route[dialog:failed] from the script, the warning
does not appear.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">My solution was to work stateless,
which is OK for this scenario.</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">But, still,</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">What does this event_route has that
shows this warning?</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Why doesn&#39;t the transaction being released?
(I tried to use t_reply as well and still the same).</span></p><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Thanks,</span></p>
<p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">Uri</span></p><font size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 10pt" class="MsoNormal"><font size="3" face="Calibri"> </font></p><font size="3" face="Times New Roman">

</font></div></div>