<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>When dealing with CDR SQL tables, I always added an auto-incremented cdr_id key as a primary key, just in case provided uniqueid key went wrong.<br><br></div>Now I'm facing a situation where I need to insert into a database's table and from the dialplan, a reference to the CDR record which is currently processed.<br>
<br></div>So my questions are:<br><br></div>1. Can uniqueid/sequence (or uniqueid/sequence/calldate) bundle be safely used as CDR's table primary key (ie I cannot have any uniqueid/sequence combination from one CDR record to match a past uniqueid/sequence combination) ?<br>
<br></div>2. Suggestions ?<br><br></div>Regards<br></div>