feat: Add inbound call support with hook-based notifications#31
Open
olavl wants to merge 1 commit intoZeframLou:mainfrom
Open
feat: Add inbound call support with hook-based notifications#31olavl wants to merge 1 commit intoZeframLou:mainfrom
olavl wants to merge 1 commit intoZeframLou:mainfrom
Conversation
- Add `logging` capability to MCP server to enable notifications - Implement full inbound call flow: answer, greet, capture speech, notify Claude - Add Stop and UserPromptSubmit hooks to alert Claude about pending calls - Add configurable TTS model support (CALLME_TTS_MODEL env var) - Add customizable inbound greeting (CALLME_INBOUND_GREETING env var) - Add CALLME_PHONE_PROVIDER and CALLME_NGROK_DOMAIN to plugin env passthrough The inbound call flow: 1. User calls the configured phone number 2. Server answers and plays greeting 3. STT captures user's speech 4. Server plays hold message and writes pending call info 5. Hooks detect the pending call and inject prompt to Claude 6. Claude uses continue_call to respond to the caller Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds full inbound call support to the callme plugin, allowing users to call Claude directly.
Changes
loggingcapability to enablenotifications/message(fixes "Server does not support logging" error)CALLME_TTS_MODEL- Configure TTS model (default: gpt-4o-mini-tts)CALLME_INBOUND_GREETING- Customize the greeting messageCALLME_PHONE_PROVIDERandCALLME_NGROK_DOMAIN- Added to env passthroughHow Inbound Calls Work
continue_callto respond to the callerTest Plan
continue_callsends response to caller🤖 Generated with Claude Code