<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
thank you for your response.<br>
<br>
Maybe I have to read the RFC6665 :)<br>
<br>
Regards<br>
<br>
<div class="moz-cite-prefix">El 22/02/2015 a las 06:05, Podrigal,
Aron escribió:<br>
</div>
<blockquote
cite="mid:CANJp-yhJ5h4OkM9vm_Etrk8yGvy2BG+aT=0c0_Eny6WTs_sf_Q@mail.gmail.com"
type="cite">
<div dir="ltr">The reason for the transaction is because of
re-transmission. Otherwise, In the case where the original reply
from opensips has been lost on the network. the client will
re-transmit the SUBSCRIBE and <span style="color:rgb(0,0,0)">will
be seen as duplicate CSEQ by<br>
</span><span style="color:rgb(0,0,0)">presence module with 412
error code.</span></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Feb 21, 2015 at 8:33 PM,
campusvtv <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:campusvtv@gmail.com" target="_blank">campusvtv@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
a basic question.<br>
<br>
In this block:<br>
<br>
route[handle_presence] {<br>
if (!t_newtran()) {<br>
sl_reply_error();<br>
exit;<br>
}<br>
<br>
if(is_method("PUBLISH")) {<br>
handle_publish();<br>
}<br>
else<br>
if( is_method("SUBSCRIBE")) {<br>
handle_subscribe();<br>
}<br>
exit;<br>
}<br>
<br>
whic is the meaning of:<br>
<br>
if (!t_newtran()) {<br>
sl_reply_error();<br>
exit;<br>
}<br>
<br>
in other words why I have to use t_newtran function.<br>
<br>
Thank you.<br>
<br>
Regards<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>