cold-soccer-35030
05/13/2025, 7:39 AMwait_until_answered
do within CreateSIPParticipantRequest.
Also, tell me the difference between play_dialtone
and play_ringtone
within CreateSIPParticipantRequesttall-airline-16756
05/13/2025, 7:39 AMtall-airline-16756
05/13/2025, 7:39 AMwait_until_answered
parameter in CreateSIPParticipantRequest
is a boolean option. When set to true
, it ensures that the request waits until the outbound call is answered before proceeding. This is useful for scenarios where you need confirmation that the call has been picked up before continuing with further actions.
Regarding the difference between play_dialtone
and `play_ringtone`:
• `play_dialtone`: When set to true
, it plays a dial tone to the room until the phone is picked up.
• `play_ringtone`: This option is deprecated. It is recommended to use play_dialtone
instead for the same functionality. Sources: Agents telephony integration | LiveKit Docs | CreateSipParticipantOptions | LiveKit JS Server SDK - v2.9.7 | CreateSipParticipantOptions | LiveKit JS Server SDK - v2.9.7