<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<title>Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7</title>
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:MingLiU;
        panose-1:2 2 5 9 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Courier;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Bogdan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">That is great for versions 2.1+, but I was asking about 1.11. This sounds like a new feature to me and I don’t understand why it was ported back to break existing functionality. The new
TM parameter you mention is not available in 1.11 according to the documentation, so I have no way to get the previous functionality. There is also no documentation in 1.11 or in the release notes that indicates that the 0x01 flag no longer works.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">Ben Newlin</span><span style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Bogdan-Andrei Iancu <bogdan@opensips.org><br>
<b>Date: </b>Tuesday, June 21, 2016 at 3:35 AM<br>
<b>To: </b>OpenSIPS users mailling list <users@lists.opensips.org>, "Newlin, Ben" <Ben.Newlin@inin.com>, "denis7979@mail.ru >> Denis Putyato" <denis7979@mail.ru><br>
<b>Subject: </b>Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi </span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Please refer to <a href="https://github.com/OpenSIPS/opensips/issues/833">https://github.com/OpenSIPS/opensips/issues/833</a> .</tt><br>
<br>
<tt>As per documentation, the 0x1 flag became obsolete, as sending the 100Trying is no longer linked to the t_relay() - the 100Trying is now sent when the transaction is created.
</tt><br>
<br>
<tt>If you want to disable the auto 100Trying, see the new TM flag auto_100trying:</tt><br>
<tt> <a href="http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294523">
http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294523</a></tt><br>
<br>
<tt>Regards,</tt><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 18.06.2016 16:49, Denis wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello!<br>
<br>
2.1 has the same problem<br>
<br>
<i><span style="font-size:10.0pt;font-family:Arial"> </span></i><a href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0" style="background:white">
<tbody>
<tr>
<td width="2" style="width:1.5pt;background:blue;padding:.75pt .75pt .75pt .75pt">
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">In my script I send all “100 Trying” responses manually* and use the 0x01 flag when calling t_relay so that it will not send its own “100 Giving a try” response, as per the documentation
[1]. </span><span style="font-size:11.0pt;font-family:MingLiU"><br>
<br>
</span><span style="font-size:11.0pt;font-family:Calibri">Unfortunately, in 1.11.7 and 1.11.8 this flag seems to have stopped working which results in multiple 100 responses.</span><span style="font-size:11.0pt;font-family:MingLiU"><br>
<br>
</span><span style="font-size:11.0pt;font-family:Calibri">This should be easily reproducible with a script that simply calls t_relay with flag 0x01. You will see that a “100 Giving a try” response is still sent.
</span><span style="font-size:11.0pt;font-family:MingLiU"><br>
<br>
</span><span style="font-size:11.0pt;font-family:Calibri">[1] </span><a href="http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294528"><span style="font-size:11.0pt;font-family:Calibri;color:#0563C1">http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294528</span></a><br>
<br>
<span style="font-size:11.0pt;font-family:Calibri">* I do this because I don’t like that the default is to send the non-standard response “100 Giving a try” instead of “100 Trying”. I’ve always wondered why this is that way. Additionally, the automatic response
to CANCEL requests is “200 canceling” instead of the standard “200 OK”. Unfortunately, I have yet to find a way to workaround the behavior for CANCEL.</span><span style="font-size:11.0pt;font-family:MingLiU"><br>
<br>
</span><span style="font-size:11.0pt;font-family:Calibri">Ben Newlin</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>