[Freeswitch-users] Pushing CDR Information into Zeromq

João Mesquita jmesquita at freeswitch.org
Fri Jul 6 05:06:20 MSD 2012


You don't seem to have used Zmq. It's FUN!!! :D

Besides, with ZMQ you get fan in/fan out as well as other types of socket that can REALLY increase cdr processing power (distributed processing). Of course, I agree that having it as a module might not be the best solution tho, since zmq has some nasty asserts on its core code.  

--  
João Mesquita
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday, July 5, 2012 at 6:59 PM, Avi Marcus wrote:

> What about simply using xml_cdr or json_cdr and then process the queue of the files? Move them to a sub-directory once processed. That gives you disk persistence...
> -Avi  
>  
>  
> On Fri, Jul 6, 2012 at 12:17 AM, Michael Collins <msc at freeswitch.org (mailto:msc at freeswitch.org)> wrote:
> > Woohoo Perl!
> > http://www.bastichlabz.org/bastich/Strips/ba980225.gif
> >  
> > -MC
> >  
> >  
> > On Thu, Jul 5, 2012 at 1:48 PM, Gavin Henry <gavin.henry at gmail.com (mailto:gavin.henry at gmail.com)> wrote:
> > > We sponsored this:  
> > >  
> > > https://metacpan.org/release/Message-Passing
> > > https://metacpan.org/release/Message-Passing-ZeroMQ
> > > https://metacpan.org/module/BOBTFISH/Message-Passing-Input-Freeswitch-0.002/lib/Message/Passing/Input/Freeswitch.pm
> > > https://metacpan.org/release/Message-Passing-Output-WebHooks
> > >  
> > > We use it to pump events into zeromq as part of our API - http://www.surevoip.co.uk/api  
> > >  
> > > You can easily do cdrs.  
> > >  
> > > Gavin.  
> > >  
> > > --  
> > > Gavin Henry
> > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > >  
> > >  
> > > On Thursday, 5 July 2012 at 19:08, Michael Giagnocavo wrote:
> > >  
> > > >  
> > > > Wouldn’t the problem with ZeroMQ be no reliable delivery of CDRs? I was under the impression that 0MQ was more for high-performance, and things like guaranteed delivery are left as an exercise to the user.
> > > >  
> > > >  
> > > > -Michael
> > > >  
> > > >  
> > > >   
> > > >  
> > > >  
> > > > From: freeswitch-users-bounces at lists.freeswitch.org (mailto:freeswitch-users-bounces at lists.freeswitch.org) [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of João Mesquita
> > > > Sent: Thursday, July 05, 2012 9:56 AM
> > > > To: FreeSWITCH Users Help
> > > > Subject: Re: [Freeswitch-users] Pushing CDR Information into Zeromq
> > > >  
> > > >  
> > > >   
> > > >  
> > > >  
> > > > I haven't actually looked at the code, but you have to look at the variables on CHANNEL_REPORTING for example. There you will see all the vars needed to produce CDR entries, but they won't be on XML format like xml_curl would create.
> > > >  
> > > >  
> > > >   
> > > >  
> > > >  
> > > >  
> > > > Regards,
> > > >  
> > > >  
> > > >  
> > > >  
> > > >   
> > > >  
> > > >  
> > > >  
> > > > --  
> > > >  
> > > >  
> > > >  
> > > > João Mesquita
> > > >  
> > > >  
> > > >  
> > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > > >  
> > > >  
> > > >  
> > > >   
> > > >  
> > > >  
> > > >  
> > > > On Thursday, July 5, 2012 at 10:37 AM, Neo Cheema wrote:
> > > > >  
> > > > > Hi all,
> > > > >  
> > > > >  
> > > > >  
> > > > >   
> > > > >  
> > > > >  
> > > > >  
> > > > > I was hoping to find a way to push CDR information into a queue.
> > > > >  
> > > > >  
> > > > >  
> > > > > Zeromq comes out as an obvious choice because mod_event_zmq already
> > > > >  
> > > > >  
> > > > >  
> > > > > exits. However, I can't find a way to configure this module to push
> > > > >  
> > > > >  
> > > > >  
> > > > > CDR info. Have any of you guys tried it?
> > > > >  
> > > > >  
> > > > >  
> > > > >   
> > > > >  
> > > > >  
> > > > >  
> > > > > Regards
> > > > >  
> > > > >  
> > > > >  
> > > > >   
> > > > >  
> > > > >  
> > > > >  
> >  
> >  
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> > http://www.freeswitchsolutions.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 at lists.freeswitch.org (mailto: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
> >  
>  
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.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 at lists.freeswitch.org (mailto: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/20120705/39cae1dd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list