Skip to main content
telnyx-voice-conferencing-ruby Create and manage conference calls, queues, and multi-party sessions. Use when building call centers or conferencing applications. This skill provides Ruby SDK examples.
跳到安装 Skills Marketplace 发现并探索由社区构建的 Agent Skills
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/team-telnyx/telnyx-toolkit --skill telnyx-voice-conferencing-ruby命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
下载 Zip 下载中... name telnyx-voice-conferencing-ruby description Create and manage conference calls, queues, and multi-party sessions. Use when building call centers or conferencing applications. This skill provides Ruby SDK examples. metadata {"author":"telnyx","product":"voice-conferencing","language":"ruby","generated_by":"telnyx-ext-skills-generator"}
Telnyx Voice Conferencing - Ruby
Installation
gem install telnyx
Setup
require "telnyx"
client = Telnyx::Client .new(
api_key: ENV ["TELNYX_API_KEY" ],
)
All examples below assume client is already initialized as shown above.
Enqueue call
Put the call in a queue.
POST /calls/{call_control_id}/actions/enqueue — Required: queue_name
response = client.calls.actions.enqueue("call_control_id" , queue_name: "support" )
puts(response)
Remove call from a queue
Removes the call from a queue.
POST /calls/{call_control_id}/actions/leave_queue
response = client.calls.actions.leave_queue( )
puts(response)
"call_control_id"
List conferences page = client.conferences.list
puts(page)
Create conference Create a conference from an existing call leg using a call_control_id and a conference name.
POST /conferences — Required: call_control_id, name
conference = client.conferences.create(
call_control_id: "v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg" ,
name: "Business"
)
puts(conference)
Retrieve a conference Retrieve an existing conference
conference = client.conferences.retrieve("id" )
puts(conference)
Hold conference participants Hold a list of participants in a conference call
POST /conferences/{id}/actions/hold
response = client.conferences.actions.hold("id" )
puts(response)
Join a conference Join an existing call leg to a conference.
POST /conferences/{id}/actions/join — Required: call_control_id
response = client.conferences.actions.join(
"id" ,
call_control_id: "v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"
)
puts(response)
Leave a conference Removes a call leg from a conference and moves it back to parked state.
POST /conferences/{id}/actions/leave — Required: call_control_id
response = client.conferences.actions.leave("id" , call_control_id: "c46e06d7-b78f-4b13-96b6-c576af9640ff" )
puts(response)
Mute conference participants Mute a list of participants in a conference call
POST /conferences/{id}/actions/mute
response = client.conferences.actions.mute("id" )
puts(response)
Play audio to conference participants Play audio to all or some participants on a conference call.
POST /conferences/{id}/actions/play
response = client.conferences.actions.play("id" )
puts(response)
Conference recording pause Pause conference recording.
POST /conferences/{id}/actions/record_pause
response = client.conferences.actions.record_pause("id" )
puts(response)
Conference recording resume Resume conference recording.
POST /conferences/{id}/actions/record_resume
response = client.conferences.actions.record_resume("id" )
puts(response)
Conference recording start Start recording the conference.
POST /conferences/{id}/actions/record_start — Required: format
response = client.conferences.actions.record_start("id" , format_: :wav )
puts(response)
Conference recording stop Stop recording the conference.
POST /conferences/{id}/actions/record_stop
response = client.conferences.actions.record_stop("id" )
puts(response)
Speak text to conference participants Convert text to speech and play it to all or some participants.
POST /conferences/{id}/actions/speak — Required: payload, voice
response = client.conferences.actions.speak("id" , payload: "Say this to participants" , voice: "female" )
puts(response)
Stop audio being played on the conference Stop audio being played to all or some participants on a conference call.
POST /conferences/{id}/actions/stop
response = client.conferences.actions.stop("id" )
puts(response)
Unhold conference participants Unhold a list of participants in a conference call
POST /conferences/{id}/actions/unhold — Required: call_control_ids
response = client.conferences.actions.unhold(
"id" ,
call_control_ids: ["v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg" ]
)
puts(response)
Unmute conference participants Unmute a list of participants in a conference call
POST /conferences/{id}/actions/unmute
response = client.conferences.actions.unmute("id" )
puts(response)
Update conference participant Update conference participant supervisor_role
POST /conferences/{id}/actions/update — Required: call_control_id, supervisor_role
action = client.conferences.actions.update(
"id" ,
call_control_id: "v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg" ,
supervisor_role: :whisper
)
puts(action)
List conference participants Lists conference participants
GET /conferences/{conference_id}/participants
page = client.conferences.list_participants("conference_id" )
puts(page)
Webhooks The following webhook events are sent to your configured webhook URL.
All webhooks include telnyx-timestamp and telnyx-signature-ed25519 headers for verification (Standard Webhooks compatible).
Event Description callEnqueuedCall Enqueued callLeftQueueCall Left Queue conferenceCreatedConference Created conferenceEndedConference Ended conferenceFloorChangedConference Floor Changed conferenceParticipantJoinedConference Participant Joined conferenceParticipantLeftConference Participant Left conferenceParticipantPlaybackEndedConference Participant Playback Ended conferenceParticipantPlaybackStartedConference Participant Playback Started conferenceParticipantSpeakEndedConference Participant Speak Ended conferenceParticipantSpeakStartedConference Participant Speak Started conferencePlaybackEndedConference Playback Ended conferencePlaybackStartedConference Playback Started conferenceRecordingSavedConference Recording Saved conferenceSpeakEndedConference Speak Ended conferenceSpeakStartedConference Speak Started
同仓库更多 Skills Complete Telnyx toolkit — ready-to-use tools (STT, TTS, RAG, Networking, 10DLC) plus SDK documentation for JavaScript, Python, Go, Java, and Ruby.
Automated Telnyx bot account signup via challenge-response
Track agent activities using the Telnyx AI Missions API. Use this skill when executing multi-step tasks that should be logged and tracked. Supports creating voice/SMS agents, scheduling calls, and retrieving conversation insights. Use when tasks involve calling people, sending SMS, or any substantial tracked work.