lively-horse-90722
08/18/2025, 7:31 AMringing_timeout=duration_pb2.Duration(seconds=15)
I am setting this in self._ctx.api.sip.transfer_sip_participant, but its not workingtall-airline-16756
08/18/2025, 7:31 AMtall-airline-16756
08/18/2025, 7:32 AMringing_timeout
in self._ctx.api.sip.transfer_sip_participant
, just make sure you’re passing it properly as part of the TransferSIPParticipantRequest
. Here’s a quick example in Python to help you out:
from google.protobuf import duration_pb2
# Setting the ringing timeout to 15 seconds
timeout = duration_pb2.Duration(seconds=15)
request = TransferSIPParticipantRequest(
room_name="your-room-name",
participant_identity="participant-id",
transfer_to="<sip:john@example.com>",
ringing_timeout=timeout,
)
# Now, call the transfer method
self._ctx.api.sip.transfer_sip_participant(request)
Just double-check that ringing_timeout
is set as a google.protobuf.Duration
object. If it’s still giving you trouble, no worries—just reach out and we’ll figure it out together!
Sources: livekit-api/src/services/sip.rs | packages/livekit-server-sdk/src/SipClient.ts | livekit-protocol/livekit/protocol/sip.pyilively-horse-90722
08/18/2025, 8:23 AMtall-airline-16756
08/18/2025, 8:23 AMringing_timeout
to 15 seconds, there could be a default 30-second timeout that’s taking precedence. This might happen if the ringing_timeout
parameter isn’t being properly passed or recognized by the backend service.
Here are a couple of things you can check:
• Make sure the ringing_timeout
is correctly set in the TransferSIPParticipantRequest
and is actually being sent to the API.
• Look into any server-side settings or defaults that might be overriding the ringing_timeout
.
If you’re still running into this, just let me know! I’m here to help with more troubleshooting or to escalate the issue if needed.
Sources: livekit/livekit_sip.pb.go | packages/livekit-server-sdk/src/SipClient.ts | sipclient.go | pkg/service/sip.go