<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Agalya!<br>
<br>
<tt>Can you tr<tt>y r<tt>unning the tests with the <tt>stock <tt>code<tt>,
<tt>without the <tt>PUT AP<tt>I code? <tt>Just run <tt>the
tests <tt>with</tt> the </tt></tt></tt></tt></tt></tt></tt>POST
method, to c<tt>onf<tt>irm whether there is a bug in the
stock code, or in the <tt>custom<tt> code you made.<br>
<br>
<tt>Best regards,</tt><br>
<tt><tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 10/13/2016 04:55 PM, Ramachandran,
Agalya (Contractor) wrote:<br>
</div>
<blockquote
cite="mid:0c4bc43b91b54f88b70866138edbd55c@COPDCEX28.cable.comcast.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New",serif;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:856767996;
        mso-list-template-ids:1572390452;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Hi
Liviu,
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Thanks
for sharing the process for source code contribution.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Please
find my response
</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">inline.</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Just
to be sure: we're talking about REST POST now, right?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">Agalya:
No. Am using REST PUT API.
<br>
</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><br>
Regarding the issue: are there any OpenSIPS log errors that
might help us?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">Agalya:
No errors in the logs.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Also,
did you deduce the 99986 number by grepping the logs, or by
looking at the completed SIP calls? I'd recommend the
latter, since log lines may be rate-limited / overlapped,
etc. <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">Agalya:
By grepping logs as well by looking completed SIP calls. I
did this for 50,000 calls and the number matched for SIP
logs and call completed in sipp.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">In
Wireshark, I see response for all 50,000 HTTP requests.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">I
couldn’t get complete logs for 100K calls may be because as
you said rate-limited / overlapped, etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:red"><br>
</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Regards,<br>
Agalya<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
Liviu Chircu [<a class="moz-txt-link-freetext" href="mailto:liviu@opensips.org">mailto:liviu@opensips.org</a>]
<br>
<b>Sent:</b> Thursday, October 13, 2016 4:10 AM<br>
<b>To:</b> Ramachandran, Agalya (Contractor)
<a class="moz-txt-link-rfc2396E" href="mailto:Agalya_Ramachandran@comcast.com"><Agalya_Ramachandran@comcast.com></a>; OpenSIPS users
mailling list <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
<b>Subject:</b> Re: [OpenSIPS-Users] Pending OpenSIPS
minor releases: Last minute bug fixes!<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><tt><span style="font-size:10.0pt">Hi, Agalya!</span></tt><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">If
I get green signal from my management, I will contribute
code for REST_PUT. Can you share me the process to
contribute code ?<o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Calibri",sans-serif">First,
you create a GitHub account. Then you fork the OpenSIPS repo
[1] to your account. This allows you to work on it
independently and push changes back to GitHub when you're
done, so they are visible for everyone.<br>
<br>
Once the fork is done, you clone the forked project on your
machine so you can work on its code. You then apply your
custom patch(es), make the necessary commits and push these
changes back to GitHub.<br>
<br>
The process of proposing the merge of a forked project back
into the main project is called a "Pull Request" [2]. This
is the final step of contributing code, and you can easily
do it with a few clicks via GitHub's web interface.<br>
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">Out
of 2 times, I tested I observed the below issue for
once. Before I used to have it for every test.</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;text-indent:-.25in;mso-list:l0
level1 lfo1">
<!--[if !supportLists]--><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New Roman"">
</span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Tried
to load 100,000 calls - But route[resume_http] is called
only for 99986 calls.<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="text-indent:.25in"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Every
time approximately 10-20 calls, route[resume_http] is
not called. But if I see the tcpdump, I am seeing
100,000 HTTP request and 100,000 HTTP 200 OK responses.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="text-indent:.25in"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">When
printing the response in resume_http for every call-id,
10-20 calls response is not printed - which means resume
is not called for these calls.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="text-indent:.25in"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Am
not filtering any response code.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="text-indent:.25in"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Any
clue on this one?<o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal"><br>
<span
style="font-size:10.0pt;font-family:"Calibri",sans-serif">Just
to be sure: we're talking about REST POST now, right?<br>
<br>
Regarding the issue: are there any OpenSIPS log errors that
might help us? Also, did you deduce the 99986 number by
grepping the logs, or by looking at the completed SIP calls?
I'd recommend the latter, since log lines may be
rate-limited / overlapped, etc.<br>
<br>
[1]: <a moz-do-not-send="true"
href="https://github.com/OpenSIPS/opensips">https://github.com/OpenSIPS/opensips</a><br>
[2]: <a moz-do-not-send="true"
href="https://github.com/OpenSIPS/opensips/pulls">https://github.com/OpenSIPS/opensips/pulls</a></span><o:p></o:p></p>
</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>