[Freeswitch-users] CDR status

Anthony Minessale anthmct at yahoo.com
Mon Jul 10 09:35:20 PDT 2006


Sure, You should have no problem interfacing any method you wish to use with or without the help of the new CDR module.  There are global state handlers you can attach to all sessions from your module.  So when sessions reach various states your code will be executed this makes it easy to add in things like radius etc...

Shane Burrell <shaneb at metrostat.net> wrote:        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        st1\:*{behavior:url(#default#ieooui) }                Large switches have a local CDR and CDR streams.  We compare the two before billing and do any reconciliation at that point.
   
      
---------------------------------
  
  From: Anthony Minessale [mailto:anthmct at yahoo.com] 
Sent: Monday, July 10, 2006 12:11 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] CDR status

   
    The CDR module has modules staticly written into them so you can implement the delivery any way you choose.  My personal favorite is 1 file per record in a parsable format for a script to come and aggragate them into sql stmts once in a while.

     

    As far as multicast events there is almost enough information in the events to do the cdr completly in an event consumer I just need to add a little more code to insert the times on the hangup events but you could keep track of it externally even without them if you wanted to keep state privately based on the event data.  There is an example of this in the core where an internal event consumer keeps the call count and states of every session into an intenal sqlite db so you can query channel data without disturbing the actuall live channels.

     

     

    Anthony Minessale

    http://www.cluecon.com

     

     

    

Brett Nemeroff <brett at nemeroff.com> wrote:

    Hey,
Comment on CDR and redundant servers. I've seen a lot of nightmareish
scenarios with Asterisk and broken MySQL databases (or broken network
connectivity). Ugly things like the SQL server becomes unavailable and
then the SIP channel blocks...

Why not just make the CDR module output to a pipe or socket and have a
seperate program read the socket and do whatever.. that way the app is
completely isolated from the Database

BTW, can the multicast eventing do something like that already? How does
the multicast eventing and cdr gel up?
-Brett


On Mon, July 10, 2006 9:58 am, Yossi Neiman wrote:
> Hey folks,
>
> For all of you who were wondering when Freeswitch will be supporting the
> logging of Call Detail Records, here is the current status:
>
> mod_cdr currently logs to three types of outputs: CSV format (CsvCDR),
> Perl Data Dumper Format to individual files (AnthmCDR), and to MySQL
> 4.1.x or greater using prepared statements (MysqlCDR). I have not yet
> implemented any failover routines, but at the moment that would mostly
> only pertain to the Mysql output anyway. I will not be able to
> implement those routines until after the initial inclusion of mod_cdr
> into the trunk. That inclusion I hope will be coming very soon as all
> we really need to do is do some additional testing to make sure I've not
> missed anything. I expect that we will be ready for testing very soon.
>
> Will keep the list posted when it is merged into the trunk.
>
> Yossi Neiman
> Cartis Solutions, Inc. - http://www.cartissolutions.com
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
>



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
   
    
    
---------------------------------
  
  Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users



Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
 		
---------------------------------
Want to be your own boss? Learn how on  Yahoo! Small Business. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20060710/622e67ae/attachment-0003.html 


More information about the FreeSWITCH-users mailing list