There is an EventConsumer class already there for you in mod_managed. Just new up one, and then on a dedicated thread, in a loop, just call the EventConsumer.Pop method.
 
There is no need to try to do cross app domain calls to the FreeSWITCH... namespace.
 
--Dave


From: coopara [mailto:coopara@go2.pl]
To: freeswitch-users@lists.freeswitch.org
Sent: Wed, 23 May 2012 02:17:40 -0700
Subject: [Freeswitch-users] FreeSWITCH logs to C# application

Hi,

I would like to collect all FS logs to my C# application. Is there any possible way to do that?

I use FreeSWITCH.EventBinding.Bind function and I'm looking for event_id which is switch_event_types_t.SWITCH_EVENT_LOG in handler but unfortunately it never occurs.

Best regards,
Coopara

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

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