Hi this was on the mailing list. Some one posted, I didn't tested my self but I believe it should work.
I believe that you can set a systemname=blah in asterisk.conf and that will be pre-pended with a dash to the uniqueid. For example: systemname=node1 the uniqueid might look like node1-11673478409.12 This would be 100% unique as long as you gave each system a different name. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jacobso1 Sent: 01 February 2007 14:25 To: asterisk-users Subject: Re:[asterisk-users] CDR - uniqueid hi, i think, by default, 'uniqueID' is created by the asterisk. if this is correct, you would (eventually) have non-uniqueID's i saw somewhere in the wiki that someone suggested a change (in the code ?) so that 'uniqueID' would be generated by the database. unique-id being the primary key and autogenerated, it IS unique (cdr+mysql or similar query) it was a rather small change shaoul jacobson ---------- Initial header ----------- >From : [EMAIL PROTECTED] To : "Asterisk Users Mailing List - Non-Commercial Discussion" [email protected],[email protected] CC : Date : Thu, 1 Feb 2007 12:15:21 +0100 Subject : [asterisk-users] CDR - uniqueid > Is uniqueid globally unique? I have three Asterisk installations and I need to store data from all of them in same database, in same table. Will this uniqueid field be unique? > > > -- > Tomislav Parcina > Lama Computers Split --- Scarlet ONE - Combine ADSL with unlimited fixed phone and save 400 euros http://www.scarlet.be _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
