It'd be better to have a module within FreeSWITCH that hooks into that state.

If you collect CDRs via ESL you risk missing some calls if your ESL connection drops.

On 21 September 2014 03:00, Vladimir Ralev <vladimir.ralev@gmail.com> wrote:
Is there an ESL event for reporting state? In any case CHANNEL_DESTROY seems good enough in kazoo and it's better to filter out redundant events.

On Sat, Sep 20, 2014 at 10:45 PM, Michael Jerris <mike@jerris.com> wrote:
Based on channel_destroy?  cdrs should be done in the reporting state before destroy.

On Sep 20, 2014, at 1:50 AM, Vladimir Ralev <vladimir.ralev@gmail.com> wrote:

Hi, It shouldn't affect performance at all. CDR events are usually 2-3 per call max. Kazoo record CDRs based on CHANNEL_DESTROY and it travels FreeSwitch->mod_kazoo(mod_erlang)->epmd->ecallmgr->RabbitMQ/AMQP (fanout at that iirc) -> multiple consumers (CDR app is one of them). Rabbit is by far the most robust link in this scenario in my experience.

On Sat, Sep 20, 2014 at 12:06 AM, Andre Demattia <andretodd@verizon.net> wrote:
Hi has anyone used FreeSWITCH with your cdrs going to rabbitmq?
Will the rabbit mq interfere with FreeSWITCH? Like take up TCP ports? Or impact performance?
Thanks
Andre


_________________________________________________________________________
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


_________________________________________________________________________
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