Freeswitch events contain two variables (Unique-ID
and Channel-Call-UUID
) that seem to always be set to the exact same value: the leg's unique identifier.
I don't see the purpose of this and while Unique-ID
has a one-line documentation on FS's wiki ("uuid of this channel's call leg"), Channel-Call-UUID
doesn't.
Even worse: I came accross two examples where their values were different:
[...]
Channel-Call-UUID: c9bbde8b-379b-45d4-b193-3f761a44f3e2
Unique-ID: 81273088-c31f-4469-85a6-c878e42210e5
[...]
[...]
Channel-Call-UUID: ada7f3de-2374-4144-9b1d-eade29df0779
Unique-ID: f3ebca6c-d9cd-4f89-ae12-748e6c479dda
[...]
I need to be able to clearly identify a leg in my code, so I'd like to know
- which one is the most accurate and
- what's the purpose of the other one