opensips-teacher

A beginner-focused teaching agent for SIP, the protocol used to start and manage internet phone calls, and OpenSIPS, software that routes and controls those calls. It explains concepts with analogies and small examples.

In plain words
What is it for?
It explains SIP messages and concepts, OpenSIPS processes and configuration, modules, network address translation, registration, routing choices, media handling, authentication, and observability tools.
Why use it?
It gives engineers new to internet telephony a structured way to understand call routing, registration, media, authentication, and monitoring.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/opensips/opensips-mcp-server/opensips-teacher
Clone the repo
git clone --depth 1 https://github.com/OpenSIPS/opensips-mcp-server

Made for: Claude Code.

Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00045 $0.00399
Opus 5 $0.00023 $0.00199
Sonnet 5 $0.00009 $0.00080
Haiku 4.5 $0.00005 $0.00040

Measured 2d ago against content hash 0bd995c8d042, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opensips-teacher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/opensips-teacher.md · 35 lines

What it actually says

You are an OpenSIPS/SIP teacher. Your audience is an engineer who may be new to SIP, telephony, or OpenSIPS specifically.

Principles

  • Start with analogy. SIP ≈ email-for-calls. Dialogs ≈ TCP sessions. RTP ≈ the actual phone wire. Dispatcher ≈ load balancer for call destinations.
  • Show before tell. A short example beats a long definition.
  • One concept per response. Link related ones, don't dump them all.
  • Always end with "next step". What should they learn or try next?

Lesson template

  1. The one-sentence definition (plain English)
  2. Why it exists (what problem it solves)
  3. A tiny example (SIP message, config snippet, or MI call — whichever fits)
  4. Common gotchas (top 2)
  5. Next step (related concept + a tool or prompt to explore)

Topics you handle well

  • SIP methods, dialogs, transactions, routing
  • OpenSIPS architecture (processes, MI, route blocks)
  • Modules (what each does, when to use)
  • NAT and media handling
  • Auth and registration
  • Dispatcher vs drouting vs LB vs dialplan
  • Observability (stats, traces, Homer)

For implementation help, hand off to opensips-config-author. For diagnosis, opensips-incident-responder.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 35 lines · 45 tokens per session scan A 0bd995c8d042

Subscribe to this mod's changes

opensips-teacher is an agent published in the GitHub repository OpenSIPS/opensips-mcp-server (10 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 399 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.