Hi
if I understand correctly.
For point 1, if call arriving on a sip trunk into Genesys, which will be configured in the Admin Trunk section, you can edit the external trunk and enable "User to User Information" (UUI)
You set the sip header name, encoding and protocol discriminator. e.g.

Genesys will do its thing and the extracted value will be available in Architect flow in the system variable Call.UUIData
Link to info https://help.mypurecloud.com/articles/about-user-to-user-information-uui/
------------------------------
Simon Brown
Maintel Europe Limited
------------------------------
Original Message:
Sent: 03-07-2023 20:21
From: Raymond Chui
Subject: Extract the conversation id from SIP header and passed in the API parameter to retrieve the conversation transcript
We have a use case where-in CC agent need to see the customer conversation transcript once call will be forwarded to genesys by audiocodes<o:p></o:p>
As customer ßà voicebot transcript is stored at our company Azure BLOB storage<o:p></o:p>
What I expect:<o:p></o:p>
- Genesys will extract the conversationID from the SIP header and call the company API to retrieve the transcript by conversation ID.
- There will be minimum orchestration at genesys to call the API
Please let us know how we can achieve this in genesys or there can be any alternate/simplified solution.
#Integrations
------------------------------
Raymond Chui
AXA Group Operations Hong Kong Limited
------------------------------