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, Neven
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@gmail.com> wrote:
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, Neven
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Neven Vrenko
-
Stanislav Sinyagin