On Fri, Jun 9, 2017 at 11:05 AM Paul Zillmann <p.zillmann@h6g.de> wrote:
libbson isn't (just) a JSON library and it's mandatory for the libmongoc driver.
It's there and it has to be used either in the way to create a JSON string out of switch_ivr_generate_json_cdr and re-parse it in libbson (which is highly inefficient), or to re-implement switch_ivr_generate_json_cdr in the module with libbson (which I did).
None of my changes touches or change switch_ivr.
Which may lead to inconsistencies when the core changes. I guess that will only be a problem for users of that module.
Am 08.06.2017 um 02:42 schrieb Anthony Minessale:
We want it to be cJSON there is no need for multiple json libs.
On Wed, Jun 7, 2017 at 10:16 AM Paul Zillmann <p.zillmann@h6g.de> wrote:
Hello,
currently I'm working on a revival of mod_cdr_mongodb and I'm looking
for (unit) tests for CDR modules in general and / or tests for
switch_ivr_generate_json_cdr() in switch_ivr.c. I've ported
switch_ivr_generate_json_cdr from cJSON to libbson.
Thanks,
Paul Zillmann
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
--
Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________-- H6G Paul Zillmann Rudi-Arndt-Str. 22 23968 Wismar www.h6g.de mail@h6g.de Tel.: (0 38 41) 2 89 26 64 - 0 Fax: (0 32 22) 3 94 52 97
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
--
Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- H6G Paul Zillmann Rudi-Arndt-Str. 22 23968 Wismar www.h6g.de mail@h6g.de Tel.: (0 38 41) 2 89 26 64 - 0 Fax: (0 32 22) 3 94 52 97