You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to have this capability to provide a list of SIP headers as part of the REFER request.
example:
import{SipClient}from'livekit-server-sdk';// ...asyncfunctiontransferParticipant(participant){console.log("transfer participant initiated");constsipTransferOptions={playDialtone: false,sipHeaders: {// 👉 Here we provide a mapping of SIP headers"User-to-user": "00000","X-Custom-Header": "ABCDE",}};constsipClient=newSipClient(process.env.LIVEKIT_URL,process.env.LIVEKIT_API_KEY,process.env.LIVEKIT_API_SECRET);consttransferTo="tel:+15105550100";awaitsipClient.transferSipParticipant('open-room',participant.identity,transferTo,sipTransferOptions);}
The text was updated successfully, but these errors were encountered:
It'd be great to have this capability to provide a list of SIP headers as part of the REFER request.
example:
The text was updated successfully, but these errors were encountered: