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

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Mon Oct 17 17:36:03 CEST 2016


Hi Liviu,

I will contribute the code to REST_PUT API call. In the next upcoming release 2.2.2 can you add the contributed code for REST_PUT?
If so, what is the time limit that I should contribute the code? So that you have enough time for validation.

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/20161017/06e5f6d3/attachment.htm>


More information about the Users mailing list