[asterisk-dev] No unique identifier for CDR
Atis Lezdins
atis at iq-labs.net
Thu Aug 27 10:57:28 CDT 2009
On Thu, Aug 27, 2009 at 6:53 PM, Tilghman
Lesher<tilghman at mail.jeffandtilghman.com> wrote:
> On Thursday 27 August 2009 09:37:29 Atis Lezdins wrote:
>> On Thu, Aug 27, 2009 at 5:08 PM, Alexander Harrowell wrote:
>> > On Thursday 27 August 2009 14:21:17 Nick Lewis wrote:
>> >> We seem to be in forceful agreement that uniqueid is not unique per CDR.
>> >> I like your linkedid+cdrinstance suggestion. Do you think this
>> >> combination should also be used as the key in sql rather than an
>> >> auto_increment id?
>>
>> > If you're using SQLite there's the rowid column - a 64 bit unique
>> > identifier for each row.
>>
>> But the problem mentioned above still exists - you can't get that id
>> before CDR is posted.
>
> Is that really a problem, though? There was no suggestion that the OP needed
> the ID prior to the record being posted, just that he needed a unique ID per
> record.
>
He mentioned use of it for Monitor app. Also I would benefit from such ID's.
Regards,
Atis
--
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
More information about the asterisk-dev
mailing list