# CDR Multiple Disposition With The Same UniqueID Problem

**URL:** <https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365>\
**Category:** Asterisk Support\
**Created:** [June 16, 2023, 3:33am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365 "2023-06-16T03:33:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tahirahmad](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@tahirahmad](https://community.asterisk.org/u/tahirahmad)\
**Post date:** [June 16, 2023, 3:33am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365/1 "2023-06-16T03:33:12Z")

</div>

Hello All,

I’m new to asterisk and currently i’m using Asterisk 16, I have a problem with CDR uniqueid. for example: there is 2 agents with different extension and they are in the same queue when the first agent reject the calls and then the next agent answered the call - I get the same uniqueID in the CDR for both extensions.

Actually I need those both extension got different uniqueid so I can differentiate it because they have different disposition. Please let me know how to achive that ? is it doable ? please see the picture below. your help here is really appreciated.

 ![image](https://global.discourse-cdn.com/asterisk/original/2X/0/07a7debf978e729f60d5cf768cec46cb84dfe8bc.png)

Thanks and regards,

---

<div class="post-metadata">

**Author:** ![VinayakVasuMV](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@VinayakVasuMV](https://community.asterisk.org/u/VinayakVasuMV)\
**Post date:** [June 16, 2023, 6:46am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365/2 "2023-06-16T06:46:28Z")

</div>

This may help you,please refer and also use realtime mysql database  
[https://wiki.asterisk.org/wiki/display/AST/Queue+Logs](https://wiki.asterisk.org/wiki/display/AST/Queue+Logs)

---

<div class="post-metadata">

**Author:** ![tahirahmad](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@tahirahmad](https://community.asterisk.org/u/tahirahmad)\
**Post date:** [June 16, 2023, 9:03am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365/3 "2023-06-16T09:03:32Z")

</div>

Thanks for your reply, Currently i’m using realtime database. Is possibe that asterisk can make the uniqueid as primary key ?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [June 16, 2023, 10:26am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365/4 "2023-06-16T10:26:48Z")

</div>

No. The uniqueid is unique to the channel only, and there can be multiple CDRs created for a single channel.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [July 16, 2023, 10:27am UTC](https://community.asterisk.org/t/cdr-multiple-disposition-with-the-same-uniqueid-problem/97365/5 "2023-07-16T10:27:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
