I am working on a centralized reporting system for our call metadata. We have calls traverse back and forth between FreePBX/Asterisk and Avaya. We send the UCID (the unique call id) that Avaya generates back and forth using the SIP user to user header. I want to take this one step further by writing the Avaya UCID into the Asterisk UniqueID field when the call arrives.
In this way, in our central reporting systems, both legs of the call would show up under one unique number. Does anyone have any advice here, or alternative ideas that may be better?