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
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 ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
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@h6g.de <mailto: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 <mailto: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 <mailto: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 ♬
☞ 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@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ 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
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 ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-dev mailing listFreeSWITCH-dev@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-devhttp://www.freeswi...
-- H6G Paul Zillmann Rudi-Arndt-Str. 22 23968 Wismar www.h6g.demail@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 ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
I guess many modules suffer from that "problem". Not only in the FreeSWITCH universe. May I throw the ball back to my question for test software? Thanks. Am 10.06.2017 um 05:07 schrieb Anthony Minessale:
On Fri, Jun 9, 2017 at 11:05 AM Paul Zillmann <p.zillmann@h6g.de <mailto: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 <mailto: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 <mailto: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 <mailto: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 ♬
☞ 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@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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 <http://www.h6g.de> mail@h6g.de <mailto: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 <mailto: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 <mailto: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 ♬
☞ 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@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ 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
participants (2)
-
Anthony Minessale
-
Paul Zillmann