[Home]

Summary:ASTERISK-25831: [patch] CEL MongoDB Backend
Reporter:Catalin Stanciu (catacs)Labels:
Date Opened:2016-03-02 17:05:02.000-0600Date Closed:2016-03-31 07:18:52
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/New Feature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello,

I am creating a new CEL Backend for MongoDB
It depends on C MongoDB Driver (https://docs.mongodb.org/ecosystem/drivers/c/).
Now I am testing it, but I would like to submit the code to the main asterisk project.
Please let me know what do you think about it.

Moreover, please let me know which is the best way to submit the patch.
Comments:By: Asterisk Team (asteriskteam) 2016-03-02 17:05:02.608-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2016-03-03 16:40:47.963-0600

Contributions are typically welcome. JIRA is not the place to discuss them unless you have a very specific question about an issue at hand.

If you want to discuss the potential contribution you should post on the asterisk-dev mailing list.

http://www.asterisk.org/community/discuss

We don't track or discuss new feature or feature requests on the issue tracker unless there is a patch attached or in process on Gerrit.

Once you get feedback on the mailing list then it is simply a matter of following the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]

Thanks!

By: Catalin Stanciu (catacs) 2016-03-03 16:53:50.959-0600

Thank you very much for your feedback, Rusty. Mi intention is to append the patch as soon as possible, but I am waiting for agreement acceptance to submit code to Gerrit . Should I close this issue and open another one later with code submission ?

By: Joshua C. Colp (jcolp) 2016-03-31 07:18:53.311-0500

Closing this issue out as we are unable to accept the contribution. As Matt mentioned on the review itself:

Hi Catalin -
First, thanks for writing this patch. I think it would have been great for Asterisk to have a CDR/CEL backend for MongoDB. Unfortunately, after investigating the implementation here, I think we've hit a permanent snag in including this in the Asterisk code base.
The library you're using here, mongo-c-driver (https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc.h), is licensed under the Apache License Version 2.0. This license is, unfortunately, not compatible with the GPLv2. For explanations, see:
* http://www.apache.org/licenses/GPL-compatibility.html
* http://www.gnu.org/licenses/license-list.en.html#apache2
It sucks that we have to reject this patch because of license incompatibility, but unfortunately, since Asterisk is licensed under the GPLv2, that's what we're going to have to do.
Again - sorry for having to reject this patch.