[asterisk-dev] No unique identifier for CDR
Sebastian
scgm11 at gmail.com
Wed Aug 26 12:05:29 CDT 2009
Why not use a GUID to get a real unique identifier?
-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Nick Lewis
Sent: miércoles, 26 de agosto de 2009 12:31 p.m.
To: asterisk-dev at lists.digium.com
Subject: [asterisk-dev] No unique identifier for CDR
I have come up against a problem that there is no unique identifier for
a CDR. This makes it difficult to associate other things such as call
monitor recordings with a CDR.
Each call does have a unique identifier which is stored in the CDR as
"uniqueid" but there may be multiple CDRs representing one call. For
example ResetCDR(w) saves a CDR and creates a new one for the call. Both
CDR have the same "uniqueid".
I propose a new read-only CDR field named something like "cdrinstance"
that automatically increments after a ResetCDR(w) command. This can be
used in conjunction with the "uniqueid" field to form a unique CDR
identifier.
Do you agree that the lack of a unique identifier for a CDR is a
problem. If so what do you think of my proposed approach for a solution?
https://issues.asterisk.org/view.php?id=15180
Nick_Lewis
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect use
of the information described and/or contained herein and assumes no
responsibility for anyones use of the information. In no event shall ATL
Telecom Ltd be liable for any direct, indirect, incidental, special,
exemplary, or consequential damages (including, but not limited to,
procurement or substitute goods or services; loss of use, data, or profits;
or business interruption) however caused and on any theory of liability,
whether in contract, strict liability, or tort (including negligence or
otherwise) arising in any way out of the use of this system, even if
advised of the possibility of such damage.
Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3
0FB
Registered in Wales Number 4335781
All goods and services supplied by ATL Telecom Ltd are supplied subject to
ATL Telecom Ltd standard terms and conditions, available upon request.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.67/2326 - Release Date: 08/25/09
18:07:00
More information about the asterisk-dev
mailing list