[Freeswitch-users] mod_xml_cdr and mod_json_cdr - docs/code
Cal Leeming [Simplicity Media Ltd]
cal.leeming at simplicitymedialtd.co.uk
Wed Jan 2 15:19:13 MSK 2013
Hello,
Looking at the source code for xml_cdr and json_cdr:
https://github.com/FreeSWITCH/FreeSWITCH/blob/master/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c
https://github.com/FreeSWITCH/FreeSWITCH/blob/master/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c
Based on the commit messages and file contents, it looks like this code is
maintained in two different places, and is mostly copy/paste.
Looking at the documentation, all the relevant channel information is
inside the xml_cdr docs, with very little inside json_cdr, despite them
having nearly the same code base.
Could a core dev comment on;
* Why this code is maintained in two different places - are there any plans
to merge it into a single lib/file?
* Is there functionally any difference between the two, other than the fact
one outputs XML and another outputs JSON (my C is very poor, so I find it
difficult to interpret the code logic - sorry)
Many thanks
Cal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130102/ae237bd5/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list