Andrew Hall, To better assist you on this, could you please share more details about your requirement?
I understand you have already a few options. Based on my understanding of your scenario description, you can add custom context by specifying custom SIP headers when inviting a participant or during call transfer. These headers are key-value pairs that can be included in the AddParticipant
or Transfer
actions.
Custom SIP Headers: Use the prefix X-MS-Custom-
for your custom SIP headers.
To parse out SIP headers for the incoming call, you can access the CustomHeaders
property from the IncomingCallEvent
object.
Reference:
- Handling Events with Call Automation's Event Processor Overview
- How to pass contextual data between calls
- sample : articles/communication-services/how-tos/call-automation/custom-context.md
Kindly let us know, I'll follow-up with you further.
If the answer helped (pointed, you in the right direction) > please click Accept Answer to benefit the community find answers quickly to similar question_._