Advanced call control features including DTMF sending, SIPREC recording, noise suppression, client state, and supervisor controls. This skill provides Ruby SDK examples.
SkillScore96Maintained
Automatic
◆Coding pack
Last verified 8/22/2026
What it changes
Passed 22 of 23 test cases with the skill, and 3 of 23 without it.
Without skill13%
With skill96%
Checks it passed that the model alone missed
e.status
role: :barge
hangup_cause
and 22 more in the full report
19 fixed3 passed either way1 still failing0 broke
Pass-rate lift
+83 pp
Tokens
+342%
Agent turns
0%
Response time
-64%
Model gemini-3.6-flashMeasured 8/22/2026v222 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 19
Prompt
When Telnyx generates conversation insights after a call, what is the exact string value of data.event_type in the incoming webhook event?
What was checked, without and with the skill
Checked
Without skill
With skill
call.conversation_insights.generated
Missed
Passed
case-12 · gemini-3.6-flash · 8/22/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md485 linessingle file
Telnyx Voice Advanced - Ruby
Installation
gem install telnyx
Setup
require "telnyx"
client = Telnyx::Client.new(
api_key: ENV["TELNYX_API_KEY"], # This is the default and can be omitted
)
All examples below assume client is already initialized as shown above.
Error Handling
All API calls can fail with network errors, rate limits (429), validation errors (422),
or authentication errors (401). Always handle errors in production code:
begin
result = client.messages.send_(to: "+13125550001", from: "+13125550002", text: "Hello")
rescue Telnyx::Errors::APIConnectionError
puts "Network error — check connectivity and retry"
rescue Telnyx::Errors::RateLimitError
# 429: rate limited — wait and retry with exponential backoff
sleep(1) # Check Retry-After header for actual delay
rescue Telnyx::Errors::APIStatusError => e
puts "API error #{e.status}: #{e.message}"
if e.status == 422
puts "Validation error — check required fields and formats"
end