I have some inbound call and then I set for it an unique id, let’s say like this:
[from-internal-custom]
Set(CDR(userfield)=${SIPCALLID})
After that this call goes to the queue. For this Asterisk/FreePBX creates many Local calls to every extension.
I want to mark somehow these generated calls with the same id that the parent call had.
In what context can I do this? How to find CDR(uniquefield) of the parent call?