Sometimes I get the following error on the console: [May 31 11:14:01] ERROR[23502]: cdr_addon_mysql.c:230 mysql_log: mysql_cdr: Failed to insert into database: (1062) Duplicate entry '1180628004.3214' for key 1 -- Zap/38-1 answered UniCall/11-1 Why would the UNIQUEID be duplicated? Isn't is supposed to be UNIQUE? This worries me a bit because the customer is losing calls that will not appear in their CDR records for billing. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070531/20b3d6ea/attachment.pgp
On 5/31/07, Carlos Chavez <cursor@telecomabmex.com> wrote:> Sometimes I get the following error on the console: > > [May 31 11:14:01] ERROR[23502]: cdr_addon_mysql.c:230 mysql_log: > mysql_cdr: Failed to insert into database: (1062) Duplicate entry > '1180628004.3214' for key 1 -- Zap/38-1 answered UniCall/11-1 > > Why would the UNIQUEID be duplicated? Isn't is supposed to be UNIQUE? > This worries me a bit because the customer is losing calls that will not > appear in their CDR records for billing. >As far as I know, you can have several CDR records for a single call. The unique-id is only unique for the call, and is not necessarily unique in a database context. Steve