[Freeswitch-dev] CDR Tests

Paul Zillmann p.zillmann at h6g.de
Thu Jun 8 03:08:33 UTC 2017


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.

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 at h6g.de
> <mailto:p.zillmann at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org
>     <mailto:FreeSWITCH-dev at 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  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net <http://irc.freenode.net> #freeswitch ☞
> _http://freeswitch.org/g+_
>
> ClueCon Weekly Development Call 
> ☎ sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900 
>
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at 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 at h6g.de

Tel.: (0 38 41) 2 89 26 64 - 0
Fax: (0 32 22) 3 94 52 97

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20170608/923fd219/attachment.html>


More information about the FreeSWITCH-dev mailing list