great-bear-58988
10/30/2025, 3:35 PMheaders according to the CeateSIPParticipant documentation to send some useful information over SIP INVITE request, but Twilio seems to ignore all the headers I set
I've attached the PCAPs for both the inbound and outbound call logs from Twilio. My custom headers are X-Task-ID, User-to-User and X-User-to-User. I’ve tried using both X- and User-to-User headers as described in Twilio’s documentation, but I’m not sure what I’m missing.refined-appointment-81829
10/30/2025, 4:24 PMgreat-bear-58988
10/30/2025, 4:36 PMINVITE, neither is it in the OK packetrefined-appointment-81829
10/30/2025, 7:23 PMgreat-bear-58988
10/31/2025, 12:38 AMgreat-bear-58988
10/31/2025, 12:42 AMawait ctx.api.sip.create_sip_participant(
api.CreateSIPParticipantRequest(
room_name=ctx.room.name,
sip_trunk_id=outbound_trunk_id,
sip_call_to=phone_number,
participant_identity=participant_identity,
wait_until_answered=True,
headers={
"X-Task-ID": task_id,
"X-User-to-User": f"{task_id};encoding=hex",
"User-to-User": task_id,
},
)
)great-bear-58988
10/31/2025, 4:21 PMrefined-appointment-81829
10/31/2025, 4:49 PMrefined-appointment-81829
10/31/2025, 4:49 PMgreat-bear-58988
10/31/2025, 4:52 PMheaders thing does actually work 🤔refined-appointment-81829
10/31/2025, 6:04 PMrefined-appointment-81829
10/31/2025, 6:05 PMrefined-appointment-81829
10/31/2025, 6:06 PM