Huge thanks to Joshua Colp for mirroring services

Leg-based CDR proposal updated; Major mods

Share on Twitter Digg this story Click to view a printable version Mon, 11 May 2009 00:00:38 -0300

murf has posted details of an update on his leg based CDR proposal. Great o see he is still working on resolving CDR:

Hello!

It's me again. I began a fairly large modification to my CDR proposal some weeks ago, and finally yesterday and this morning got enough accomplished to allow a commit and some peer review.

Check the docs out via " svn co http://svn.digium.com/svn/asterisk/team/murf/RFCs "

This is a directory; in it you will find:
CDRfix2.rfc.doc
CDRfix2.rfc.docx
CDRfix2.rfc.pdf

The docx version is the one I actually edit; the doc verison should be editable in both the windows and linux worlds. The PDF version is for those who just want to read it.

Basically, I modified the doc to turn Leg-based CDRs into Simple CDR's with splits (both automatic and dial-plan generated). Instead of a single time line for complex conversation, broken into consecutive segments, now you have N time lines (one per participating channel). A Leg-based CDR system devolves into a Simple CDR system when all the automatic and dial-plan splitting is turned off. This makes things easier to implement and understand. At least, for me! (If I don't understand it, I doubt I can make YOU understand it!)

Also, I gave uniqueID's an overhaul based on the idea of REFERENCING. I think most users have misunderstood the uniqueID field in the current CDR system, and don't see the possibilities that solid referencing would open up. I introduce the idea of uniquely identifying channel 'instances', which are what Asterisk creates when it creates a channel struct internally. The uniqueID field on the CHANNEL struct uniquely identifies that channel instance across time for a single server. (Currently). (barring masquerades). These are what are REFERENCED by my destchannel, and channel fields. I provide new fields called "channel_uniqueid" and "dstchannel_uniqueid" to reference these fields; not just the channel name (dahdi/1-1 doesn't quite suffice across time.) (But I left the old fields alone for those who prefer device info). CDR unique ID's can/will be generated for external usage, but are not available to the dialplan or apps within Asterisk. Thus, only external referencing is possible to individual CDR records. But this should be good enough, I think!

This may or may not help with issues brought forward a while back by greyman and others, -- I'd appreciate hearing about it.

murf

--
Steve Murphy, Pres, Consultant
ParseTree Corp


You haven't voted yet! Vote:
Current Rating: 0/10 (0 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

Major bug solved in IPSwitchBoard - September 30, 2005
Thorben Jensen has posted details of a fix for IPSwitchBoard.

Major server outages - April 2, 2008
Hi all. Sorry for the disruption today, we had 2 major server outages. Voice calls were unaffected for customers using Conduit3 PABX systems as they failed over to our Auckland server.

Auckland, New Zealand suffers major power outage - February 3, 2009
At 1:10pm this afternoon, Auckland suffered a major power outage effecting customers in the eastern and western suburbs. VentureVoIP customers were unaffected because of the geographically distributed nature of the telephone exchanges.

Asterisk Developers Conference Call Proposal - April 15, 2006
Russell Bryant has posted a proposal for an upcoming developers conference call.

Video packetization proposal - June 1, 2007
Mihai has posted a proposal for video packetization.

Asterisk 1.6 Release Management Proposal - October 18, 2007
Russell has posted an extensive document on the release management proposal for Asterisk 1.6.

ANNOUNCEMENT : Asterisk-Stat V2.0 - CDR Analyser - March 12, 2005
Areski has posted details of the latest version of his Asterisk-Stat package.

IPSwitchBoard connects to CDR - April 23, 2005
Thorben Jensen has posted details of the latest release of IPSwitchBoard.

Asterisk Queue (and CDR) Log Analyzer - June 3, 2006
Earl Terwilliger has posted details of a new queue and cdr log analyser with graphing.

MySQL CDR - losing records - June 13, 2006
Joseph Benden has posted details of a patch to enable spooling of CDR records when using cdr_mysql.

The New CDR system - March 30, 2007
murf has posted information on the new CDR system.


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Sound card Line-In as MOH source
May 16, 2005 Average Vote: 10
Niksa Baldun has posted a script (line of code) to allow you to select the line in of your sound card as a music on hold source.

39 Free Softphones
August 14, 2009 Average Vote: 9.9
I decided to do another round up article, this time focusing on the 39 best free softphones.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.9
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.8
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.8
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

Unit Test Framework Now Available
January 5, 2010 Average Vote: 9.6
David Vossel has posted details of the new unit test framework in Asterisk - this will likely lead to some pretty decent advances in stability.

Wishlist for 1.8 - new media negotiation
February 8, 2010 Average Vote: 9.5
Olle has posted a note explaining his with for codec negotiation fixup.

Asterisk-Addons 1.6.0.2 Now Available
May 22, 2009 Average Vote: 9.5
The Asterisk Development Team is pleased to announce the release of Asterisk-Addons 1.6.0.2.

Interview with John Todd
August 22, 2009 Average Vote: 9.4
We have just completed an interview with John Todd - the Asterisk Open Source Community Director.

New feature for AMI Redirect command
September 22, 2009 Average Vote: 9.3
Hakon Nessjoen has posted an email asking for testing of a patch for redirecting channels in different directions.

Asterisk in a Fortune 500 company
January 18, 2010 Average Vote: 9.3
John Todd has posted an interesting link about a speech that will take place in which Jeremy Wadhams from Yahoo will discuss an Asterisk implementation in a Fortune 500 company.

New feature: Asterisk Manager Interface commands for DeviceState
February 1, 2010 Average Vote: 9.3
Hakon Nessjoen has another path - this one allows getting and setting device state via the Asterisk Manager interface.

State of FAX (primarily T.38) in Asterisk trunk (planning for 1.8 release)
December 4, 2009 Average Vote: 9.3
Kevin Fleming has written up a description of where fax is at in Asterisk.

Billing systems and Daily Grind
January 8, 2010 Average Vote: 9.3
Most of the articles I write on the Daily Asterisk News are about releases of software etc, but I thought I would give you an update on what I am working on day to day.

Amazing Asterisk Sign
August 18, 2009 Average Vote: 9.3
Leif Madsen posted a link to a cool photo of someone hijacking a sign for Asterisk.


Wishlist for 1.8 - new media negotiation
February 8, 2010
Olle has posted a note explaining his with for codec negotiation fixup.

Asterisk 1.6.0.22, 1.6.1.14, and 1.6.2.2 Released
February 4, 2010
The Asterisk Development Team has announced security releases for Asterisk.

Simplified Voting
February 1, 2010
Hi all, I was going through the stats for the Daily Asterisk News and noted that the star rating system I was using was taking 180KB to download.

MixMonitor Mute
February 1, 2010
Julian Lyndon-Smith has posted details of a patch he has written to temporarily mute MixMonitor recordings.

Asterisk IPv6 update
February 1, 2010
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

New feature: Asterisk Manager Interface commands for DeviceState
February 1, 2010
Hakon Nessjoen has another path - this one allows getting and setting device state via the Asterisk Manager interface.

New feature in app_queue: Give members a penalty time for not answering
February 1, 2010
Hakon Nessjoen has posted detail of a patch he has written to add a new option to queues.conf.

Asterisk with Apple iPad
January 28, 2010
Apple has release the iPad today - their latest product - a tablet computer with a multi touch surface. It strikes me that this could potentially be used for a fantastic cheap receptionists console.

Adventures in RTCP - a short report
January 28, 2010
Olle has posted a writeup on his RTCP work - still could do with more testers.

Asterisk GSoC 2010
January 28, 2010
Russell has posted details of the Google Summer of Code program which will be running again this year.