steep-balloon-41261
02/27/2025, 9:43 AMgray-monkey-83525
02/27/2025, 9:43 AMCreateSIPParticipantRequest
not having an enable_krisp
field. According to the CreateSIPParticipantRequest documentation, there is no mention of an enable_krisp
field as a valid parameter for this request. The error message indicates that the field is not recognized, which aligns with the documentation.
Would you like more detail on how to correctly configure SIP participants or any other aspect of the LiveKit SIP API?
Sources:
- CreateSIPParticipantRequest documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.bored-eye-46869
02/27/2025, 9:45 AMCreateSIPParticipant
API. It returns an SIPParticipantInfo
object that describes the participant.
Outbound calling requires at least one Outbound Trunk.
import asyncio
from livekit import api
from livekit.protocol.sip import CreateSIPParticipantRequest, SIPParticipantInfo
async def main():
livekit_api = api.LiveKitAPI()
request = CreateSIPParticipantRequest(
sip_trunk_id = "<trunk_id>",
sip_call_to = "<phone_number>",
room_name = "my-sip-room",
participant_identity = "sip-test",
participant_name = "Test Caller",
krisp_enabled = True,
)
participant = await livekit_api.sip.create_sip_participant(request)
print(f"Successfully created {participant}")
await livekit_api.aclose()
asyncio.run(main())
when i look at documentation its enable , why did i take this error
@millions-hair-24956gray-monkey-83525
02/27/2025, 9:45 AMCreateSIPParticipantRequest
does not support a field named krisp_enabled
. According to the CreateSipParticipantOptions documentation, the correct field name is enableKrisp
, not krisp_enabled
. This discrepancy is likely causing the error in your code.
Would you like more detail on how to correctly use the CreateSIPParticipantRequest
or any other aspect of the LiveKit SIP API?
Sources:
- CreateSipParticipantOptions documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.bored-eye-46869
02/27/2025, 9:47 AMgray-monkey-83525
02/27/2025, 9:47 AMkrisp_enabled
parameter is not documented in the CreateSIPParticipantRequest API. The error you are encountering is because this parameter is not recognized by the API. The documentation does not list krisp_enabled
as a valid field for creating a SIP participant.
If you are looking to enable Krisp noise suppression, it is important to note that this feature is only available on LiveKit Cloud plans and not on self-hosted deployments, as mentioned in the LiveKit Slack discussion.
Would you like more information on how to proceed with enabling Krisp or any other features?
Sources:
- CreateSIPParticipantRequest documentation
- LiveKit Slack discussion 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.