[asterisk-users] Duplicate UNIQUEID on CDR
Steve Davies
davies147 at gmail.com
Wed Jun 6 06:43:45 CDT 2007
On 5/31/07, Carlos Chavez <cursor at 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
More information about the asterisk-users
mailing list