<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
the warning is harmless. I can't say right now what is exact
relation between the dialog event route and it, I will have to look
at sources -- dialog module registers some callbacks. But at the
end, everything should go fine.<br>
<br>
I would create the dialog only when it is pretty much clear the
invite is relayed, unless you have other purposes for it, makes no
much sense to add the overhead of creating dialog structures just to
destroy them in next lines of the config.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 9/9/12 2:15 PM, Uri Shacked wrote:<br>
</div>
<blockquote
cite="mid:CAMMbDhREAW145CcwPE6HULDBVCBBHuwC8aYXXom_ycbQ1UZw6A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">Hi,</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">I started
using testing the
event_route[dialog:failed].</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";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 face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">I use
send_reply() and can see that
the TM sends the reply.</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">Now, if I
use
event_route[dialog:failed], I keep on getting the warning
"script writer
didn't release transaction".</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";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 face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">My solution
was to work stateless,
which is OK for this scenario.</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">But, still,</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">What does
this event_route has that
shows this warning?</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">Why doesn'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:"Times New
Roman","serif";font-size:12pt">Thanks,</span></p>
<p style="margin:0cm 0cm 0pt;line-height:normal"
class="MsoNormal"><span style="font-family:"Times New
Roman","serif";font-size:12pt">Uri</span></p>
<font face="Times New Roman" size="3">
</font>
<p style="margin:0cm 0cm 10pt" class="MsoNormal"><font
face="Calibri" size="3"> </font></p>
<font face="Times New Roman" size="3">
</font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
</body>
</html>