Kareem
04/02/2025, 9:37 PMVapi Support Bot
04/02/2025, 9:38 PMX-Call-ID
) to pass a unique identifier between call legs. According to [this source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1329106554041012265), you can:
- Pass the Twilio Call SID in a custom SIP header during the initial call
- When Vapi triggers a transfer-destination-request
event, extract the X-Call-ID
from the SIP headers
- Use this extracted ID to correlate the new Twilio Call SID with the original one
2. **Generate and Track Your Own Call IDs**: As mentioned in [this documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343397177182912553), you can generate and track your own call IDs to maintain consistency across platforms.
3. **Use the Vapi API**: You can retrieve call details using the Vapi API's "GET Get Call" endpoint as noted in the [Vapi API reference](https://docs.vapi.ai/api-reference/squads/create). The Vapi system stores the relationship between its call ID and the Twilio call SID.Vapi Support Bot
04/02/2025, 9:38 PMVapi
04/06/2025, 9:17 AM