[Freeswitch-users] Manual generation of CDRs
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
> 4. NEW CDR IS GENERATED FROM DIAL PLAN
> 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,
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users