Rewrite docs and fix health endpoint for trunk-host-only mode#3
Merged
Conversation
added 2 commits
March 14, 2026 21:25
- Rewrite README to balance all three connection modes (extension, trunk client, trunk host) instead of being trunk-heavy - Rewrite integration guide with connection mode selection, native binary mode examples, and corrected pipeline start pattern - Update API reference: rename SIP Trunks → SIP Client, add full Trunk Host field tables (rtp_address, hosts/CIDR, per-peer overrides) - Fix health endpoint returning "starting" in trunk-host-only mode by also checking xphone_server status; add sip_server field to response - Update config.example.yaml with rtp_address, hosts, and per-peer rtp_address fields; clarify SIP block works for both PBX and cloud
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
call.answeredwebhook), STUN config typo fix.rtp_address,hosts(CIDR ranges), per-peerrtp_addressoverride."starting"in trunk-host-only mode because it only checked SIP client registrations. Now also checks trunk host server status. Addedsip_serverboolean field to response.rtp_address,hosts(CIDR), and per-peerrtp_addressfields. Clarified SIP block works for both PBX extensions and cloud providers.Test plan
cargo test— all 20 tests pass"ok"in trunk-host-only mode