early-butcher-66889
12/02/2025, 3:02 AMtall-airline-16756
12/02/2025, 3:02 AMtall-airline-16756
12/02/2025, 3:03 AM;post= parameter on the tel: URI.
Example format:
• tel:+1234567788;post=1
Code examples:
1) Node.js
await sipClient.transferSipParticipant(
'my-room',
'sip-participant-identity',
'tel:+1234567788;post=1',
{ playDialtone: false }
);
2) Python
await livekit_api.sip.transfer_sip_participant(
room_name="my-room",
participant_identity="sip-participant-identity",
transfer_to="tel:+1234567788;post=1",
)
3) CLI
lk sip participant transfer \
--room my-room \
--identity sip-participant-identity \
--to "tel:+1234567788;post=1"
Notes:
• The ;post= DTMF is sent after the call connects.
• You can add pauses with w if the destination requires a delay (each w ≈ 0.5s), e.g. tel:+1234567788;post=ww1.
• Ensure your SIP trunk supports sending DTMF via SIP REFER for cold transfers. Sources: Call forwarding | LiveKit docs | SIP APIs | LiveKit docsearly-butcher-66889
12/02/2025, 3:13 AM;ext=1 instead - is that valid syntax? https://github.com/livekit/protocol/blob/3bc7a74d3d5e44e43e7b7fc195629e53b9bde6bb/livekit/sip_test.go#L516tall-airline-16756
12/02/2025, 3:13 AM;post= to send DTMF after the call connects — e.g. tel:+1234567788;post=1. The ;ext=1 token is not the supported syntax for LiveKit cold transfers; include the extension as DTMF with ;post= (you can add w for pauses, e.g. tel:+1234567788;post=ww1).early-butcher-66889
12/02/2025, 3:37 AMtall-airline-16756
12/02/2025, 3:38 AM;post= vs ;ext=). LiveKit supports using post-dial DTMF via ;post= and does not support ;ext=.
References:
• Transfer (cold) docs: https://docs.livekit.io/sip/transfer-cold
• Example usage in code/tests showing ;post= usage: https://github.com/livekit/protocol/blob/3bc7a74d3d5e44e43e7b7fc195629e53b9bde6bb/livekit/sip_test.go#L516
Summary:
• Use tel:+1234567788;post=1 to send extension DTMF after connect.
• ;ext= is not a supported parameter for LiveKit cold transfers. Sources: Call forwarding | LiveKit docsearly-butcher-66889
12/02/2025, 3:38 AMtall-airline-16756
12/02/2025, 3:38 AM;ext= but whether that's valid for transfers.
• Use ;post= for post-dial DTMF when performing cold transfers. Example:
tel:+1234567788;post=1
• ;ext= is not a supported parameter for the TransferSIPParticipant cold-transfer API. If you saw ;ext= in a test or example file, that usage is not part of the supported public transfer syntax — rely on ;post= instead.
If you want, tell me which file/line you saw ;ext= in and I’ll review the snippet with you and confirm whether it’s just a test/example or needs correction.early-butcher-66889
12/02/2025, 3:39 AMtall-airline-16756
12/02/2025, 3:39 AM;post= (e.g. tel:+1234567788;post=1). Use this for cold transfers to extensions.
• The ;ext= token you saw in the test file is present in SIP parsing tests for incoming requests — it’s not the supported transfer syntax for transfer_to.
Relevant references:
• Call transfer docs: https://docs.livekit.io/sip/transfer-cold
• SIP APIs overview: https://docs.livekit.io/sip/api/
• Your linked test (shows ;ext= in parsing tests): https://github.com/livekit/protocol/blob/3bc7a74d3d5e44e43e7b7fc195629e53b9bde6bb/livekit/sip_test.go#L516
If you’d like, I can paste the exact test snippet and point out where parsing differs from the transfer API usage.
Sources: SIP APIs | LiveKit docs | Call forwarding | LiveKit docs