[OpenSIPS-Users] Pending OpenSIPS minor releases: Last minute bug fixes!

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Thu Oct 13 15:55:00 CEST 2016


Hi Liviu,

Thanks for sharing the process for source code contribution.
Please find my response inline.

Just to be sure: we're talking about REST POST now, right?
Agalya: No. Am using REST PUT API.

Regarding the issue: are there any OpenSIPS log errors that might help us?
Agalya: No errors in the logs.

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.
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.
In Wireshark, I see response for all 50,000 HTTP requests.
I couldn't get complete logs for 100K calls may be because as you said rate-limited / overlapped, etc.

Regards,
Agalya

From: Liviu Chircu [mailto:liviu at opensips.org]
Sent: Thursday, October 13, 2016 4:10 AM
To: Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Pending OpenSIPS minor releases: Last minute bug fixes!


Hi, Agalya!
If I get green signal from my management, I will contribute code for REST_PUT. Can you share me  the process to contribute code ?
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.

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.

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.

Out of 2 times, I tested I observed the below issue for once. Before I used to have it for every test.

1.       Tried to load 100,000 calls - But route[resume_http] is called only for 99986 calls.
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.
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.
Am not filtering any response code.

Any clue on this one?

Just to be sure: we're talking about REST POST now, right?

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.

[1]: https://github.com/OpenSIPS/opensips
[2]: https://github.com/OpenSIPS/opensips/pulls
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161013/e5b62db4/attachment.htm>


More information about the Users mailing list