when doing a cold transfer with SIP REFER, how can...
# ask-ai
m
when doing a cold transfer with SIP REFER, how can I set some custom sip headers?
t
Thanks for reaching out, Arthur. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To set custom SIP headers during a cold transfer with SIP REFER in LiveKit, you can use the
TransferSIPParticipant
API. This allows you to transfer calls to any valid telephone number or SIP URI. Additionally, you can map custom
X-*
SIP headers to participant attributes, which can be used for routing calls to different workflows or other purposes. For more details, you can refer to the documentation on cold transfers and custom attributes: • Cold Transfer DocumentationCustom Attributes Documentation Sources: SIP overview | LiveKit Docs | SIP APIs | LiveKit Docs