[Freeswitch-users] Manual generation of CDRs

Stanislav Sinyagin ssinyagin at gmail.com
Mon Oct 13 02:43:29 MSD 2014

the most flexible way is to listen to events via an ESL socket, and react
on important events by generating CDR, or updating your database, etc.

Here's an example in Perl:  https://wiki.freeswitch.org/wiki/CDR_via_ESL
It generates a new CDR upon hangup. If you need to process the start of the
outbound call, your event will probably be CHANNEL_BRIDGE.

For a server with some intensive load, it's better to utilize
multithreading and queing, so that the ESL listening thread is not delayed
by CDR writing. This could be done in a number of programming languages (my
favorite would be Go).

On Sun, Oct 12, 2014 at 11:50 PM, Neven Vrenko <neven.vrenko at gmail.com>

> Hi guys,
> I'm new to Freeswitch and I have one question.
> It's regarding CDRs, what I would like to do is:
> 1. Customer calls number
> 2. IVR responds and prompts for PIN
> 3. PIN is provided by customer
> 5. Call proceeds
> Is it possible to somehow generate new CDR "manually" from DialPlan?
> If not what is your proposal for solving this?
> Thank you in advance,
> Neven
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141013/fde8f659/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list