<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Yes, <tt>or <tt>grab the 1.11 <tt>G<tt>IT bra<tt>nch<br>
<br>
<tt>Rega<tt>rds,</tt></tt><br>
</tt></tt></tt></tt></tt></tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 21.06.2016 16:46, Newlin, Ben wrote:<br>
</div>
<blockquote cite="mid:2E333A19-F6B9-4360-81C4-389579585115@inin.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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>
<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">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> </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 <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b>Date: </b>Tuesday, June 21, 2016 at 9:42 AM<br>
<b>To: </b>OpenSIPS users mailling list
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>, "Newlin, Ben"
<a class="moz-txt-link-rfc2396E" href="mailto:Ben.Newlin@inin.com"><Ben.Newlin@inin.com></a>, "Newlin, Ben"
<a class="moz-txt-link-rfc2396E" href="mailto:Ben.Newlin@inin.com"><Ben.Newlin@inin.com></a><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
Ben,</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New","serif""><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 moz-do-not-send="true"
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 moz-do-not-send="true" 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"> </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+, 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"> </span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:Calibri;color:black"> </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"> </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 moz-do-not-send="true"
href="mailto:bogdan@opensips.org">
<bogdan@opensips.org></a><br>
<b>Date: </b>Tuesday, June 21, 2016 at 3:35 AM<br>
<b>To: </b>OpenSIPS users mailling list <a
moz-do-not-send="true"
href="mailto:users@lists.opensips.org">
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a></a>, "Newlin,
Ben" <a moz-do-not-send="true"
href="mailto:Ben.Newlin@inin.com">
<Ben.Newlin@inin.com></a>, "<a
moz-do-not-send="true"
href="mailto:denis7979@mail.ru"><a class="moz-txt-link-abbreviated" href="mailto:denis7979@mail.ru">denis7979@mail.ru</a></a>
>> Denis Putyato"
<a moz-do-not-send="true"
href="mailto:denis7979@mail.ru"><denis7979@mail.ru></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"> <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","serif""><br>
<br>
<tt>Please refer to <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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
moz-do-not-send="true"
href="mailto:denis7979@mail.ru"><a class="moz-txt-link-freetext" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a></a><o:p></o:p></p>
<table class="MsoNormalTable"
style="background:white" border="0"
cellpadding="0">
<tbody>
<tr>
<td
style="width:1.5pt;background:blue;padding:.75pt
.75pt .75pt .75pt" width="2">
<br>
</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 moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" 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>
<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 moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" 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>
<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>