Skip to content

Add trunk registration module for inbound PSTN call delivery#144

Closed
yeoleobun wants to merge 2 commits intorestsend:mainfrom
yeoleobun:feature/issue-132-trunk-registration
Closed

Add trunk registration module for inbound PSTN call delivery#144
yeoleobun wants to merge 2 commits intorestsend:mainfrom
yeoleobun:feature/issue-132-trunk-registration

Conversation

@yeoleobun
Copy link
Collaborator

@yeoleobun yeoleobun commented Feb 26, 2026

Implements trunk registration support for inbound PSTN call delivery.

Changes included:

  • Add TrunkRegistrationModule and registration loop with backoff/reregistration
  • Register module in app startup
  • Export module from proxy/mod.rs
  • Extend TrunkConfig with register and register_expires

Ref: #132

davidcforbes and others added 2 commits February 26, 2026 18:35
Telnyx credential-based SIP connections require the PBX to REGISTER
with sip.telnyx.com for inbound call routing. This adds a new
TrunkRegistrationModule that scans trunk configs for register=true,
then spawns a background task per trunk that periodically sends
REGISTER requests via rsipstack's Registration API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shenjinti
Copy link
Contributor

Use addon instead of module

@shenjinti shenjinti closed this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants