great-oil-76675
10/31/2025, 1:59 PMTwirpError(code=not_found, message=twirp error unknown: participant does not exist, status=404)
Looks like same issue as mentioned here
https://github.com/livekit/agents/issues/1305refined-appointment-81829
10/31/2025, 2:18 PMgreat-oil-76675
10/31/2025, 2:21 PMgreat-oil-76675
10/31/2025, 2:45 PMrefined-appointment-81829
10/31/2025, 3:27 PMrefined-appointment-81829
10/31/2025, 3:28 PMgreat-oil-76675
10/31/2025, 3:54 PMSCL_2Z9EcirKMCk7
and
SCL_DMakdV6BjgZ7refined-appointment-81829
10/31/2025, 3:59 PMrefined-appointment-81829
10/31/2025, 3:59 PMgreat-oil-76675
10/31/2025, 4:08 PMgreat-oil-76675
10/31/2025, 4:15 PMrefined-appointment-81829
10/31/2025, 4:19 PMgreat-oil-76675
10/31/2025, 8:22 PMgreat-oil-76675
10/31/2025, 10:05 PMtwirp error unknown: no SIP session associated with participant
Below is the code
@function_tool()
async def transfer_call(self, ctx: RunContext):
"""Transfer the call to a human agent, called after confirming with the user"""
job_context = get_job_context()
room = job_context.room
room_name = room.name
transfer_to = "+91XXXXXXXXXX" # actual number is replaced with XXXXXXXXXX
participant_identity = room.local_participant.identity
logger.debug(f"Transfer request: {room_name} and participant identity: {participant_identity} to number: {transfer_to}")
# let the message play fully before transferring
try:
await job_context.api.sip.transfer_sip_participant(
api.TransferSIPParticipantRequest(
room_name=room_name,
participant_identity=participant_identity,
# to use a sip destination, use `sip:user@host` format
transfer_to=f"tel:{transfer_to}",
)
)
except Exception as e:
logger.error(f"error transferring call: {e}")
return "could not transfer call"rapid-van-16677
11/01/2025, 3:08 AMgreat-oil-76675
11/01/2025, 3:13 AMrapid-van-16677
11/01/2025, 9:38 AMrapid-van-16677
11/01/2025, 9:39 AMgreat-oil-76675
11/01/2025, 9:56 AMgreat-oil-76675
11/01/2025, 9:59 AMrapid-van-16677
11/02/2025, 5:46 AMgreat-oil-76675
11/02/2025, 8:58 AMgreat-oil-76675
11/02/2025, 8:58 AMrapid-van-16677
11/02/2025, 8:15 PM