[Freeswitch-dev] Would like to create and contribute a module "mod_cdr_logic"

Vitalii Colosov vetali100 at gmail.com
Sat May 22 09:35:13 PDT 2010

Hi Jan,

Thanks for your inputs.

Basically what you described here makes me plan to create completely
different thing that I was planning initially.

It should be "mod_cdr_mediation" - it must read the CDRs prepared by
mod_cdr_csv, apply business rules, insert into the database and move
successfully processed CDRs into archive directory.

If to go in this direction, I would also give the possibility to invoke a
Lua/JS script before exporting CDRs, so user will create complex business
logic to apply on the CDR values.

It will give a lot of flexibility, for example user can decide whether to
skip some CDRs from inserting into the database, can enhance the values,

Lua/FS script will receive selected CDR fields from the session variables,
and enhanced / new values will be sent back to the mod_cdr_mediation for

Do you think this idea reflects what you described?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100522/2a126bec/attachment.html 

More information about the FreeSWITCH-dev mailing list