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...<BR><BR><B><I>Shane Burrell <shaneb@metrostat.net></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <META content="Microsoft Word 11 (filtered medium)" name=Generator> <STYLE> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </STYLE> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:SmartTagType name="country-region" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType> <STYLE> st1\:*{behavior:url(#default#ieooui) } </STYLE> <STYLE> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </STYLE> <DIV class=Section1> <div class=MsoNormal><FONT
face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Large switches have a local CDR and CDR streams. We compare the two before billing and do any reconciliation at that point.<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <div class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Anthony Minessale [mailto:anthmct@yahoo.com] <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, July 10, 2006 12:11 PM<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> freeswitch-users@lists.freeswitch.org<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Freeswitch-users] CDR status</SPAN></FONT><o:p></o:p></div></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">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.<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">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.<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Anthony Minessale<o:p></o:p></SPAN></FONT></div></DIV>
<DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><A href="http://www.cluecon.com/">http://www.cluecon.com</A><o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><BR><BR><B><I><SPAN style="FONT-WEIGHT: bold; FONT-STYLE: italic">Brett Nemeroff <brett@nemeroff.com></SPAN></I></B> wrote:<o:p></o:p></SPAN></FONT></div></DIV> <BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; MARGIN-TOP: 5pt; PADDING-LEFT: 4pt; MARGIN-BOTTOM: 5pt; PADDING-BOTTOM: 0in; MARGIN-LEFT: 3.75pt; BORDER-LEFT: #1010ff 1.5pt solid; PADDING-TOP: 0in;
BORDER-BOTTOM: medium none"> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hey,<BR>Comment on CDR and redundant servers. I've seen a lot of nightmareish<BR>scenarios with Asterisk and broken MySQL databases (or broken network<BR>connectivity). Ugly things like the SQL server becomes unavailable and<BR>then the SIP channel blocks...<BR><BR>Why not just make the CDR module output to a pipe or socket and have a<BR>seperate program read the socket and do whatever.. that way the app is<BR>completely isolated from the Database<BR><BR>BTW, can the multicast eventing do something like that already? How does<BR>the multicast eventing and cdr gel up?<BR>-Brett<BR><BR><BR>On Mon, July 10, 2006 9:58 am, Yossi Neiman wrote:<BR>> Hey folks,<BR>><BR>> For all of you who were wondering when Freeswitch will be supporting the<BR>> logging of Call Detail Records, here is the current status:<BR>><BR>> mod_cdr currently logs to three
types of outputs: CSV format (CsvCDR),<BR>> Perl Data Dumper Format to individual files (AnthmCDR), and to MySQL<BR>> 4.1.x or greater using prepared statements (MysqlCDR). I have not yet<BR>> implemented any failover routines, but at the moment that would mostly<BR>> only pertain to the Mysql output anyway. I will not be able to<BR>> implement those routines until after the initial inclusion of mod_cdr<BR>> into the trunk. That inclusion I hope will be coming very soon as all<BR>> we really need to do is do some additional testing to make sure I've not<BR>> missed anything. I expect that we will be ready for testing very soon.<BR>><BR>> Will keep the list posted when it is merged into the trunk.<BR>><BR>> Yossi Neiman<BR>> Cartis Solutions, Inc. - http://www.cartissolutions.com<BR>><BR>> _______________________________________________<BR>> Freeswitch-users mailing list<BR>> Freeswitch-users@lists.freeswitch.org<BR>>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>><BR>><BR><BR><BR><BR>_______________________________________________<BR>Freeswitch-users mailing list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<o:p></o:p></SPAN></FONT></div></BLOCKQUOTE> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div> <div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></div> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR align=center width="100%" SIZE=1> </SPAN></FONT></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Yahoo! Messenger with Voice. <A href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http:/us.rd.yahoo.com/evt=39663/*http:/voice.yahoo.com">Make
PC-to-Phone Calls</A> to the <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:country-region w:st="on"><st1:place w:st="on">US</st1:place></st1:country-region> (and 30+ countries) for 2¢/min or less.<o:p></o:p></SPAN></FONT></div></DIV>_______________________________________________<BR>Freeswitch-users mailing list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR></BLOCKQUOTE><BR><BR><BR>Anthony Minessale II<br><br>FreeSWITCH http://www.freeswitch.org/<br>ClueCon http://www.cluecon.com/<p> 
                <hr size=1>Want to be your own boss? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index"> Yahoo! Small Business.</a>