<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","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New","serif";}
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;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle21
        {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>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Thanks. I assume the parameter will be available in 1.11.9?<o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black"><o:p>&nbsp;</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>&nbsp;</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 &lt;bogdan@opensips.org&gt;<br>
<b>Date: </b>Tuesday, June 21, 2016 at 9:42 AM<br>
<b>To: </b>OpenSIPS users mailling list &lt;users@lists.opensips.org&gt;, &quot;Newlin, Ben&quot; &lt;Ben.Newlin@inin.com&gt;, &quot;Newlin, Ben&quot; &lt;Ben.Newlin@inin.com&gt;<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>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi Ben,</span></tt><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;,&quot;serif&quot;"><br>
<br>
<tt>My bad, I forgot to backport this param to 1.11 too (while the change affecting the 100 Trying generation was backported).</tt><br>
<br>
<tt><a href="http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294521">http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294521</a></tt><br>
<br>
<tt>Regards,</tt><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 21.06.2016 15:14, Newlin, Ben wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Bogdan,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">That is great for versions 2.1&#43;, 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.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">&nbsp;</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">Ben Newlin</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">&nbsp;</span><o:p></o:p></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 <a href="mailto:bogdan@opensips.org">
&lt;bogdan@opensips.org&gt;</a><br>
<b>Date: </b>Tuesday, June 21, 2016 at 3:35 AM<br>
<b>To: </b>OpenSIPS users mailling list <a href="mailto:users@lists.opensips.org">
&lt;users@lists.opensips.org&gt;</a>, &quot;Newlin, Ben&quot; <a href="mailto:Ben.Newlin@inin.com">
&lt;Ben.Newlin@inin.com&gt;</a>, &quot;<a href="mailto:denis7979@mail.ru">denis7979@mail.ru</a> &gt;&gt; Denis Putyato&quot;
<a href="mailto:denis7979@mail.ru">&lt;denis7979@mail.ru&gt;</a><br>
<b>Subject: </b>Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<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:&quot;Courier New&quot;,&quot;serif&quot;"><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>&nbsp;&nbsp;&nbsp;&nbsp; <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>
<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">&nbsp; </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>
<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">&nbsp;<o:p></o:p></p>
</div>
</div>
<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>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>