Skip to content

SIP modality does not support turnDetection threshold, prefixPaddingMs, silenceDurationMs #741

@josephtannenbaum

Description

@josephtannenbaum

Please read this first

  • Have you read the docs? Agents SDK docs
  • Have you searched for related issues? Others may have faced similar issues.

Describe the bug

When I pass threshold to OpenAIRealtimeSIP.buildInitialConfig and try to accept a call, it fails to connect with:

Unhandled error while handling SIP call rtc_u2_8c....: BadRequestError: 400 Unknown parameter: 'session.audio.input.turn_detection.threshold'.

Same for prefixPaddingMs, silenceDurationMs. Is this a limitation of the API itself?

Debug information

  • Agents SDK version: 0.3.3
  • Runtime environment: Node v22.20.0

Repro steps

Run the demo with any of these options, log the exception in acceptCall

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions