Issue: Lost CDR Uniqueid
i have appr running a macro when the user hit *100 i call a macro when i call the macro i get the next:
– Executing [[email protected]:10] NoOp(“SIP/1000-00000d72”, “1476836678.4560”) in new stack
but when the call finish i get in the cdr record a diferent uniqueid
CDR Uniqued: 1476836678.4559
how i can have the same uniqueid of the cdr record in the macro when this run?
Note: this happens only white the incoming call from PSTN or other PBX Trunks when i run this command from extension to extension i get the same cdr uniqueid.
I know exactly what the uniqueid is it is based on the “unix-time” of the event generated all the way down to microseconds, you REALLY have to go to the authors here, I doubt anyone here can help you in your edge case
As it turns out, Asterisk 12 removed all of this behaviour when it modified the bridging core to provide stable handles and lifetimes for channels/bridges. So, in 12+, the uniqueid for a channel will always remain the same - mostly because masquerades are no longer a visible operation.